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
01finance-skills
5 installsFinancial analyst agent skill and plugin for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Ratio analysis, DCF valuation, budget variance, rolling forecasts. 4 Python tools (stdlib-only).
Buildfrom Multi-Domain Skills02xlsx
4 installsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
Creativefrom Anthropic03marketing-skills
3 installs42 marketing agent skills and plugins for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw, and 6 more coding agents. 7 pods: content, SEO, CRO, channels, growth, intelligence, sales. Foundation context + orchestration router. 27 Python tools (stdlib-only).
Marketingfrom Multi-Domain Skills04skill-security-auditor
2 installsSecurity audit and vulnerability scanner for AI agent skills before installation. Use when: (1) evaluating a skill from an untrusted source, (2) auditing a skill directory or git repo URL for malicious code, (3) pre-install security gate for Claude Code plugins, OpenClaw skills, or Codex skills, (4) scanning Python scripts for dangerous patterns like os.system, eval, subprocess, network exfiltration, (5) detecting prompt injection in SKILL.md files, (6) checking dependency supply chain risks, (7) verifying file system access stays within skill boundaries. Triggers: "audit this skill", "is this skill safe", "scan skill for security", "check skill before install", "skill security check", "skill vulnerability scan".
Buildfrom Multi-Domain Skills05senior-data-engineer
2 installsData engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data architectures, building data pipelines, optimizing data workflows, implementing data governance, or troubleshooting data issues.
Buildfrom Multi-Domain Skills06senior-data-scientist
2 installsWorld-class senior data scientist skill specialising in statistical modeling, experiment design, causal inference, and predictive analytics. Covers A/B testing (sample sizing, two-proportion z-tests, Bonferroni correction), difference-in-differences, feature engineering pipelines (Scikit-learn, XGBoost), cross-validated model evaluation (AUC-ROC, AUC-PR, SHAP), and MLflow experiment tracking — using Python (NumPy, Pandas, Scikit-learn), R, and SQL. Use when designing or analysing controlled experiments, building and evaluating classification or regression models, performing causal analysis on observational data, engineering features for structured tabular datasets, or translating statistical findings into data-driven business decisions.
Buildfrom Multi-Domain Skills07vertex-ai-api-dev
2 installsGuides the usage of Gemini API on Google Cloud Vertex AI with the Gen AI SDK. Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like Live API, tools, multimedia generation, caching, and batch prediction.
Buildfrom Google Gemini08backend-development
2 installsBuild robust backend systems with modern technologies (Node.js, Python, Go, Rust), frameworks (NestJS, FastAPI, Django), databases (PostgreSQL, MongoDB, Redis), APIs (REST, GraphQL, gRPC), authentication (OAuth 2.1, JWT), testing strategies, security best practices (OWASP Top 10), performance optimization, scalability patterns (microservices, caching, sharding), DevOps practices (Docker, Kubernetes, CI/CD), and monitoring. Use when designing APIs, implementing authentication, optimizing database queries, setting up CI/CD pipelines, handling security vulnerabilities, building microservices, or developing production-ready backend systems.
Buildfrom ClaudeKit Skills09using-tmux-for-interactive-commands
2 installsUse when you need to run interactive CLI tools (vim, git rebase -i, Python REPL, etc.) that require real-time input/output - provides tmux-based approach for controlling interactive sessions through detached sessions and send-keys
Buildfrom Superpowers Lab10yfinance-data
1 installsFetch financial and market data using the yfinance Python library. Use this skill whenever the user asks for stock prices, historical data, financial statements, options chains, dividends, earnings, analyst recommendations, or any market data. Triggers include: any mention of stock price, ticker symbol (AAPL, MSFT, TSLA, etc.), "get me the financials", "show earnings", "what's the price of", "download stock data", "options chain", "dividend history", "balance sheet", "income statement", "cash flow", "analyst targets", "institutional holders", "compare stocks", "screen for stocks", or any request involving Yahoo Finance data. Always use this skill even if the user only provides a ticker — infer intent from context.
Buildfrom Finance Skills11fastapi-python
1 installsExpert in FastAPI Python development with best practices for APIs and async operations
Buildfrom Mindrally Skills12scrum-master
1 installsAdvanced Scrum Master skill for data-driven agile team analysis and coaching. Use when the user asks about sprint planning, velocity tracking, retrospectives, standup facilitation, backlog grooming, story points, burndown charts, blocker resolution, or agile team health. Runs Python scripts to analyse sprint JSON exports from Jira or similar tools: velocity_analyzer.py for Monte Carlo sprint forecasting, sprint_health_scorer.py for multi-dimension health scoring, and retrospective_analyzer.py for action-item and theme tracking. Produces confidence-interval forecasts, health grade reports, and improvement-velocity trends for high-performing Scrum teams.
Buildfrom Multi-Domain Skills13analytics-tracking
1 installsSet up production-ready event tracking with Amplitude, Mixpanel, PostHog, or GA4. Auto-detects your framework (React, Next.js, Vue, Flutter, Angular, Python, Go, Rails), installs the correct SDK, creates a provider-agnostic analytics service wrapper, defines a typed event taxonomy, instruments page views and key user flows, and adds privacy/consent controls. Use when you need analytics, event tracking, user tracking, product analytics, usage metrics, or telemetry.
Integrationfrom Skills Hub14business-growth-skills
1 installs4 business growth agent skills and plugins for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. Customer success (health scoring, churn), sales engineer (RFP), revenue operations (pipeline, GTM), contract & proposal writer. Python tools (stdlib-only).
Marketingfrom Multi-Domain Skills15common-security-audit
1 installsProbe for hardcoded secrets, injection surfaces, unguarded routes, business logic flaws, and platform-specific weaknesses across backend (Node, Go, Java, Python, Rust), frontend (React, Angular, Vue), and mobile (iOS, Android, Flutter) codebases. Use when performing security audits, vulnerability scans, secrets detection, or penetration testing.
Buildfrom Multi-Language Standards16code-reviewer
1 installsCode review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C#, and .NET. Analyzes PRs for complexity and risk, checks code quality for SOLID violations and code smells, generates review reports. Use when reviewing pull requests, analyzing code quality, identifying issues, generating review checklists.
Buildfrom Multi-Domain Skills17scikit-learn-best-practices
1 installsBest practices for scikit-learn machine learning, model development, evaluation, and deployment in Python
Buildfrom Mindrally Skills18product-skills
1 installs10 product agent skills and plugins for Claude Code, Codex, Gemini CLI, Cursor, OpenClaw. PM toolkit (RICE), agile PO, product strategist (OKR), UX researcher, UI design system, competitive teardown, landing page generator, SaaS scaffolder, research summarizer. Python tools (stdlib-only).
Buildfrom Multi-Domain 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.