fastapi-pro
Skill3 starsChanged 9 months agoMITView on GitHub
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.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- MortuisVMain/ai-agent-superpowerstheir own version, first seen Sep 15, 2026
- TheHiddenDeveloper/jarvis-skillstheir own version, first seen Aug 19, 2026
- andrewthetechie/andrew-skillstheir own version, first seen Jul 20, 2026
- tranhieutt/software_development_departmenttheir own version, first seen Apr 30, 2026
- ai4brands-design/claude-skillstheir own version, first seen Mar 22, 2026
- xfstudio/skillstheir own version, first seen Jan 22, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- tranhieutt/software_development_department★ 72same name
- xfstudio/skills★ 9same name
- andrewthetechie/andrew-skills★ 4same name
- ai4brands-design/claude-skills★ 2same name
- MortuisVMain/ai-agent-superpowers★ 0same name
- TheHiddenDeveloper/jarvis-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository39 other files it gives its agents.
- api-designerSkill
- auth-patternsSkill
- aws-architectSkill
- cicd-masterSkill
- code-reviewerSkill
- css-craftsmanSkill
- database-designSkill
- debugging-detectiveSkill
- devops-pipelineSkill
- django-masterSkill
- docker-orchestratorSkill
- documentation-writerSkill
- git-workflowSkill
- go-engineerSkill
- graphql-expertSkill
- kubernetes-opsSkill
- linux-adminSkill
- microservices-patternsSkill
- monitoring-observabilitySkill
- nextjs-architectSkill
- nginx-configSkill
- nodejs-backendSkill
- performance-tunerSkill
- postgres-expertSkill
- python-expertSkill
- react-masterySkill
- redis-cachingSkill
- regex-masterSkill
- rust-systemsSkill
- security-hardeningSkill
- shell-scriptingSkill
- sql-optimizerSkill
- svelte-expertSkill
- tailwind-masterSkill
- terraform-infraSkill
- testing-arsenalSkill
- typescript-wizardSkill
- vue-specialistSkill
- websocket-realtimeSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Dependency injection over global state: Use Depends() for database sessions, auth, config.
- Very specific: line 14
Async by default: Use async def for I/O-bound endpoints.
- Distinctive: line 20
Not using response_model — clients get unvalidated, potentially sensitive data
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

