What problem does it solve?
Manually setting up a new FastAPI project with consistent, production-grade tooling and best practices is time-consuming and prone to configuration drift, leading to inconsistent code quality and missing baseline setups across backend services.
Core Features & Use Cases
- Strict Code Quality Baseline: Pre-configured Ruff linting with curated rule sets, mypy strict type checking with Pydantic plugin support, and a full pytest test suite with async, coverage, and mocking configuration to enforce quality from the first line of code.
- Opinionated Project Scaffolding: Automatically sets up uv-managed src-layout projects, Pydantic Settings for environment configuration, CORS middleware, a /healthz liveness endpoint with smoke tests, and optional SQLModel or SQLAlchemy 2.x ORM integration with Alembic migration support.
- Use Case: Ideal for teams building new internal APIs, customer-facing backends, or microservices that need to follow consistent, maintainable standards without spending days on manual project setup.
Quick Start
Use the python-fastapi-init skill to scaffold a new FastAPI service with your preferred Python version and ORM choice, following all strict baseline best practices out of the box.