Reviews API routes for routing contracts, input schema validation (Zod), JSON error taxonomies, request/response models, pagination, authentication, recoverability, and HTTP status codes. Use during API code changes or integrations.
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Use this skill when reviewing or modifying API routes, endpoints, or network boundaries within this repository (primarily under src/app/api/).
Follow AGENTS.md review throttling and docs/codex-review-protocol.md before starting. Do not review opportunistically or mutate files during pure review. After a completed PR review, post one Review record comment on the PR (see Records); never edit the frozen docs/branch-review-ledger.md table.
req.json(), query parameters, route segments) are validated using strict Zod schemas.400 Bad Request immediately before running downstream DB or AI logic.401 Unauthorized vs 403 Forbidden, 404 Not Found for missing resources, 429 Too Many Requests for rate limits).VALIDATION_FAILED, INTERNAL_ERROR) and user-safe descriptions.limit, offset / cursor) are implemented, validated, and bounded.user_id).BigSimmo/PsychSift
0d5a97a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.