What problem does it solve? Building a FastAPI backend without consistent architecture leads to tangled routers, duplicated database logic, and inconsistent API responses. This Skill enforces a proven Router-Service-Repository-Model-Schema layered structure so every endpoint follows the same conventions. ## Core Features & Use Cases - Layered Architecture Patterns: Provides complete code templates for Router, Service, Repository, Model, and Schema layers with clear responsibility boundaries and naming conventions. - Full-Stack Alignment: Defines pagination, unified ApiResponse/ErrorResponse formats, and CORS setup that map directly to a PrimeVue frontend's DataTable lazy-loading expectations. - Production Essentials: Covers JWT authentication, global exception handlers, async SQLAlchemy sessions, Alembic migrations, and pytest async test fixtures. - Use Case: When asked to "add a new API" for a weighing record module, the Skill generates the model, Pydantic schemas, repository, service, and router following the exact project conventions, including pagination and error handling. ## Quick Start Ask the AI to create a new FastAPI endpoint for a resource, and it will generate the full layered implementation following this Skill's architecture.