Fastapi Service Scaffold

Use when creating a new Python FastAPI service or standardizing an existing one to production conventions. Scaffolds a clean layout (app factory, routers, dependencies, settings via pydantic-settings), async SQLAlchemy 2.0 with a session dependency, structured logging, lifespan-based startup/shutdown, health/readiness endpoints, Prometheus metrics, Dockerfile, and tests with pytest + httpx. Trigger when the user asks to create, bootstrap, or scaffold a FastAPI service/API, or to add production structure (config, async DB, health checks, metrics, tests) to existing FastAPI code.

Shravan-Amberkar Updated

File contents

Shravan-Amberkar/agentic-skills/tree/main/skills/fastapi-service-scaffold commit d91d5961f3

Frequently asked questions

npx skillmds@latest add shravan-amberkar/fastapi-service-scaffold