fastapi
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Angular component architecture, RxJS patterns, change detection, and module organization
Azure DevOps pipeline security, YAML structure, variable management, and deployment patterns
Azure Bicep IaC patterns, parameterization, security, and modular design
Dockerfile best practices, security hardening, multi-stage builds, and image optimization
ASP.NET Core patterns, dependency injection, middleware, async/await, and security
GitHub CLI (gh) comprehensive reference for repositories, issues, pull requests, Actions, projects, releases, gists, codespaces, organizations, extensions, and all GitHub operations from the command line.
| name | fastapi |
| description | FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns |
| metadata | {"version":"1.1.0"} |
{{ ... }}), and always declare variable sources. Avoid HTML comments (<!-- -->) as they may expose sensitive info or facilitate injection attacksOAuth2PasswordBearer or similar for authCORSMiddlewareAPIRouter and tagsdeprecated=Trueresponse_model parameterField() for validation constraints (min/max, regex, etc.)model_config for Pydantic v2 configurationDepends() for shared logic (auth, db sessions, etc.)async def for I/O-bound endpointsasyncio.gather() for parallel async operationsrun_in_executor)async with) for managing async resources (DB sessions, HTTP clients)BackgroundTasks for work that should outlive the response@app.on_event("startup"/"shutdown")) to initialize/cleanup shared async resourcesasyncio.Semaphore when calling external servicesHTTPException for expected errors with proper status codesdependencies module for reusable dependenciesconfig.py for settings management