What problem does it solve?
This Skill helps developers quickly scaffold and maintain Python backend services using uv, FastAPI, Pydantic, SQLAlchemy, and AI libraries, reducing setup time and boilerplate.
Core Features & Use Cases
- Project scaffolding: Create a scalable server structure with FastAPI routers, models, and configuration for rapid iteration.
- Database & migrations: Async SQLAlchemy integration with Alembic migrations for evolving schemas and safe migrations.
- API-first development: Modular routing with APIRouter and Pydantic for validation and type-safe API contracts.
- AI integration: Support for LiteLLM and Docling to enable document-based AI workflows within services.
Quick Start
Initialize a new server project in the server/ directory, then bootstrap FastAPI with modular routing, configure the database, and apply migrations. Use uv to manage dependencies and run the server:
- Initialize: uv init
- Add dependencies: uv add fastapi uvicorn sqlalchemy alembic pydantic-settings
- Create app structure with FastAPI and APIRouter-based modules
- Configure Alembic migrations and start the server with uv run uvicorn src.main:app --reload