
Fastapi Code Review
Reviews FastAPI codebases for routing, dependency injection, validation, and async patterns. Checks that routes have response models, dependencies use Depends() properly, Pydantic handles validation, and handlers avoid blocking I/O. The gates are thorough, requiring you to verify route decorators, trace blocking calls with file locations, and confirm auth dependencies before flagging issues. It knows idiomatic FastAPI patterns that look weird but are correct, like async handlers without await or returning plain dicts when response_model is set. Good for teams who want structured FastAPI reviews that don't flag framework features as bugs.
- skills.sh installs
- 387
- GitHub stars
- 87
- last updated
- Aug 21, 2026
Install
$ npx -y skills add existential-birds/beagle --skill fastapi-code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
FastAPI Code Review
Quick Reference
| Issue Type | Reference |
|---|---|
| APIRouter setup, response_model, status codes | references/routes.md |
| Depends(), yield deps, cleanup, shared deps | references/dependencies.md |
| Pydantic models, HTTPException, 422 handling | references/validation.md |
| Async handlers, blocking I/O, background tasks | references/async.md |
Review Checklist
- APIRouter with proper prefix and tags
- All routes specify
response_modelfor type safety - Correct HTTP methods (GET, POST, PUT, DELETE, PATCH)
- Proper status codes (200, 201, 204, 404, etc.)
- Dependencies use
Depends()not manual calls - Yield dependencies have proper cleanup
- Request/Response models use Pydantic
- HTTPException with status code and detail
- All route handlers are
async def - No blocking I/O (
requests,time.sleep,open()) - Background tasks for non-blocking operations
- No bare
exceptin route handlers
Valid Patterns (Do NOT Flag)
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/existential-birds/beagle
- Categories
- Git & Pull Requests, Code Review & Quality, Python
- First seen
- Jun 3, 2026
More from existential-birds/beagle
All 40- React Flow Implementation374
- Shadcn Ui356
- React Flow Code Review324
- Langgraph Architecture282
- Swiftui Code Review273
- Tutorial Docs271
- Bubbletea Code Review265
- Zustand State258
- Adr Writing250
- Dagre React Flow247
- Swift Code Review247
- Pytest Code Review232
- Sqlalchemy Code Review225
- Pydantic Ai Common Pitfalls221
- Pydantic Ai Agent Creation219
- Agent Architecture Analysis217
- Ai Elements209
- Go Code Review204
- Shadcn Code Review204
- Swift Testing Code Review194
- Sqlite Vec171
- Pydantic Ai Tool System161
- Deepagents Architecture160
- Langgraph Implementation160
Recommended
More Git & Pull Requests1
cdo-reviewalirezarezvani/claude-skills/cs:cdo-review <plan> — Decision-driven Chief Data Officer interrogation of any plan that touches training data, data architecture, data productization, or data383skills.sh installs
2
cpo-reviewalirezarezvani/claude-skills/cs:cpo-review <plan> — JTBD-driven interrogation of product roadmap, PMF signal, and portfolio focus. Use when committing a quarter's roadmap, deciding whether383skills.sh installs
3
githubmembranedev/application-skillsGithub integration. Manage project management and ticketing data, records, and workflows. Use when the user wants to interact with Github data.383skills.sh installs
4
cco-reviewalirezarezvani/claude-skills/cs:cco-review <plan> — Retention-obsessed Chief Customer Officer interrogation of any plan that touches customer retention, segmentation, CS team sizing, or CS380skills.sh installs
5
cro-reviewalirezarezvani/claude-skills/cs:cro-review <plan> — Pipeline-paranoid interrogation of revenue, win rate, NRR, and ramp time. Use when the forecast misses pipeline coverage, win rates drop380skills.sh installs
6
woocommerce-code-reviewsecondsky/claude-skillsReview WooCommerce code changes for coding standards compliance. Use when reviewing code locally, performing automated PR reviews, or checking code quality in W379skills.sh installs