Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật33k · #8469

propagate-design-change

Skill này làm gì

Skill này tìm các quyết định kỹ thuật mà một tài liệu thiết kế đã thay đổi làm cho lỗi thời, và giúp bạn giải quyết từng quyết định. Skill dành cho nhóm cập nhật thiết kế game và cần kế hoạch code khớp theo.

Khi nào nên dùng

  • ✓Khi nhà thiết kế thay đổi một con số hoặc quy tắc trong tài liệu thiết kế và cần biết điều gì bị ảnh hưởng.
  • ✓Khi một quyết định kiến trúc có thể không còn đúng sau khi thiết kế được cập nhật.
  • ✓Khi nhóm muốn có danh sách quyết định lỗi thời để giải quyết từng cái một.

Liên kết skill

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/propagate-design-change/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/propagate-design-change/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi đã thay đổi quy tắc độ cao nhảy trong thiết kế chiến đấu. Những quyết định kiến trúc nào giờ đã lỗi thời?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill tìm các quyết định kiến trúc có nhắc đến thiết kế đã thay đổi, rồi so sánh điều chúng giả định với thiết kế mới. Sau đó skill đi qua từng quyết định cùng bạn, và độ sâu của kiểm tra phụ thuộc vào mức quy trình làm việc đặt cho hệ thống.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

!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
Câu hỏi thường gặp

Bản ghi quyết định kiến trúc là gì?

Đó là một ghi chú ngắn ghi lại một lựa chọn kỹ thuật và lý do đứng sau nó.

Skill có kiểm tra mọi quyết định mỗi lần không?

Tùy mức quy trình làm việc. Mức đầy đủ nhất kiểm tra mọi quyết định, còn mức nhẹ hơn chỉ kiểm tra những quyết định quan trọng.

Skill có tự thay đổi quyết định không?

Skill hướng dẫn bạn qua từng quyết định, nên việc cập nhật hay giữ nguyên thuộc về bạn.

Chi tiết

Mô tả gốc của tác giả

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.

repo: Donchitos/Claude-Code-Game-Studios

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8469
Giấy phép
MIT
Cập nhật
18/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự