Langsung ke konten
Skillpedia
Pemrograman umum33k ยท #8449

create-control-manifest

Fungsinya

Skill ini mengubah keputusan arsitektur menjadi lembar aturan sederhana untuk programmer. Cocok untuk pengembang yang membutuhkan aturan pengodean yang singkat dan jelas.

Kapan dipakai

  • โœ“Saat keputusan arsitektur sudah diterima dan programmer membutuhkan lembar aturan yang cepat.
  • โœ“Saat sebuah keputusan arsitektur berubah dan lembar aturan perlu diperbarui.
  • โœ“Saat Anda menginginkan contekan tentang apa yang harus dilakukan dan apa yang tidak boleh dilakukan.

Link skill

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/create-control-manifest/SKILL.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/create-control-manifest/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œUbah keputusan arsitektur kami yang sudah diterima menjadi lembar aturan yang bisa diikuti programmer.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill memuat catatan keputusan yang diterima, preferensi teknis proyek, dan dokumen referensi engine. Setelah Anda menyetujuinya, skill menulis daftar datar aturan wajib dan larangan, dikelompokkan per lapisan arsitektur.

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 review_mode,review_gate,automation

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.

Create Control Manifest

The control manifest is a flat rules sheet for programmers: what to do and what never to do, by architectural layer, taken from the Accepted ADRs, the project's technical preferences and the engine reference docs. The ADRs say why; the manifest says what.

Writes: docs/architecture/control-manifest.md, after the user's yes. When: after /architecture-review passes and the ADRs are Accepted. Run it again whenever an ADR is accepted or revised.

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).

Phase 1: Load the inputs

ADRs

bash .claude/scripts/adr-status.sh reads every docs/architecture/adr-*.md in one pass: the counts first (adrs, then accepted, proposed, deprecated, superseded, unfilled, other, no_status), then one row per ADR with its status and layer. Establish the denominator first: decide from the counts, before reading any ADR:

Counts Meaning Action
adrs 0 No ADRs. "No ADRs found โ€” run /architecture-decision before building a control manifest." Stop.
accepted โ‰ฅ 1 Normal. The Accepted rows are the set A. Name every other ADR, with its status, in the Phase 4 preview: the user approves a manifest knowing what it leaves out.
accepted 0, some with a status No Accepted ADRs. "[N] ADRs found, none Accepted. A manifest built from Proposed ADRs would encode decisions that may still change." Ask whether to go on with the Proposed ones or stop. Never write an empty manifest silently.
every ADR no_status Malformed ADRs, not an empty Accepted set. "[N] ADRs found, none has a ## Status section, so acceptance cannot be told. Run /architecture-decision retrofit [file] on each." Stop. Never treat them as Accepted.

Each stop above ends with Verdict: BLOCKED โ€” [the reason]. Note the number and title of every ADR a rule comes from.

Project config

  • naming.* and performance.* from project.yaml; for any key absent or empty, .claude/docs/technical-preferences.md.
  • Approved libraries and forbidden patterns from .claude/docs/technical-preferences.md (not migrated to project.yaml).

Engine reference

  • docs/engine-reference/[engine]/VERSION.md for the engine and version.
  • docs/engine-reference/[engine]/deprecated-apis.md: these become forbidden APIs.
  • docs/engine-reference/[engine]/current-best-practices.md, when it exists.

What exists already

docs/architecture/control-manifest.md present: this run regenerates it; read it before the Phase 5 write, which replaces it. production/epics/*/EPIC.md present: epics exist. Phase 6 picks its next step from both.

Report: "Loaded [A] Accepted ADRs of [N], engine: [name + version]."

Phase 2: Extract the rules from each ADR

For each ADR in A, read only four sections, never the whole file:

bash .claude/scripts/md-section.sh extract docs/architecture/[adr-file].md "Decision"

and the same for Alternatives Considered, Performance Implications and Engine Compatibility. Context, Consequences, Migration Plan and Validation Criteria say why a decision was made; the manifest records what to do. A section an ADR lacks: note it for that ADR and go on. A section missing from every ADR in A: report "No Accepted ADR has a [section] section โ€” the manifest's [category] rules will be empty. Verify this is intended." Read beyond the four only when a section points outside itself ("subject to the constraints in Context"), and then that one section.

From each ADR:

  • Required patterns (Decision): every "must", "should", "required to", "always", and every pattern or approach it mandates, including any ### Implementation Guidelines inside it. Never look for that sub-heading alone: many ADRs state their mandates directly under Decision, and a scan for the sub-heading alone yields an empty section.
  • Forbidden approaches (Alternativ
Pertanyaan umum

Apa bedanya catatan keputusan dengan manifes ini?

Catatan keputusan menjelaskan alasannya, sedangkan manifes menyatakan apa yang harus dilakukan.

Kapan sebaiknya dibuat ulang?

Jalankan ulang setiap kali sebuah keputusan diterima atau direvisi.

Apakah file ditulis tanpa bertanya?

Tidak. File ditulis setelah Anda menyetujui, meskipun pengaturan otomatisasi dapat mengubah seberapa sering skill bertanya.

Detail

Deskripsi asli dari pembuat

Builds a short list of must-do and never-do coding rules per system from accepted ADRs. Use when the user wants programmer rules or a cheat sheet from the ADRs, or needs it regenerated after ADR changes.

repo: Donchitos/Claude-Code-Game-Studios

Popularitas

Bintang GitHub
33k
Peringkat
#8449
Lisensi
MIT
Diperbarui
18/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa