existential-birds avatar

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-code

Installs into .claude/skills of the current project.

Files

FastAPI Code Review

Quick Reference

Issue TypeReference
APIRouter setup, response_model, status codesreferences/routes.md
Depends(), yield deps, cleanup, shared depsreferences/dependencies.md
Pydantic models, HTTPException, 422 handlingreferences/validation.md
Async handlers, blocking I/O, background tasksreferences/async.md

Review Checklist

  • APIRouter with proper prefix and tags
  • All routes specify response_model for 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 except in route handlers

Valid Patterns (Do NOT Flag)

Sponsors

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
1alirezarezvani avatarcdo-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
2alirezarezvani avatarcpo-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
3membranedev avatargithubmembranedev/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
4alirezarezvani avatarcco-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
5alirezarezvani avatarcro-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
6secondsky avatarwoocommerce-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