---
name: omk-backend-api-review
description: Backend API review for NestJS, Express, FastAPI, database access, validation, auth, error handling, and API contracts.
---

## Backend Review

Check:

- request validation
- authn/authz
- DTO/schema correctness
- transaction boundaries
- N+1 queries
- error response consistency
- logging without secrets
- backward compatibility
- migration safety
- test coverage

## Output

```txt
API contract:
Data flow:
Auth risk:
DB risk:
Error handling:
Test gaps:
```
