Ganeshguru5

Zod Schema Architect — Testing skill for Claude Code

Testing community

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, id or passwordHash in a sign-up body because they were on the model;
  • return passwordHash or internalNotes because 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" to true with z.coerce.boolean() or "" to 0 with z.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