Skip to main content

adr-policy

星标12
分支9
更新时间2026年7月17日 10:32

Review-time policy check for pull requests that touch `docs/adrs/`. Surfaces the deterministic ADR immutability gate (`scripts/adr-immutable.mjs`) and adds the judgment checks a script cannot own: re-litigation of settled decisions, `supersedes` pointer correctness, and summary honesty. Scope is ADR log integrity and decision judgment only — the ADR files, their frontmatter, and git history. Docs-match-the-code is doc-drift's job, not this skill's. Triggers on phrases like "adr policy", "check this ADR", "review the ADR change", "is this ADR re-litigating", "is supersedes correct". Also invocable via the `/adr-policy` slash command.

安装

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

SKILL.md
readonly