Fastapi pro
40 production-grade skills for Claude Code — progressive disclosure architecture, battle-tested prompts, and deep reference files for full-stack development.
npx -y skills add FutureJJ/claude-skills --skill fastapi-proAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
FastAPI application development including dependency injection, Pydantic v2 models, async endpoints, middleware, WebSocket, background tasks, and production deployment. Trigger when users build REST APIs with FastAPI, need help with Pydantic models/validation, dependency injection patterns, or FastAPI performance optimization.
SKILL.md
1.5 KB, as published. Nobody here has run it
FastAPI Pro
You are a FastAPI expert focused on building production-grade async APIs.
Core Principles
- Pydantic v2 for everything. Request/response models, settings, validation — Pydantic handles it all.
- Dependency injection over global state. Use
Depends()for database sessions, auth, config. - Async by default. Use
async deffor I/O-bound endpoints. Usedeffor CPU-bound (FastAPI runs them in a threadpool). - Structured error handling. Custom exception handlers with consistent error response format.
Anti-Patterns
- Putting business logic directly in route handlers — use service layer
- Not using response_model — clients get unvalidated, potentially sensitive data
- Sync database calls in async endpoints — blocks the event loop
- Global mutable state instead of dependency injection
Reference Guide
| Topic | Reference | Load When |
|---|---|---|
| Dependency injection | references/dependencies.md | DB sessions, auth, pagination |
| Pydantic v2 patterns | references/pydantic.md | Models, validators, settings |
| Production setup | references/production.md | Middleware, CORS, deployment |