Stack Zod Boundary

Zod validation at every trust boundary on the Persimmon stack. Use when validating Server Action inputs, API route bodies, webhook payloads, search params, environment variables, or any untrusted data crossing into the app. Covers `safeParse` over `parse`, discriminated unions for polymorphic payloads, branded types for IDs, `.transform` for coercion, `@t3-oss/env-nextjs` for typed env, and anti-patterns (throwing in handlers, trusting `request.json()`, using `unknown` without narrowing).

Persimmon-Automation-Labs Updated

File contents

Persimmon-Automation-Labs/persimmon-claude-skills/tree/main/skills/stack-zod-boundary commit b1615b2ea9

Frequently asked questions

npx skillmds@latest add persimmon-automation-labs/stack-zod-boundary