Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars3
LicenseLICENSE
Default branchmain
Open issues0
Status
Active
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md5,276 B
docsSUMMARY.md293 B
History
First seen on skills.sh
First recorded snapshot · 117 installs
SKILL.md
Zod Best Practices
Comprehensive schema validation guide for Zod 4 in TypeScript applications. Contains 43 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
Writing new Zod schemas
Choosing between parse() and safeParse()
Implementing type inference with z.infer
Handling validation errors for user feedback
Composing complex object schemas
Using refinements and transforms
Optimizing bundle size and validation performance
Reviewing Zod code for best practices
Rule Categories by Priority
Priority
Category
Impact
Prefix
1
Schema Definition
CRITICAL
schema-
2
Parsing & Validation
CRITICAL
parse-
3
Type Inference
HIGH
type-
4
Error Handling
HIGH
error-
5
Object Schemas
MEDIUM-HIGH
object-
6
Schema Composition
MEDIUM
compose-
7
Refinements & Transforms
MEDIUM
refine-
8
Performance & Bundle
LOW-MEDIUM
perf-
Quick Reference
1. Schema Definition (CRITICAL)
schema-use-primitives-correctly - Use correct primitive schemas for each type
schema-use-unknown-not-any - Use z.unknown() instead of z.any() for type safety