본문으로 건너뛰기
Skillpedia
문서화33k · #8446

consistency-check

하는 일

이 스킬은 설계 문서 사이의 충돌을 찾습니다. 게임 전체에 걸쳐 일관된 이름과 숫자를 원하는 디자이너를 위한 스킬입니다.

사용하는 경우

  • ✓새 설계 문서를 막 썼고 나머지 문서와 맞는지 확인하고 싶을 때.
  • ✓두 문서가 같은 항목이나 스탯을 다르게 설명하는 것 같을 때.
  • ✓아키텍처 작업이 시작되기 전에 충돌을 찾고 싶을 때.

스킬 링크

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/consistency-check/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/consistency-check/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“모든 설계 문서를 엔티티 레지스트리와 비교해서, 서로 충돌하는 스탯이 있으면 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

공유 레지스트리를 한 번 읽은 뒤, 등록된 이름을 언급하는 문서 섹션만 검색합니다. 충돌을 보고하고 레지스트리 수정안을 제안할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow,system_overrides

Consistency Check

Detects cross-document inconsistencies by comparing all GDDs against the entity registry (design/registry/entities.yaml). Uses a grep-first approach: reads the registry once, then targets only the GDD sections that mention registered names — no full document reads unless a conflict needs investigation.

This skill is the write-time safety net. It catches what /design-system's per-section checks may have missed and what /review-all-gdds's holistic review catches too late.

When to run:

  • After writing each new GDD (before moving to the next system)
  • Before /review-all-gdds (so that skill starts with a clean baseline)
  • Before /create-architecture (inconsistencies poison downstream ADRs)
  • On demand: /consistency-check entity:[name] to check one entity specifically

Output: Conflict report + optional registry corrections


Every AskUserQuestion call follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and proceeds; automation_always_ask categories always prompt).

workflow (see .claude/docs/workflow-modes.md), applied per GDD at its effective tier — the system_overrides row for that GDD's system (its filename stem) when the block lists one, else the project value:

  • full — full entity-registry cross-check against all GDD sections.
  • standard — cross-check against the required sections only. The report's Scope line says so, and each value stated for a registered name outside those sections is listed as not checked at this tier (Phase 3 applies this).
  • minimal — not meaningful (no GDDs to check).

Phase 1: Parse Arguments and Load Registry

Modes:

  • No argument / full — check all registered entries against all GDDs
  • since-last-review — check only GDDs modified since the last review report
  • entity:<name> — check one specific entity across all GDDs
  • item:<name> — check one specific item across all GDDs

Load the registry:

Read path="design/registry/entities.yaml"

If the file does not exist or has no entries:

"Entity registry is empty. Run /design-system to write GDDs — the registry is populated automatically after each GDD is completed. Nothing to check yet."

Verdict: NOT ASSESSED — entity registry empty. Stop: nothing was compared, so there is no PASS to give and nothing to write.

Build four lookup tables from the registry:

  • entity_map: { name → { source, attributes, referenced_by } }
  • item_map: { name → { source, value_gold, weight, ... } }
  • formula_map: { name → { source, variables, output_range } }
  • constant_map: { name → { source, value, unit } }

Count total registered entries. Report:

Registry loaded: [N] entities, [N] items, [N] formulas, [N] constants
Scope: [full | since-last-review | entity:name]

For entity:<name> or item:<name>, if the registry has no entry by that name the verdict is NOT ASSESSED — <name> is not in the registry: list the closest registered names and stop. Checking an unregistered name compares nothing, and that is not a PASS.


Phase 2: Locate In-Scope GDDs

Glob pattern="design/gdd/*.md"

Exclude the docs that live in design/gdd/ but are not system GDDs: game-concept.md, systems-index.md, game-pillars.md, gameplay-tags.md, entity-registry.md, fixture-swap-ledger.md, sound-bible.md and any gdd-cross-review-*.md (the report /review-all-gdds writes here).

For since-last-review mode:

git log --name-only --pretty=format: -- design/gdd/ | grep "\.md$" | sort -u

Limit to GDDs modified since the most recent design/gdd/gdd-cross-review-*.md file's creation date.

Report the in-scope GDD list before scanning. If the list is empty — no system GDDs exist, or since-last-review found none changed — the verdict is NOT ASSESSED — no GDDs in scope: say which filter produced zero, and stop. A scan of nothing finds no conflicts, and that is not a PASS.


Phase 3: Grep-First Conflict Scan

For each registered entry, grep every in-scope GDD for the entry's name. Do NOT do full reads — extract only the matching lines and their immediate context (-C 3 lines).

This is the core optimization: instead of reading 10 GDDs × 400 lines each (4,000 lines), you grep 50 entity names × 10 GDDs (50 targeted searches, each

자주 묻는 질문

모든 문서를 처음부터 끝까지 읽나요?

아닙니다. 검색을 먼저 하고, 충돌을 확인해야 할 때만 전체 섹션을 읽습니다.

항목 하나만 확인할 수 있나요?

네. 이름으로 엔티티 하나를 지정해 확인할 수 있습니다.

언제 실행하면 좋나요?

새 설계 문서를 쓸 때마다, 그리고 전체 검토나 아키텍처 작업 전에 실행하세요.

상세 정보

작성자의 원본 설명

Scan GDDs against the entity registry for cross-document conflicts. Grep-first approach targets conflicting sections, different stats.

repo: Donchitos/Claude-Code-Game-Studios

인기도

GitHub 스타
33k
순위
#8446
라이선스
MIT
업데이트
2026. 10. 18.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬