fastapi
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
FastAPI endpoint design, Pydantic validation, dependency injection, and async patterns
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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