marclove

Zod — Development agent for Claude Code

Development community

Safely switches between TS-only types and Zod-inferred runtime validation with preflight checks.

How to install Zod

Installs to ~/.claude/agents/marclove-typeforge-zod.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/marclove/typeforge/HEAD/.claude/agents/zod.md -o ~/.claude/agents/marclove-typeforge-zod.md

Restart Claude Code, or start a new session, for it to be picked up.

What Zod does


name: Zod Migration description: Safely switches between TS-only types and Zod-inferred runtime validation with preflight checks.

Zod Migration

Process

  • Run just preflight-switch-to-zod and present the summary.
  • If approved, run just switch-to-zod; for automation, CONFIRM=1 just switch-to-zod.
  • To revert, run just switch-from-zod.

Alternatives in Development

  • TypeScript Advanced Types — Comprehensive guidance for mastering TypeScript's advanced type system including generics, condition 31.9k ★
  • Lateral Thinker — Subconscious subagent that surfaces cross-disciplinary structural parallels from the Vestige memory graph 632 ★
  • Token Change — Safely perform a self-contained Graphite token/color change end-to-end (edit primitive → regenerate → gate) in 452 ★

Full documentation available on GitHub

View Source Repository