What problem does it solve? Manually translating API specification documents into layered FastAPI backend code is repetitive and error-prone. This Skill automates the conversion of API specs into a consistent three-layer codebase (Router, Service, Repository) following established architectural conventions. ## Core Features & Use Cases - Spec-to-Code Generation: Parses API specification documents (endpoints, parameters, request/response bodies, validation rules) and produces Router, Service, and Repository files with correct naming conventions. - Layered Architecture Output: Generates Router endpoints with dependency injection, Service classes with TODO markers for business logic, and Repository classes extending a BaseRepository with custom query methods. - Special Endpoint Handling: Supports batch operations, export endpoints, file uploads, status-change endpoints, multi-condition search, and authenticated routes. - Use Case: Given an API spec for a weighing-records module, generate the full CRUD router, service skeleton with pagination, and repository with filter queries, then register the router in main.py. ## Quick Start Ask the AI to generate FastAPI Router, Service, and Repository scaffold code from your API specification document, for example by saying "generate the backend scaffold from this API spec".