create-control-manifest
Skill này làm gì
Skill này biến các quyết định kiến trúc thành một bảng quy tắc đơn giản cho lập trình viên. Skill dành cho lập trình viên cần các quy tắc code nhanh, rõ ràng để làm theo.
Khi nào nên dùng
- ✓Khi các quyết định kiến trúc đã được chấp nhận và lập trình viên cần một bảng quy tắc nhanh.
- ✓Khi một quyết định kiến trúc thay đổi và bảng quy tắc cần được làm mới.
- ✓Khi bạn muốn một bảng tra cứu nhanh về việc nên làm gì và không nên làm gì.
Liên kết skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/create-control-manifest/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy biến các quyết định kiến trúc đã chấp nhận của chúng tôi thành một bảng quy tắc mà lập trình viên có thể làm theo.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill tải các bản ghi quyết định đã chấp nhận, tùy chọn kỹ thuật của dự án và tài liệu tham chiếu engine. Sau khi bạn đồng ý, skill viết một danh sách phẳng gồm các quy tắc nên làm và không nên làm, nhóm theo tầng kiến trúc.
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
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.*andperformance.*fromproject.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 toproject.yaml).
Engine reference
docs/engine-reference/[engine]/VERSION.mdfor 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 Guidelinesinside 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
Câu hỏi thường gặp
Bản ghi quyết định khác gì bảng quy tắc này?
Bản ghi quyết định giải thích lý do, còn bảng quy tắc nêu rõ cần làm gì.
Khi nào nên tạo lại bảng?
Chạy lại mỗi khi một quyết định được chấp nhận hoặc sửa đổi.
Skill có ghi tệp mà không hỏi không?
Không. Skill ghi tệp sau khi bạn đồng ý, dù cài đặt tự động hóa có thể thay đổi số lần skill hỏi bạn.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8449
- Giấy phép
- MIT
- Cập nhật
- 18/10/2026
Bình luận
- …
Thêm skill từ kho mã này
adopt
33kKiểm tra xem tài liệu của một dự án game hiện có có tuân theo định dạng của mẫu studio hay không, rồi viết một kế hoạch di chuyển có đánh số để sửa các khoảng trống.
architecture-decision
33kViết một bản ghi quyết định kiến trúc cho một lựa chọn kỹ thuật, gồm bối cảnh, các phương án thay thế và hệ quả, với xem xét từ các vai trò kỹ thuật phù hợp.
architecture-review
33kKiểm tra các quyết định kỹ thuật của bạn có bao phủ mọi yêu cầu thiết kế, không mâu thuẫn và phù hợp với phiên bản động cơ, với kết luận đạt hoặc có mối lo ngại rõ ràng.
art-bible
33kViết một art bible xác định bản sắc thị giác của game, để việc sản xuất tài nguyên tuân theo một bộ quy tắc phong cách rõ ràng.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.