zod 是做什么的?
Zod 模式验证最佳实践,用于类型安全、解析和错误处理。此技能应在定义 z.object 模式、使用 z.string 验证、safeParse 或 z.infer 时使用。此技能不涵盖 React Hook Form 集成模式(请使用 react-hook-form 技能)或 OpenAPI 客户端生成(请使用 orval 技能)。
Zod 模式验证最佳实践,用于类型安全、解析和错误处理。此技能应在定义 z.object 模式、使用 z.string 验证、safeParse 或 z.infer 时使用。此技能不涵盖 React Hook Form 集成模式(请使用 react-hook-form 技能)或 OpenAPI 客户端生成(请使用 orval 技能)。
此技能专注于 Zod 模式验证的最佳实践,涉及类型安全、数据解析和错误处理。当开发者需要定义 z.object 模式、使用 z.string 验证、safeParse 方法或 z.infer 类型推断时,可以调用此技能。它旨在提供清晰、可维护且类型安全的验证逻辑,帮助开发者避免常见错误并提高代码健壮性。该技能支持所有基于 TypeScript 的项目,并与 AI 代理(如 Claude Code 或 Cursor)集成,提供实时建议和代码片段。不过,它不涵盖 React Hook Form 的集成模式(应使用 react-hook-form 技能)或 OpenAPI 客户端生成(应使用 orval 技能)。通过遵循这些规则,开发者可以更高效地构建安全的输入验证层。
npx skills add https://github.com/pproenca/dot-skills/tree/main/skills/zodInstalled? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →
Zod 模式验证最佳实践,用于类型安全、解析和错误处理。此技能应在定义 z.object 模式、使用 z.string 验证、safeParse 或 z.infer 时使用。此技能不涵盖 React Hook Form 集成模式(请使用 react-hook-form 技能)或 OpenAPI 客户端生成(请使用 orval 技能)。
This repo contains 7 individual skills — each has its own dedicated page.
Clean Architecture principles and best practices from Robert C. Martin's book. This skill should be used when designing software systems, reviewing code structure, or refactoring applications to achieve better separation of concerns. Triggers on tasks involving layers, boundaries, dependency direction, entities, use cases, or system architecture.
Code simplification skill for improving clarity, consistency, and maintainability while preserving exact behavior. Use when simplifying code, reducing complexity, cleaning up recent changes, applying refactoring patterns, or improving readability. Triggers on tasks involving code cleanup, simplification, refactoring, or readability improvements.
Emil Kowalski's animation best practices for web interfaces. Use when writing, reviewing, or implementing animations in React, CSS, or Framer Motion. Triggers on tasks involving transitions, easing, gestures, toasts, drawers, or motion.
nuqs (type-safe URL query state) best practices for Next.js and other React frameworks. This skill should be used when writing, reviewing, or refactoring code that uses nuqs for URL state management. Triggers on tasks involving useQueryState, useQueryStates, search params, URL state, query parameters, nuqs parsers, limitUrlUpdates, Standard Schema, NuqsAdapter, or Next.js routing with state.
React Hook Form performance optimization for client-side form validation using useForm, useWatch, useController, useFieldArray, and the v7.55+ subscribe() API. This skill should be used when building client-side controlled forms with React Hook Form library. This skill does NOT cover React 19 Server Actions, useActionState, or server-side form handling (use react-19 skill for those).
TypeScript performance, tsconfig, type errors, async patterns — triggered when the user asks to "optimize TypeScript performance", "speed up tsc compilation", "configure tsconfig.json", "fix type errors", "improve async patterns", or encounters TS errors (TS2322, TS2339, "is not assignable to"). Also triggers on .ts, .tsx, .d.ts file work involving type definitions, module organization, or memory management. Does NOT cover TypeScript basics, framework-specific patterns, or testing.
Vitest testing framework patterns for test setup, async testing, mocking with vi.*, snapshots, and test performance (formerly test-vitest). This skill should be used when writing or debugging Vitest tests. This skill does NOT cover TDD methodology (use test-tdd skill), API mocking with MSW (use test-msw skill), or Jest-specific APIs.
Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.
Control Eight Sleep pods (status, temperature, alarms, schedules).
BluOS CLI (blu) for discovery, playback, grouping, and volume.
Create, search, and manage Bear notes via grizzly CLI.
Capture frames or clips from RTSP/ONVIF cameras.
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.