Skip to main content
在 Manus 中运行任何 Skill
一键导入

generator-script-discipline

星标6
分支3
更新时间2026年7月11日 18:11

Use when a change adds a shell script that produces a generated artifact and commits it to the repo: a JSON schema, a Grafana dashboard, a verifier-generated file, a manifest, a fixture catalogue, a typed-API definition, or any other file whose committed form is a function of source-of-truth data plus a deterministic transformation. Activate for new scripts under `scripts/` that emit files under `docs/`, `go/internal/*/data/`, `deploy/`, or any checked-in artifact directory. Captures the three-file pattern (slim `generate-*.sh` + `lib/` chunks + `test-generate-*.sh` mirror), idempotency as a first-class test case, and the 500-line cap pre-planned rather than retrofitted.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly