fastapi-patterns
Installation
SKILL.md
FastAPI Patterns and Best Practices
Purpose
This skill provides comprehensive guidance for building production-ready FastAPI applications. Reference this skill when:
- Reviewing FastAPI code
- Designing API endpoints and structures
- Implementing authentication and authorization
- Integrating databases with async patterns
- Writing tests for FastAPI applications
- Optimizing API performance
- Setting up dependency injection
- Validating request/response models
Context
FastAPI is a modern, high-performance Python web framework built on Starlette and Pydantic. It leverages Python 3.6+ type hints to provide automatic request validation, serialization, and OpenAPI documentation generation. FastAPI is designed for async-first development, making it ideal for I/O-bound operations.