AI skills for Python
AI Coding Skills for Python
Browse the best AI coding skills for Python in 2026, pytest generation, FastAPI / Django / Flask scaffolding, type-safe SQLAlchemy schemas, and security audits for OWASP Top 10. Works with every major AI coding tool.
Short answer
The best AI coding skills for Python are skills-hub's `code-review`, `unit-test` (pytest auto-detection), `api-scaffold` (FastAPI/Django/Flask), `db-schema` (SQLAlchemy), `secure`, and `dependency-scan` (pip-audit). All portable across Claude Code, Cursor, Codex CLI, Windsurf, Copilot, and Cline.
Python is the lingua franca of ML, data, and FastAPI backends, and AI coding skills here are mature. The skills below detect your Python stack (FastAPI, Django, Flask, Starlette, pytest, ruff, uv) and emit idiomatic Python 3.12+ code with proper type hints, async / await patterns, and pytest fixtures.
Top skills for Python
01ffmpeg-skill
16 installsEdit video and audio with local FFmpeg: cut, join, reframe, speed, captions, overlays, silence removal, sync, loudness, HDR to SDR, platform exports and checks. Use whenever the user mentions a video or audio file (mp4, mov, wav, m4a), footage, captions, a reel or short, YouTube/TikTok delivery, LUFS or ffmpeg, even without saying "edit". Needs FFmpeg 6.1+ and Python 3.10+; stdlib only, no cloud.
Buildfrom ffmpeg-skill02replica-diff
12 installsCompares an app clone against the original: a feature parity score from the feature matrix (weighted by must, should, could) with the missing list in build order, plus a screenshot layout diff that ignores colour so a rebrand does not count against you. Two standard-library Python tools. Use when the user says "how close is my clone", "compare it to the original", "what's missing", "parity check", "diff the screens", "is it ready", or after /replica-test.
Buildfrom replica-skill03office-suite
10 installsCreates and edits Word (.docx), PowerPoint (.pptx), Excel (.xlsx), and PDF files programmatically: detects the available runtime and picks the right library per format (python-docx or docx.js, python-pptx, openpyxl or exceljs, reportlab or pdf-lib).
Docsfrom Skills Hub04vscode
10 installsConfigure and operate VS Code-family IDEs (VS Code, VS Code Insiders, Cursor, VSCodium, Trae, Qoder, CodeBuddy) via CLI and structured JSON files. Qoder and CodeBuddy support is limited to their VS Code-compatible configuration surface, not proprietary AI chat, accounts, models, agents, marketplaces, or internal state.
Productivity05python-testing
9 installsExpert in Python testing with pytest and test-driven development
Buildfrom Mindrally Skills06django-python
9 installsExpert in Django Python web development with best practices
Buildfrom Mindrally Skills07python-best-practices
8 installsWrite maintainable Python with small functions, explicit boundaries, guard clauses, and readable state flow. Use when refactoring Python services, helpers, modules, or async logic for clarity—not generic test writing, tooling setup, or database transaction implementation.
Buildfrom Multi-Language Standards08blender-animation
6 installsAnimation in Blender 5.3 - slotted/layered actions and the channelbag API, Python keyframing, F-curves, game loops with pop/hitch checks, NLA clips, pose library, mocap/BVH/Mixamo retargeting with auto bone maps, baking control rigs to export skeletons, root motion, per-clip export. Use for any keyframe, action, NLA, mocap, or animation-export task.
Buildfrom blender-skills09blender-python-addon
6 installsBest practices for writing Blender Python add-ons using the bpy API, covering operators, panels, properties, registration, and API-safe scripting. Use when creating a Blender add-on, defining bpy.types.Operator or Panel classes, registering PropertyGroup settings, writing register()/unregister() functions, working with bmesh, or debugging add-ons in Blender's Python console.
Buildfrom Mindrally Skills10freecad-scripts
5 installsExpert skill for writing FreeCAD Python scripts, macros, and automation. Use when asked to create FreeCAD models, parametric objects, Part/Mesh/Sketcher scripts, workbench tools, GUI dialogs with PySide, Coin3D scenegraph manipulation, or any FreeCAD Python API task. Covers FreeCAD scripting basics, geometry creation, FeaturePython objects, interface tools, and macro development.
Buildfrom GitHub Copilot11python-design-patterns
4 installsPython design patterns including KISS, Separation of Concerns, Single Responsibility, and composition over inheritance. Use this skill when designing a new service or component from scratch and choosing how to layer responsibilities, when refactoring a God class or monolithic function that has grown too large, when deciding whether to add a new abstraction or live with duplication, when evaluating a pull request for structural issues like tight coupling or leaking internal types, when choosing between inheritance and composition for a new class hierarchy, or when a codebase is becoming hard to test because of entangled I/O and business logic.
Buildfrom wshobson Agents12python-dev
4 installsPython development guidance with code quality standards, error handling, testing practices, and environment management. Use when writing, reviewing, or modifying Python code (.py files) or Jupyter notebooks (.ipynb files).
Buildfrom Databricks Solutions13modern-python
3 installsConfigures Python projects with modern tooling (uv, ruff, ty). Use when creating projects, writing standalone scripts, or migrating from pip/Poetry/mypy/black.
Buildfrom Trail of Bits14docx-generation
2 installsUse when creating a Word DOCX report from Markdown, converting Markdown tables and lists to DOCX, or choosing a workflow for editing an existing DOCX while preserving its structure and styles. Use this workflow before running Markdown-to-DOCX shell commands. Includes report typography, table layout, a reusable reference document, and a Python converter.
Buildfrom open-science15python-performance-optimization
2 installsProfile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing bottlenecks, or improving application performance.
Buildfrom wshobson Agents16optimize-for-gpu
2 installsGPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS, cuCIM, KvikIO, Warp, Newton, Numba-CUDA, or RAFT questions; and profiling, memory-transfer, kernel, or multi-GPU bottlenecks. Also use when large data-parallel Python code is slow and GPU acceleration is a plausible option, even if the user does not name CUDA.
Buildfrom Scientific Skills17python-odoo-cursor-rules
2 installsGuidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices.
Buildfrom Mindrally Skills18fastapi-python
2 installsExpert in FastAPI Python development with best practices for APIs and async operations
Buildfrom Mindrally Skills
Frequently asked questions
Do AI skills work with FastAPI?
Yes. The api-scaffold and api-docs skills auto-detect FastAPI and emit routes with proper Pydantic models, async dependencies, and OpenAPI 3.1 spec generation.
Can AI generate pytest tests with fixtures?
Yes. The unit-test skill detects pytest and emits parametrized tests, fixture chains, and proper async test patterns with pytest-asyncio.
What's the best AI tool for Python?
Cursor and Claude Code are both strong for Python. Cursor's inline autocomplete is best-in-class; Claude Code's agent mode excels at multi-file Django / FastAPI refactors.
Do AI skills handle uv and the modern Python toolchain?
Yes. Modern skills detect `pyproject.toml` and `uv.lock` and emit `uv` commands by default. Older `pip` / `poetry` projects are supported via fallback.