consistency-check
Fungsinya
Skill ini menemukan konflik antardokumen desain. Cocok untuk desainer yang menginginkan satu rangkaian nama dan angka yang konsisten di seluruh game.
Kapan dipakai
- βSaat Anda baru saja menulis dokumen desain baru dan ingin memeriksanya terhadap dokumen lain.
- βSaat dua dokumen mungkin menggambarkan item atau statistik yang sama secara berbeda.
- βSaat Anda ingin menangkap konflik sebelum pekerjaan arsitektur dimulai.
Link skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/consistency-check/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPeriksa semua dokumen desain kami terhadap registri entitas dan tampilkan statistik apa pun yang bertentangan.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill membaca registri bersama sekali, lalu hanya mencari bagian dokumen desain yang menyebut nama yang terdaftar. Skill melaporkan konflik dan bisa menyarankan koreksi untuk registri.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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 reportentity:<name>β check one specific entity across all GDDsitem:<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-systemto 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
Pertanyaan umum
Apakah skill ini membaca setiap dokumen secara penuh?
Tidak. Skill memakai pendekatan pencarian dulu dan hanya membaca bagian lengkap saat ada konflik yang perlu diperiksa.
Bisakah hanya satu item yang diperiksa?
Bisa. Anda dapat memeriksa satu entitas dengan menyebutkan namanya.
Kapan sebaiknya dijalankan?
Setelah setiap dokumen desain baru, dan sebelum tinjauan menyeluruh atau pekerjaan arsitektur.
Detail
Deskripsi asli dari pembuat
Scan GDDs against the entity registry for cross-document conflicts. Grep-first approach targets conflicting sections, different stats.
Popularitas
- Bintang GitHub
- 33k
- Peringkat
- #8446
- Lisensi
- MIT
- Diperbarui
- 18/10/2026
Komentar
- β¦
Skill lain dari repositori ini
adopt
33kMemeriksa apakah dokumen proyek game yang sudah ada mengikuti format template studio, lalu menulis rencana migrasi bernomor untuk memperbaiki celah yang ditemukan.
architecture-decision
33kMenulis catatan keputusan arsitektur untuk pilihan teknis, mencakup konteks, alternatif, dan konsekuensi, dengan tinjauan dari peran teknis yang tepat.
architecture-review
33kMemeriksa bahwa keputusan teknis Anda mencakup setiap kebutuhan desain, tidak saling bertentangan, dan sesuai versi mesin, dengan vonis lulus atau kekhawatiran yang jelas.
art-bible
33kMenulis art bible yang mendefinisikan identitas visual game Anda, sehingga produksi aset mengikuti satu rangkaian aturan gaya yang jelas.
Skill serupa
technical-documentation
394kMembantu agent Anda menulis dan meninjau dokumentasi teknis serta file instruksi agent yang jelas, agar orang dan alat AI dapat mengikutinya dengan mudah.
architecture-decision-records
280kMembuat agent Anda mencatat keputusan penting terkait struktur proyek. Membantu memahami alasan di balik pilihan dan menjaga riwayat perubahan yang jelas.
code-tour
280kMembuat agent Anda menyusun panduan kode langkah demi langkah dengan referensi file dan nomor baris yang tepat. Berguna untuk pengenalan, penjelasan, dan review.