Skill / SKILL.md

Schema Source Of Truth

TheDecipherist/claude-code-mastery-project-starter-kit

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.
2 views 343 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/TheDecipherist/claude-code-mastery-project-starter-kit' skill-source

Use the complete skill-source/.claude/skills/schema-source-of-truth directory with your client’s skill installer.

  • .claude/skills/schema-source-of-truth Claude Code

    main · SKILL.md

    Open installation source

    Client installation directory present in source repository

Source directory .claude/skills/schema-source-of-truth

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
86a37ae1a308e78dc6489bc5d156dcb188ac3d24d1e312d2bb19f2e5c68fe8c0
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills