Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By boneskullv1.1.1BlueOak-1.0.0In 1 marketplace
Comprehensive guidance for using Zod v4 with breaking changes from v3. Provides migration patterns, API reference, and common validation patterns.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Expert guidance for using Zod v4, TypeScript's leading validation library. This plugin provides comprehensive documentation on breaking changes from v3, migration patterns, core API usage, and real-world validation patterns.
This plugin provides:
Add the development marketplace:
/plugin marketplace add /Users/boneskull/projects/boneskull/claude-plugins/plugins/zod
Install the plugin:
/plugin install zod@zod-dev
Restart Claude Code
Users can install directly from your repository:
/plugin marketplace add <your-github-username>/claude-plugins
/plugin install zod@<marketplace-name>
Or if distributing as a standalone plugin:
/plugin marketplace add <your-github-username>/zod-plugin
/plugin install zod
/zod [what-you-need]Get expert guidance on Zod v4 validation, schemas, and migrations. Optionally provide context about what you're trying to do for targeted advice.
Examples:
/zod - Get general help with Zod v4/zod validate user registration form - Get specific schema examples/zod migrate from v3 - Get migration guidance/zod debugging validation errors - Get help troubleshootingThe zod-v4 skill automatically activates when you:
You can ask for help in natural language:
Can you help me create a Zod schema for user registration?
I need to migrate this Zod v3 code to v4
How do I validate API responses with Zod v4?
The skill has access to three comprehensive reference documents:
Migration from v3 (references/migration-from-v3.md)
Core API (references/core-api.md)
Common Patterns (references/common-patterns.md)
The most important breaking changes to be aware of:
// ❌ Zod 3
z.string().min(5, { message: 'Too short' });
// ✅ Zod 4
z.string().min(5, { error: 'Too short' });
// ❌ Zod 3
z.string().email();
// ✅ Zod 4
z.email();
// ✅ Zod 4
const myFunc = z
.function({
input: [z.string()],
output: z.number(),
})
.implement((str) => str.length);
// ❌ Zod 3
z.object({ a: z.string() }).strict();
// ✅ Zod 4
z.strictObject({ a: z.string() });
See the migration guide for complete details.
import { z } from 'zod/v4';
const userSchema = z.object({
name: z.string().min(1),
email: z.email(),
age: z.number().int().positive(),
});
const result = userSchema.safeParse(data);
if (result.success) {
console.log(result.data); // Typed and validated
} else {
console.error(result.error.issues);
}
type User = z.infer<typeof userSchema>;
// { name: string; email: string; age: number }
const passwordSchema = z
.string()
.min(8, { error: 'At least 8 characters required' })
.regex(/[A-Z]/, { error: 'Must contain uppercase' })
.regex(/[0-9]/, { error: 'Must contain number' });
You can customize the skill's behavior by editing skills/zod-v4/SKILL.md. The file includes a section for adding:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub boneskull/claude-plugins --plugin zodPlugins from other owners that cover similar ground