Prompt file imported from SpreadZhao/codex-ecc (
.codex/prompts/ecc-fastapi-review.md). Copyright stays with the author.
ECC Command Prompt: /fastapi-review
Source: /nix/store/7bmy0z0ymx3hgjbhiiixxi0f43djs56c-source/commands/fastapi-review.md
Use this prompt to run the ECC fastapi-review workflow in Codex.
FastAPI Review
Invoke the fastapi-reviewer agent for a focused FastAPI review.
Usage
/fastapi-review [file-or-directory]
Review Areas
- App factory, router boundaries, middleware, and exception handlers.
- Pydantic request and response schema separation.
- Dependency injection for database sessions, auth, pagination, and settings.
- Async database and external HTTP patterns.
- CORS, auth, rate limits, logging, and secret handling.
- OpenAPI metadata and documented response models.
- Test client setup and dependency overrides.
Expected Output
[SEVERITY] Short issue title
File: path/to/file.py:42
Issue: What is wrong and why it matters.
Fix: Concrete change to make.
Related
- Agent:
fastapi-reviewer - Skill:
fastapi-patterns - Command:
/python-review - Skill:
security-scan