forge-town/skills

forge_check-zod-infer-type

Use when 需要检查项目中是否存在违规的 types.ts/type.ts 文件,或检查是否有手写类型与 Zod schema 重复定义,确保所有类型都从 Zod schema 派生。触发词:检查类型文件、检查types目录、zod类型检查、type.ts检查。

Installation

$ npx skills add forge-town/skills --skill forge_check-zod-infer-type

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from forge-town/skills · top by installs.

npx skills add forge-town/skills

Browse all from forge-town/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 7
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 834 B
  • docs SUMMARY.md 304 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

检查 Zod 派生类型规范

使用说明

  1. 阅读 forgezod-infer-type-best-practice 的 [规范说明](../forgezod-infer-type-best-practice/references/standard.md) 了解核心原则
  2. 扫描目标目录,查找所有违规文件和目录
  3. 对照 [检查清单](references/checklist.md) 逐项确认
  4. 生成违规报告,提供修复建议

核心规则: 禁止任何 type.ts/types.ts 文件和 types/ 目录,所有类型必须从 Zod schema 派生