What problem does it solve? When a contract or schema (Zod schema, type, wire format) is mirrored or shimmed in more than one package, each consumer's unit tests stay green because producer and assertion come from the same local copy — while the copies silently diverge, causing HTTP 400s, ZodErrors on save, or silently skipped records. This Skill sets up a golden test that catches exactly that cross-package drift. ## Core Features & Use Cases - Round-trip pattern: Implements the build → serialize → validate → read sequence, where the save schema validates the serialized wire form (not the in-memory object), crossing a real package boundary at every step. - One shared fixture set: Establishes a single fixture package imported by every consumer, with the test running in each consumer's gate so local copies cannot hide. - Mandatory RED verification: Requires swapping in the old (v1) implementation to prove the test actually fails before trusting it. - Use Case: Your monorepo has an API shim and a web app both re-declaring the same slot layout schema. Roll out the provided Vitest template in each consumer, point it at the shared fixtures, and any future divergence between the copies fails the gate immediately. ## Quick Start Ask the agent to set up a contract golden test for the duplicated schema, following the template in assets/contract.golden.example.ts and the shared fixture set in assets/fixtures.example.ts.