Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
skill/react-hook-form-zod: Maintenance update - versions and documentation
Jez8b3498f4cc36
diff --git a/skills/react-hook-form-zod/README.md b/skills/react-hook-form-zod/README.mdindex 5f95b232..3ddee3b1 100644--- a/skills/react-hook-form-zod/README.md+++ b/skills/react-hook-form-zod/README.md@@ -1,7 +1,7 @@# React Hook Form + Zod Validation**Status**: Production Ready ✅-**Last Updated**: 2025-10-23+**Last Updated**: 2025-11-20**Production Tested**: Multiple production applications**Token Savings**: ~60%**Errors Prevented**: 12 documented issues@@ -100,7 +100,7 @@ This skill prevents **12** documented issues:| Issue | Source | Prevention ||-------|--------|------------|-| Zod v4 type inference errors | [#13109](https://github.com/react-hook-form/react-hook-form/issues/13109) | Correct type patterns for Zod v4 |+| Zod v4 type inference errors | [#13109](https://github.com/react-hook-form/react-hook-form/issues/13109) (Closed) | Correct type patterns for Zod v4; resolved in v7.66.x+ || Uncontrolled to controlled warning | React docs | Always set defaultValues || Nested object validation errors | Common issue | Proper error path handling || Array field re-renders | Performance issue | useFieldArray optimization |@@ -183,14 +183,14 @@ function LoginForm() {## Package Versions-**Latest Tested Versions** (as of 2025-10-23):-- react-hook-form: 7.65.0+**Latest Tested Versions** (as of 2025-11-20):+- react-hook-form: 7.66.1- zod: 4.1.12- @hookform/resolvers: 5.2.2**Installation**:```bash```---diff --git a/skills/react-hook-form-zod/SKILL.md b/skills/react-hook-form-zod/SKILL.mdindex 2e809893..738265b2 100644--- a/skills/react-hook-form-zod/SKILL.md+++ b/skills/react-hook-form-zod/SKILL.md@@ -13,9 +13,9 @@ license: MIT# React Hook Form + Zod Validation**Status**: Production Ready ✅-**Last Updated**: 2025-10-23+**Last Updated**: 2025-11-20**Dependencies**: None (standalone)---@@ -24,7 +24,7 @@ license: MIT### 1. Install Packages```bash```**Why These Packages**:@@ -1314,9 +1314,10 @@ This skill prevents **12** documented issues:### Issue #1: Zod v4 Type Inference Errors**Error**: Type inference doesn't work correctly with Zod v4-**Source**: [GitHub Issue #13109](https://github.com/react-hook-form/react-hook-form/issues/13109)+**Source**: [GitHub Issue #13109](https://github.com/react-hook-form/react-hook-form/issues/13109) (Closed 2025-11-01)**Why It Happens**: Zod v4 changed how types are inferred**Prevention**: Use correct type patterns: `type FormData = z.infer<typeof schema>`+**Note**: Resolved in react-hook-form v7.66.x+. Upgrade to latest version to avoid this issue.### Issue #2: Uncontrolled to Controlled Warning**Error**: "A component is changing an uncontrolled input to be controlled"@@ -1427,5 +1428,5 @@ See the `references/` directory for deep-dive documentation:---**License**: MIT-**Last Verified**: 2025-10-23+**Last Verified**: 2025-11-20**Maintainer**: Jeremy Dawes ([email protected])diff --git a/skills/react-hook-form-zod/references/top-errors.md b/skills/react-hook-form-zod/references/top-errors.mdindex 747bb301..b782c0ad 100644--- a/skills/react-hook-form-zod/references/top-errors.md+++ b/skills/react-hook-form-zod/references/top-errors.md@@ -15,7 +15,9 @@ const schema = z.object({ name: z.string() })type FormData = z.infer<typeof schema> // Type issues```-**Source**: [GitHub Issue #13109](https://github.com/react-hook-form/react-hook-form/issues/13109)+**Source**: [GitHub Issue #13109](https://github.com/react-hook-form/react-hook-form/issues/13109) (Closed 2025-11-01)++**Note**: This issue was resolved in react-hook-form v7.66.x. Upgrade to v7.66.1+ to avoid this problem.**Solution**:```typescriptdiff --git a/skills/react-hook-form-zod/templates/package.json b/skills/react-hook-form-zod/templates/package.jsonindex fd55101c..f49118a6 100644--- a/skills/react-hook-form-zod/templates/package.json+++ b/skills/react-hook-form-zod/templates/package.json@@ -6,7 +6,7 @@"dependencies": {"react": "^19.2.0","react-dom": "^19.2.0",- "react-hook-form": "^7.65.0",+ "react-hook-form": "^7.66.1","zod": "^4.1.12","@hookform/resolvers": "^5.2.2"},