Skip to main content
Run any Skill in Manus
with one click

zod-infer-type-best-practice

Stars7
Forks0
UpdatedMay 12, 2026 at 18:09

Must follow when 项目中存在 Zod schema 定义时,禁止另建 type.ts 文件重复声明类型;所有类型须直接用 z.infer 从 schema 派生,杜绝类型与 schema 不同步。

Installation

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.

File Explorer
4 files
SKILL.md
readonly