Frameworks

Best FastAPI Agent Skills

44 FastAPI skills for AI coding assistants — ranked by popularity.

This collection provides curated AI-agent skills specifically for building FastAPI applications using tools like Claude Code, Codex, and Cursor. If you are a developer looking to accelerate your backend workflow, these modules offer automated assistance for project scaffolding, routing, and configuration. The skills include specialized agents for generating production-ready code with SQLAlchemy 2.0 and Pydantic V2, as well as orchestrators that handle full-stack app structure from natural language prompts. Whether you need to implement JWT authentication, manage typed environment variables with pydantic-settings, or generate CRUD routers, these tools translate high-level requirements into functional Python code. By integrating these skills into your IDE, you can ensure your API adheres to modern async patterns and industry standards without manual boilerplate generation. This resource is built for engineers aiming to move from project initialization to a deployed endpoint faster.

Top FastAPI skills

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

5201,086

fastapi-pro

sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

79181

python-pro

sickn33

Master Python 3.12+ with modern features, async programming, performance optimization, and production-ready practices. Expert in the latest Python ecosystem including uv, ruff, pydantic, and FastAPI. Use PROACTIVELY for Python development, optimization, or advanced Python patterns.

2358

app-builder

davila7

Main application building orchestrator. Creates full-stack applications from natural language requests. Determines project type, selects tech stack, coordinates agents.

1645

templates

davila7

Project scaffolding templates for new applications. Use when creating new projects from scratch. Contains 12 templates for various tech stacks.

452

python-configuration

wshobson

Python configuration management via environment variables and typed settings. Use when externalizing config, setting up pydantic-settings, managing secrets, or implementing environment-specific behavior.

542

fastapi-router-py

microsoft

Create FastAPI routers with CRUD operations, authentication dependencies, and proper response models. Use when building REST API endpoints, creating new routes, implementing CRUD operations, or adding authenticated endpoints in FastAPI applications.

525

pydantic-models-py

microsoft

Create Pydantic models following the multi-model pattern with Base, Create, Update, Response, and InDB variants. Use when defining API request/response schemas, database models, or data validation in Python applications using Pydantic v2.

325

backend-architect

sickn33

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and observability. Use PROACTIVELY when creating new backend services or APIs.

1014

openrouter-streaming-setup

jeremylongshore

Implement streaming responses with OpenRouter. Use when building real-time chat interfaces or reducing time-to-first-token. Trigger with phrases like 'openrouter streaming', 'openrouter sse', 'stream response', 'real-time openrouter'.

111

mcp-developer

Jeffallan

Use when building MCP servers or clients that connect AI systems with external tools and data sources. Invoke for MCP protocol compliance, TypeScript/Python SDKs, resource providers, tool functions.

16

server-skills

llama-farm

Server-specific best practices for FastAPI, Celery, and Pydantic. Extends python-skills with framework-specific patterns.

25

python-development-python-scaffold

sickn33

You are a Python project architecture expert specializing in scaffolding production-ready Python applications. Generate complete project structures with modern tooling (uv, FastAPI, Django), type hint

14

supabase-python

alinaqi

FastAPI with Supabase and SQLAlchemy/SQLModel

05

runtime-skills

llama-farm

Universal Runtime best practices for PyTorch inference, Transformers models, and FastAPI serving. Covers device management, model loading, memory optimization, and performance tuning.

13

klingai-reference-architecture

jeremylongshore

Execute production-ready reference architecture for Kling AI video platforms. Use when designing scalable video generation systems. Trigger with phrases like 'klingai architecture', 'kling ai system design', 'video platform architecture', 'klingai production setup'.

11

azure-cosmos-db-py

microsoft

Build Azure Cosmos DB NoSQL services with Python/FastAPI following production-grade patterns. Use when implementing database client setup with dual auth (DefaultAzureCredential + emulator), service layer classes with CRUD operations, partition key strategies, parameterized queries, or TDD patterns for Cosmos. Triggers on phrases like "Cosmos DB", "NoSQL database", "document store", "add persistence", "database service layer", or "Python Cosmos SDK".

10

async-python-patterns

Anhvu1107

ALWAYS use this when the request matches Async Python Patterns: Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.

00

douyin-scraper-skill

orange-suli

douyin-scraper-skill — an agent skill by orange-suli.

00

fastapi

kid-sid

Use when structuring a FastAPI application, designing dependency injection chains, defining Pydantic v2 schemas, adding JWT authentication, or writing async route tests with httpx.

00

rest-api-builder

inbharatai

Scaffold production-ready REST APIs with authentication, rate limiting, validation, and OpenAPI docs.

00

api-documenter

ovachiever

Auto-generate API documentation from code and comments. Use when API endpoints change, or user mentions API docs. Creates OpenAPI/Swagger specs from code. Triggers on API file changes, documentation requests, endpoint additions.

00

fastapi

diegosouzapw

FastAPI framework best practices including Pydantic schemas, dependency injection, and async patterns.

00

py-refactor

vndee

Use when refactoring Python code, cleaning up legacy codebases, optimizing performance, enforcing type safety, or improving clean architecture in a FastAPI backend

00

How to choose a FastAPI skill

When selecting a skill, evaluate its specific scope and focus. Use specialized agents like fastapi-router-py for granular tasks like CRUD operations, or choose broad orchestrators like app-builder if you need to scaffold an entire stack. Check the technology stack preferences of each skill, such as SQLAlchemy 2.0 or Pydantic V2, to ensure compatibility with your current codebase. Prioritize skills that provide the specific level of abstraction you require, whether that is structural architecture or detailed implementation of authentication dependencies and async patterns.

More FastAPI skills

Frequently asked

Which skill should I use to start a new project from scratch?
For full project initialization, use app-builder by davila7 to orchestrate the process. If you have a specific architecture in mind, the templates skill provides 12 distinct scaffolding options. For projects requiring production-ready patterns, such as async database integration and error handling, fastapi-templates by wshobson is the appropriate choice to ensure your codebase starts with the correct structure.
Do these skills handle authentication and database configuration?
Yes. Several skills explicitly address these concerns. The fastapi skill by srbhr covers JWT authentication and database integration, while fastapi-router-py by microsoft focuses on building routers with authentication dependencies. For configuration management, use python-configuration by wshobson to handle environment variables and pydantic-settings, ensuring your application environment is externalized and typed correctly according to modern Python standards.

Skills for other frameworks

Search skills

Search the agent skills registry