Zod Schema Architect — Testing skill for Claude Code
A Zod-focused Agent Skill for architecting, designing, validating, testing, and evolving TypeScript/JavaScript schemas and API contracts.
How to install Zod Schema Architect
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Ganeshguru5/zod-schema-architect and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Zod Schema Architect does
A Zod-focused Agent Skill for architecting, designing, validating, testing, and evolving TypeScript/JavaScript schemas and API contracts.
Alternatives in Testing
- Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
- Deslop Reborn — One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents 12.6k ★
- OpenAgentsControl — AI agent framework for plan-first development workflows with approval-based execution 4.8k ★
README
zod-schema-architect
An [Agent Skill](https://agentskills.io) that teaches coding agents to treat Zod schemas as **data contracts at trust boundaries** — and to design them like a senior TypeScript engineer would.
Design the data contract first. Implement the Zod schema second.
What is zod-schema-architect?
A skill for architecting, designing, implementing, integrating and reviewing Zod schemas in TypeScript applications: API requests and responses, query and route params, forms, webhooks, third-party API responses, environment configuration and domain inputs.
It does not teach Zod syntax. It makes the agent answer the questions that decide whether a schema is correct before it writes one:
- Which boundary does this schema protect, and is the data trusted?
- What exactly does it represent — create request, update request, response, external payload, config?
- What belongs in this layer, and what belongs to the domain or the database instead?
- What does the repository already do — Zod version, conventions, shared primitives, OpenAPI or ORM sources of truth?
- Who can set each field, what is optional vs nullable, where do defaults live, what happens to unknown keys?
Why it exists
Agents tend to answer "add validation" by writing `z.object({...})` from the nearest example payload. That produces schemas that type-check but:
- accept
role,idorpasswordHashin a sign-up body because they were on the model; - return
passwordHashorinternalNotesbecause the response is the database row; - derive a PATCH schema with
.partial()from a create schema with defaults — in Zod 4 that silently resets fields the client didn't send; - coerce
"false"totruewithz.coerce.boolean()or""to0withz.coerce.number(); - add a hand-written Zod schema next to an OpenAPI spec (or hand-edit generated types), creating two drifting sources of truth;
- use Zod 4 APIs in a Zod 3 project (or the reverse);
- add runtime validation to purely inte
Related Skills
Darwin Agents
AI agents that improve themselves. Self-evolving prompts via A/B testing, multi-model critics, and safety gate
Effect Fp Skill
Claude Code skill: Effect-first functional TypeScript — railway-oriented programming, designing with types, pr
Coverage Guard
An AI agent skill that enforces 100% test coverage for any JavaScript/TypeScript project. Works with Vitest, J
Inkline
by inkline - Structures development workflow using pnpm with emphasis on TypeScript and Vue 3 Composition API,
Hatch3r API Spec
Generate or validate an OpenAPI specification from the codebase. Scans route definitions, extracts schemas, an
Contract Version Bump
Classify and apply a version bump to a machine-readable contract (JSON Schema, API spec, config schema) — vers
Related Agents
Sub Agent Architect
PROACTIVELY used when designing DB schemas, defining Prisma/Supabase structures, or establishing TypeScript ty
API Contract Tester
Use to verify HTTP/API contracts - request and response schemas, status codes, error shapes, versioning and ba
Type Safety Reviewer
TypeScript type safety reviewer. Looks for any, unsafe casts, missing Zod schemas at boundaries, type assertio