Back to skills
SKILL.md
Api Contract Reviewer
ASecurityReview 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.
- 18 stars
- 0 votes
- 0 copies
- 1 view
- Added May 27, 2026
Works with
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add conectlens/lenserfight --skill api-contract-reviewer --agent claude-codeAre you the author of Api Contract Reviewer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/conectlens-api-contract-reviewer)---
name: api-contract-reviewer
description: 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.
disable-model-invocation: true
allowed-tools: Read Grep Glob Bash
---
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)Files in this skill
- SKILL.md
- references/REFERENCE.md
- references/contracts.md
Attribution
Comments
Loading comments…