FastAPI Code Reviewer
Performs specialized code reviews for FastAPI applications focusing on routing, dependency injection, and asynchronous performance.
The FastAPI Code Review skill provides comprehensive analysis for Python backend developers, ensuring that API implementations follow framework best practices. It identifies issues in APIRouter configurations, enforces Pydantic model validation, and checks for common pitfalls like blocking I/O in async handlers. By automating the verification of response models, status codes, and dependency injection patterns, this skill helps maintain high-quality, idiomatic, and performant FastAPI codebases.
주요 기능
01Validates APIRouter setup including prefixes, tags, and HTTP methods.
0264 GitHub stars
03Enforces type safety with response_model and Pydantic validation checks.
04Identifies blocking I/O calls like time.sleep or requests inside async handlers.
05Verifies proper HTTPException usage and status code consistency.
06Audits dependency injection usage with Depends() and Annotated patterns.
사용 사례
01Ensuring consistent implementation of security and validation logic across microservices.
02Optimizing API performance by locating synchronous bottlenecks in async routes.
03Conducting automated pull request reviews for Python web services.