# API Contract Reviewer

> Review Supabase RPC/PostgREST API contracts for DTO correctness, response consistency, validation quality, and backward-compatibility risk. Use when changing libs/api/*, shared response types, or API-facing behavior.

- Skill: `conectlens/api-contract-reviewer` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add conectlens/api-contract-reviewer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/conectlens/api-contract-reviewer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: conectlens (https://skillmd.com/u/conectlens)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/conectlens/api-contract-reviewer

---


Run API contract review for $ARGUMENTS.

Purpose
Review request/response contracts in the requested scope.

Focus
- DTO / type validation (libs/api/*)
- RPC response shape and nullability
- pagination and filtering
- error contract consistency
- backward-compatibility risk
- OpenAPI alignment (supabase/functions/)

Workflow
- Resolve scope from $ARGUMENTS
- Inspect libs/api/*, libs/domain/*, Supabase RPC definitions, and shared types (@lenserfight/types)
- Check request validation and response exposure
- Flag contract drift, unsafe changes, and inconsistent patterns
- Report findings and compatibility risks

Load only when needed
- Review method: [reference guide](references/REFERENCE.md)
- DTO and response checks: [contracts guide](references/contracts.md)
