fastapi
Installation
SKILL.md
FastAPI
Workflow
- Confirm product requirements, SLOs, and API contract expectations.
- Define module boundaries: routers, domain services, and infrastructure adapters.
- Establish lifespan-managed shared resources and request-scoped dependencies.
- Enforce Pydantic request/response models as external contracts.
- Choose correct async or sync execution paths for each endpoint.
- Implement security, observability, and failure handling standards.
- Validate with tests, load checks, and deployment-safe rollout controls.
Preflight (Ask / Check First)
- Check Python and FastAPI versions and runtime constraints.
- Check persistence stack and transaction requirements.
- Check whether endpoints are latency-sensitive, throughput-sensitive, or both.
- Check authn/authz model and compliance obligations.
- Check deployment platform, autoscaling behavior, and release cadence.