code-check-contracts
CommunityCatch API and DTO drift before it breaks
Authorwebdevcody
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents runtime bugs caused by producer/consumer contract drift, such as renamed fields, changed route params/search params, or mismatched DTO/Zod/DB shapes that TypeScript can’t fully guarantee across boundaries.
Core Features & Use Cases
- Audits client/server contract drift across server functions, route handlers, tRPC procedures, Zod/DTO definitions, DB schemas, and route param/search definitions.
- Ranks findings by severity and distinguishes safe mechanical renames from structural changes that require domain review.
- Finds and updates call sites for mechanical renames (while never auto-fixing removals or semantic changes).
- Reports full evidence by pointing to producer and consumer locations (including the differing field names) so reviewers can verify quickly.
Quick Start
Run the contract scan after any change that crosses the client/server boundary by triggering it with the instruction: "check contracts for drift in the current diff".
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: code-check-contracts Download link: https://github.com/webdevcody/go-mailing-list/archive/main.zip#code-check-contracts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.