codingheader/myskills/0xdarkmatter-python-fastapi-patterns
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
FastAPI web framework patterns. Triggers on: fastapi, api endpoint, dependency injection, pydantic model, openapi, swagger, starlette, async api, rest api, uvicorn.
Install
npx vskill@latest install codingheader/myskills/0xdarkmatter-python-fastapi-patternsSKILL.md
FastAPI Patterns
Modern async API development with FastAPI.
Basic Application
Request/Response Models
Path and Query Parameters
Dependency Injection
Exception Handling
Router Organization
Quick Reference
| Feature | Usage | |
|---|---|---|
| Path param | @app.get("/items/{id}") | |
| Query param | def f(q: str = None) | |
| Body | def f(item: ItemCreate) | |
| Dependency | Depends(get_db) | |
| Auth | Depends(get_current_user) | |
| Response model | response_model=ItemResponse | |
| Status code | status_code=201 |
Additional Resources
./references/dependency-injection.md- Advanced DI patterns, scopes, caching./references/middleware-patterns.md- Middleware chains, CORS, error handling./references/validation-serialization.md- Pydantic v2 patterns, custom validators./references/background-tasks.md- Background tasks, async workers, scheduling
Scripts
./scripts/scaffold-api.sh- Generate API endpoint boilerplate
Assets
./assets/fastapi-template.py- Production-ready FastAPI app skeleton
See Also
Prerequisites:
python-typing-patterns- Pydantic models and type hintspython-async-patterns- Async endpoint patterns
Related Skills:
python-database-patterns- SQLAlchemy integrationpython-observability-patterns- Logging, metrics, tracing middlewarepython-pytest-patterns- API testing with TestClient
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingSkillstore/python-fastapi-patterns/0xdarkmatter-python-fastapi-patterns/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codingheader/myskills/0xdarkmatter-python-fastapi-patterns)