Sign in
Explore
Prompts · PromptBackend & APIsTesting & SecurityReviewed

fastapi-review

Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, security, performance, and testability.

Kind
Prompt
Works with
Claude Code, Codex
Languages
Python
Source
affaan-m/ECC @ d3b8a3e90890
Path
commands/fastapi-review.md
License
MIT
Jobs
Review, Guardrails
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# FastAPI Review

Invoke the `fastapi-reviewer` agent for a focused FastAPI review.

## Usage

```text
/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

```text
[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`