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".