propagate-design-change
它能做什么
这个技能找出因设计文档改动而变得过时的技术决策,并帮你逐一解决。适合更新游戏设计、需要让代码计划与之匹配的团队。
适用场景
- ✓当游戏设计师修改了设计文档中的某个数值或规则,需要知道哪些内容受影响的时候。
- ✓当某项架构决策在设计更新后可能不再成立的时候。
- ✓当团队希望有一份过时决策清单,并逐一解决的时候。
技能链接
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/propagate-design-change/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我修改了战斗设计中的跳跃高度规则。现在哪些架构决策已经过时了?”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能会找出引用了改动设计的架构决策,并比较它们所依据的假设与新的设计。然后它会和你一起逐一处理,检查的深度取决于为该系统设定的工作流程级别。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,review_gate,automation,automation_always_ask,workflow,system_overrides
Resolved above — use as-is; --review overrides review_mode for this run. No
block → defaults in .claude/docs/config-resolution.md.
Ask with the question tool. Without one, list the options numbered and end your turn to wait. A skipped or dismissed question is not an answer: ask again in plain text.
Propagate Design Change
When a GDD changes, the architecture decisions written against it may no longer hold. This skill finds every ADR the change touches, compares what the ADR assumed with what the GDD says now, and walks the user through each one.
Example: /propagate-design-change design/gdd/combat-system.md
Asks follow .claude/docs/automation-modes.md (collaborative always asks, guided
asks on major choices, autonomous logs and goes on; automation_always_ask
categories always ask: an ADR impact here is schema_changes and
architecture_decisions).
Tier. workflow for the changed GDD's system: its system_overrides row if
there is one, else the project value. A system pinned minimal has no ADRs even on
a standard project. full checks every ADR; standard checks the critical
(Foundation-layer) ADRs and any ADR that names the changed GDD; minimal has
nothing to check (Phase 4).
Phase 1: The GDD path
The text typed after the skill name, with any --review <mode> pair removed, is the
changed GDD. It is required. Missing: "Usage: /propagate-design-change design/gdd/[system].md — give the path to the GDD that changed." Not a file:
"[path] not found. Check the path and try again."
Phase 2: What changed
Ask git, never compare two whole documents by eye:
git diff HEAD -- design/gdd/[filename].md
Empty: the change may be committed already, so widen to the last commit that
touched it: git diff HEAD~1 HEAD -- design/gdd/[filename].md.
- No history at all (
git log --oneline -1 -- design/gdd/[filename].mdprints nothing): "No previous version in git — this is a new GDD, not a revision. Nothing to propagate." Stop. - History, but both diffs empty: report "no uncommitted or last-commit changes to
[file]" and ask which revision to propagate. An empty diff means nothing changed here, not that nothing is affected.
From the hunks: the @@ headers name the section each change sits in, so the
changed-section list comes from the diff itself. A section with no hunk is unchanged
by construction. Read the surrounding section only when a hunk cannot be understood
alone (a changed number whose meaning depends on the rule above it), and then only
that section: bash .claude/scripts/md-section.sh extract design/gdd/[file].md "[Section]".
Phase 3: The change summary
## Change Summary: [GDD filename]
Date of revision: [today]
Changed sections:
- [Section]: [what changed — new rule, removed rule, formula modified, …]
Unchanged sections:
- [Section]
Key changes affecting architecture:
- [change likely to affect ADRs]
Other GDDs that use these facts. When design/registry/entities.yaml does not
exist or has no entries (it ships as an empty stub until /design-system fills it),
skip this; the ADR check below still runs. Otherwise it records which GDDs depend on
this system's facts: search it for source: design/gdd/[filename]. For each entity, constant or formula this GDD owns
whose value the diff changed, its referenced_by: list names the GDDs that may now
disagree. List them under "Downstream GDDs to re-check".
Phase 4: The ADRs in scope
bash .claude/scripts/adr-status.sh lists every ADR with its status, layer and
missing sections.
full: every ADR.standard: the critical ones (thelayercolumn reads Foundation, or holds no layer: when in doubt, critical) and any ADR that names the changed GDD.minimal: report "No ADR check at minimal workflow — design change recorded; no architecture impact analysis." Stop.
Establish the denominator first: their count is N. N is 0: "No ADRs found in docs/architecture/ — nothing to
check." Stop.
Which ones reference this GDD. Without reading whole ADRs:
- each ADR's GDD Requirements Addressed section
(
bash .claude/scripts/md-section.sh extract <adr> "GDD Requirements Addressed"), for rows naming the changed GDD; - a search of the ADRs for the changed GDD's file name, which catches an ADR
常见问题
什么是架构决策记录?
它是一份简短的书面记录,记下一项技术选择以及背后的理由。
它每次都会检查所有决策吗?
这取决于工作流程级别。最完整的级别会检查每项决策,较轻的级别只检查关键的决策。
它会替我修改决策吗?
它会逐一引导你,因此是否更新或保留某项决策的选择仍然由你决定。
详情
作者的原始描述
Finds architecture decisions (ADRs) made stale by a changed GDD and walks through resolving each. Use when the user changed a number or rule in a GDD and asks which ADRs or architecture decisions are now out of date.
热度
- GitHub 星标
- 33k
- 排名
- #8469
- 许可证
- MIT
- 更新时间
- 2026/10/18
评论
- …