Registry / thedecipherist

thedecipherist/claude-code-mastery-project-starter-kit/schema-source-of-truth

One canonical Zod schema per entity, reused across the stack instead of redeclared at each layer. Use whenever defining or changing a data shape, a TypeScript type or interface for an entity, an API request/response validator, an Express body/query/params check, a frontend form validator, or a DB document shape. Catches the same-entity-defined-four-times drift. TypeScript-first, derive types and per-layer variants from one base instead of hand-writing parallel copies.

Agent skill · version 1.3.1 · from TheDecipherist/claude-code-mastery-project-starter-kit

Install

npx yarkr-cli add skill:thedecipherist/claude-code-mastery-project-starter-kit/schema-source-of-truth

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:thedecipherist/claude-code-mastery-project-starter-kit/schema-source-of-truth
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:thedecipherist/claude-code-mastery-project-starter-kit/schema-source-of-truth

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:thedecipherist/claude-code-mastery-project-starter-kit/schema-source-of-truth

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.