with one click
zod-infer-type-best-practice
Must follow when 项目中存在 Zod schema 定义时,禁止另建 type.ts 文件重复声明类型;所有类型须直接用 z.infer 从 schema 派生,杜绝类型与 schema 不同步。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.