跳到正文
cccskills
免费在 GitHub 公开

propagate-design-change

Trace changes in a game design document to related architecture decision records, which explain technical choices. Compare their assumptions with the revised design, report which decisions need review, and guide updates to decisions and requirement links.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Checking architecture impact after changing game design
  • Finding technical decisions based on outdated requirements
  • Choosing whether to keep, revise, or replace a decision
  • Recording changed requirements and their linked decisions

包含的文件(1)

  • SKILL.md11.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

!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].md prints 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 (the layer column 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:

  1. each ADR's GDD Requirements Addressed section (bash .claude/scripts/md-section.sh extract <adr> "GDD Requirements Addressed"), for rows naming the changed GDD;
  2. a search of the ADRs for the changed GDD's file name, which catches an ADR that cites it in prose without a table row.

The union of the two is the affected set M.

ResultMeaningAction
M ≥ 1Normal.Go on. The N − M others are out of scope for this check: never describe them as verified unaffected.
M = 0, and every in-scope ADR lacks GDD Requirements Addressed (missing column)Traceability cannot be computed."[N] ADRs found, none has a 'GDD Requirements Addressed' section — traceability cannot be computed (a pre-production gate blocker). Run /architecture-decision retrofit [adr]." Stop.
M = 0, the sections existNo ADR references this GDD."No ADR references [gdd] — no architecture impact." Stop.

Read docs/architecture/requirements-traceability.md when it exists.

Report: "Checked [N] ADRs. [M] reference [gdd filename] ([X] in a requirements table, [Y] in prose only)."

Phase 5: Impact analysis

For each ADR in M, read its Context, Decision and Consequences sections with md-section.sh extract: whether a decision still holds needs its reasoning, never only its table row. Then, for each requirement it lists from the changed GDD:

  1. Does the requirement still exist in the current GDD?
  2. What did the GDD say when the ADR was written, and what does it say now?
  3. Does the decision still hold?

Classify each ADR:

StatusMeaning
✅ Still ValidThe change does not touch what this ADR decided
⚠️ Needs ReviewThe change may affect it; human judgement needed
🔴 Likely SupersededThe change contradicts what this ADR assumed
### ADR-NNNN: [title]
Status: [Still Valid | Needs Review | Likely Superseded]

What the ADR assumed about this GDD:
  "[quote from its GDD Requirements Addressed or Context]"

What the GDD now says:
  "[quote from the current GDD]"

Assessment:
  [whether the decision still holds, and why]

Recommended action:
  [Keep as-is | Review and update | Mark Superseded and write a new ADR]

Phase 6: The impact report, then the review

Show the whole report before asking for any action:

## Design Change Impact Report
GDD: [filename]
Date: [today]
Changes detected: [N sections changed]
ADRs referencing this GDD: [M]

### Not Affected
[ADRs whose decisions still hold]

### Needs Review ([count])
[ADRs that may need updating]

### Likely Superseded ([count])
[ADRs whose assumptions the change contradicts]

The technical review. Read the review_gate line above. skill-gates=skip (solo or lean): no agent; note TD-CHANGE-IMPACT skipped — [Solo | Lean] mode. skill-gates=run: hand the review to the technical-director agent with gate TD-CHANGE-IMPACT (.claude/docs/director-gates/td-change-impact.md; the agent reads it itself). Brief:

  • Objective: check the impact report before the user acts on it.
  • Give it: the whole report above: the change summary, every affected ADR with its classification and recommended action.
  • Check: no ADR is under-classified; the recommended actions are sound; no knock-on effect on other ADRs or systems was missed.
  • Return: APPROVE, CONCERNS, REJECT, or NOT ASSESSED naming a missing input.
  • Boundaries: it edits no file.

Act on the verdict:

  • APPROVE: go to Phase 7.
  • CONCERNS: show the flagged ADRs or actions, and ask: "How do you want to go on?" Options: Revise the impact assessment / Accept with the noted concerns / Discuss further.
  • REJECT: do not go to Phase 7; analyse the impact again first.
  • NOT ASSESSED: it is not an approval (.claude/docs/director-gates.md). Name what was missing, then supply it and run the review again; or, when the user chooses to go on without it, go to Phase 7 and state TD-CHANGE-IMPACT: NOT ASSESSED — [input] in the report and the final verdict line.

Phase 7: Resolve each ADR

For each ADR marked Needs Review or Likely Superseded, one at a time, ask: "ADR-NNNN ([title]) — [status]. What would you like to do?" Options:

  • Mark it Superseded (I'll write the new ADR)
  • Update it in place (a small revision): note what to revise; the user edits it
  • Keep it as it is (the change does not affect this decision)
  • Skip it for now (revisit later)

Mark Superseded. Ask "May I set the Status of [ADR file] to Superseded?" On yes, replace only the body of its ## Status section:

bash .claude/scripts/md-section.sh replace docs/architecture/[adr-file].md "Status" <<'EOF'
Superseded — replacement pending (see docs/architecture/change-impact-[date]-[system-slug].md)
EOF

This is the one form this skill writes. adr-status.sh reads it as Superseded, so /dev-story and /create-stories block the stories that still point at it. The new ADR, once written, records which one it replaces. Change nothing else in the ADR: its content stays.

Phase 8: The traceability index

When docs/architecture/requirements-traceability.md exists, ask "May I add the changed requirements to the traceability index?" On yes, add a row per changed requirement:

## Superseded Requirements
| Date | GDD | Requirement | Changed To | ADRs Affected | Resolution |
|------|-----|-------------|------------|---------------|------------|
| [date] | [gdd] | [old requirement text] | [new requirement text] | ADR-NNNN | [Superseded/Updated/Valid] |

Phase 9: The change impact document

Ask "May I write the change impact report to docs/architecture/change-impact-[date]-[system-slug].md?" It holds the change summary, the impact analysis, the resolution chosen for each ADR, and the ADRs that need writing or updating.

Phase 10: Follow-up

From the resolutions:

  • ADRs marked Superseded: "Run /architecture-decision [title] to write the replacement, then /propagate-design-change again to check coverage."
  • ADRs to update in place: the fields to change in each.
  • Many ADRs affected: "Run /architecture-review once they are updated, to check the traceability matrix still holds together."

End with Verdict: COMPLETE — change impact report saved after the Phase 9 write, or Verdict: BLOCKED — user declined the write when declined.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

adopt

免费

Audit an existing project's design documents and supporting files to check whether their formats work with the template's skills. Get a numbered migration plan that prioritizes gaps and required changes, rather than simply listing what exists.

中文简介正在准备中。当前显示英语简介。

  • Checking existing documents before adopting a project template
  • Auditing game design documents or architecture decision records
  • Prioritizing gaps in project tracking and configuration files
Donchitos/Claude-Code-Game-Studios2.7万2026年10月19日 更新

Document a technical decision in an architecture decision record, or ADR. Capture its context, alternatives, and consequences, assign a record number, and distinguish a proposed decision from an accepted one so dependent work reflects its actual status.

中文简介正在准备中。当前显示英语简介。

  • Recording the reasons behind a technical choice
  • Documenting alternatives and consequences of a design decision
  • Creating numbered records alongside existing architecture decisions
Donchitos/Claude-Code-Game-Studios2.7万2026年10月19日 更新

Review whether game design requirements are covered by documented architecture decisions. Identify missing coverage, conflicting decisions, and engine compatibility concerns, with an optional matrix linking requirements to development stories and tests.

中文简介正在准备中。当前显示英语简介。

  • Find game requirements without architecture decisions
  • Check for conflicts between architecture decisions
  • Review compatibility with the pinned engine version
Donchitos/Claude-Code-Game-Studios2.7万2026年10月19日 更新

art-bible

免费

Create a game's art direction document, defining its visual rules, mood, shapes, colors, and production standards. Review and approve sections individually, with guidance that connects character, environment, and interface design to the game's concept and technical constraints.

中文简介正在准备中。当前显示英语简介。

  • Defining a game's core visual identity before asset production
  • Documenting character, environment, and interface design rules
  • Aligning asset standards with engine and performance limits
Donchitos/Claude-Code-Game-Studios2.7万2026年10月19日 更新

Audit game asset files for naming rules, size limits, formats, and broken references. Receive a report of measured violations and suggested fixes, with clear explanations of checks that lack data or cannot be assessed for the engine.

中文简介正在准备中。当前显示英语简介。

  • Checking image and audio naming conventions
  • Finding files that exceed asset size limits
  • Investigating missing references and potentially unused assets
Donchitos/Claude-Code-Game-Studios2.7万2026年10月19日 更新

Turn game design documents and character profiles into asset specifications and image generation prompts. Define appearance, dimensions, file formats, and naming rules, then maintain an asset list that tracks progress and identifies shared assets.

中文简介正在准备中。当前显示英语简介。

  • List the visual assets needed for a game
  • Define consistent character and environment asset specifications
  • Prepare image generation prompts from an art direction guide
Donchitos/Claude-Code-Game-Studios2.7万2026年10月19日 更新

查看 Donchitos 的全部技能

报告此技能的问题