Skip to content
existential-birds avatar

Fastapi Code Review

Structured FastAPI code review that checks routing, Depends() injection, Pydantic validation, and async handlers against file-level evidence.

CCM score
48 of 100
skills.sh installs
394
GitHub stars
91
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers review of APIRouter setup, response_model and status codes, dependency injection with yield cleanup, and async handler behavior
  • Includes a 12-item review checklist, a list of idiomatic patterns not to flag, and per-category references for routes, dependencies, validation, and async
  • Enforces three evidence gates requiring a file:line anchor for each route decorator, blocking call, and auth or validation claim before a finding ships
  • Designed for reviewers auditing FastAPI apps who want findings to avoid false positives on Pydantic-validated inputs and Depends-based sessions

Install

$ npx -y skills add existential-birds/beagle --skill fastapi-code-review -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

FastAPI Code Review

Quick Reference

Issue TypeReference
APIRouter setup, response_model, status codes, lifespanreferences/routes.md
Annotated[..., Depends()], yield deps, pure ASGI middlewarereferences/dependencies.md
Pydantic v2 ConfigDict, HTTPException, 422 handlingreferences/validation.md
def vs async def, blocking I/O, asyncio.to_thread, background tasksreferences/async.md

Review Checklist

Details

Repository
github.com/existential-birds/beagle
Categories
Code Review & Quality, Python, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the fastapi-code-review skill check in a FastAPI codebase?

fastapi-code-review reviews FastAPI code for routing patterns, dependency injection, Pydantic v2 validation, and async/sync handler safety. It checks APIRouter setup, Depends() and Annotated usage, response models, and whether async def handlers contain blocking I/O.

How do I install the fastapi-code-review skill?

Run npx -y skills add existential-birds/beagle --skill fastapi-code-review -y inside your project. Once installed, fastapi-code-review lets your agent review FastAPI routes, dependencies and response models against its checklist.

Which other skills sit beside fastapi-code-review in the Code Review & Quality category?

fastapi-code-review is in the Code Review & Quality category, which also lists improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Where fastapi-code-review differs is its focus on FastAPI-specific rules such as Depends cleanup, lifespan startup and pure ASGI middleware.

More from existential-birds/beagle

All 37

Similar to Fastapi Code Review

More Code Review & Quality