Production-grade FastAPI patterns for async APIs, SQLAlchemy 2.0, Pydantic v2, and robust error handling. Use when building API endpoints, handling database operations, implementing middleware, or optimizing performance.
The 'fastapi-production' skill provides production-grade patterns for developing FastAPI applications, focused on asynchronous APIs, SQLAlchemy 2.0 integration, and Pydantic v2 validation. It is designed to streamline the development of robust, high-performance APIs, offering patterns and best practices for handling database operations, API endpoint creation, error handling, and optimization. This skill addresses the common challenges of building scalable, maintainable, and secure FastAPI applications in production environments. By leveraging asynchronous operations, SQLAlchemy ORM for database interactions, and Pydantic for data validation, the skill ensures an efficient development process while meeting enterprise-grade requirements.
The fastapi-production skill provides production-grade patterns for developing FastAPI applications, particularly for asynchronous APIs, database operations using SQLAlchemy, and robust error handling with Pydantic.
This skill includes production-ready patterns for building API endpoints, handling database operations, implementing middleware, and optimizing performance. It also emphasizes error handling and validation using Pydantic, alongside authentication/authorization patterns and background task integration.
This skill is intended for developers working on building production-grade APIs using FastAPI, especially those who need to integrate with SQLAlchemy, Pydantic, and require robust error handling, authentication, and performance optimization.
The skill requires Git and database contexts, and works best when paired with the 'database-migration' skill. It also has a preferred batch size of 5 and a maximum file context of 80.
Yes, the skill is compatible with 'test-writer', 'security-audit', and 'code-review'. It must be serialized with 'database-migration'.
Quick Setup:
.claude/skills/