settings
Skill này làm gì
Skill này hiển thị các cài đặt dự án hiện tại và thay đổi chúng khi được yêu cầu. Skill dành cho thành viên nhóm game muốn điều chỉnh cách công cụ của studio hoạt động mà không phải sửa tệp cấu hình bằng tay.
Khi nào nên dùng
- ✓Khi ai đó muốn xem những cài đặt nào đang hoạt động cho dự án game.
- ✓Khi một thành viên nhóm cần đổi một cài đặt mà không cần mở tệp cấu hình.
- ✓Khi lập trình viên muốn một cài đặt cá nhân được giữ ngoài tệp dự án dùng chung.
Liên kết skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/settings/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
“Hiển thị cài đặt dự án hiện tại của tôi, và đặt chế độ rà soát thành lean chỉ riêng cho tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đọc tệp cài đặt dùng chung và tệp ghi đè cá nhân, rồi hiển thị các giá trị đã kết hợp. Thay đổi được ghi vào tệp dùng chung hoặc tệp cá nhân, và thay đổi tệp dùng chung cần bạn xác nhậ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.
/settings — view or change project config
Manages project.yaml (team-wide config, committed) and project.local.yaml
(per-developer overrides, gitignored). Use this skill to inspect current
settings or change them without manually editing YAML.
Automation mode: Resolve modes.automation (project.local.yaml →
project.yaml → default collaborative). The approval gates in Phase 4 and
Phase 5 follow the pattern in .claude/docs/automation-modes.md. Note:
writing to project.yaml is a schema_changes decision (a default
automation_always_ask category), so /settings confirms config writes even
in autonomous mode unless the user has removed schema_changes from their
always-ask list.
Phase 0: Parse Arguments
Determine which of the four forms the user invoked:
| Form | Mode |
|---|---|
/settings (no args) |
View-all (Phase 2) |
/settings <key> (single arg, no =) |
View-one (Phase 3) |
/settings <key>=<value> (single arg with =) |
Set-yaml (Phase 4) |
/settings --local <key>=<value> (--local prefix) |
Set-local (Phase 5) |
For Set-yaml and Set-local, <key> is a dotted YAML path (e.g.
modes.review_mode, testing.strict.logic) and <value> is the new value.
Empty-operand validation: After splitting the key=value operand on
=, if either <key> or <value> is empty, this is malformed — route to
Phase 6 (usage) rather than attempting the write. The rule applies in both
Set-yaml and Set-local routing: for --local, strip the --local token
first, then check the remaining operand the same way (so /settings --local =foo
and /settings --local key= both go to Phase 6).
Anything else that doesn't match the four forms above → Phase 6 (usage).
Phase 1: Load Helper
All four subcommands need yaml-helper.sh. Run each helper call as its own
plain command:
bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" <helper call>
<helper call> is the function each phase below names, for example
resolve_setting modes.review_mode or validate_yaml_enum project.yaml. The
helper moves to the project root itself, so those project.yaml and
project.local.yaml arguments resolve when the session was started in a
subfolder, and it keeps the function's exit status. is_locally_overridable
also prints its 0 or 1. Run the call exactly as shown: do not source the
file, wrap it in cd ... && or append ; echo $?. This skill pre-approves the
plain form only, and a compound command asks the user every time.
If .claude/hooks/yaml-helper.sh is missing, this is not a CCGS project.
Report the error and exit.
Phase 1b: Reserved-setting detection
Some settings are fully documented and settable, and no skill
or hook reads them — setting one changes nothing. This skill must say so.
Returning an ordinary success lets a user reasonably believe the behaviour the
setting describes is now enforced — an accessibility tier being the case that
motivates this. (The key is not named here on purpose; see the note below.)
The banner exists only in
.claude/docs/effects-map.md, which someone
configuring their project will never open. A setting that does nothing must never look
exactly like one that works — .claude/rules/skill-authoring.md obligation 3.
Derive the set; do not hardcode it (obligation 5):
grep -B14 '^> ### RESERVED' .claude/docs/effects-map.md | grep -E '^## '
Match the banner HEADING (> ### RESERVED), never the bare word "RESERVED".
platform.cert_tier's section mentions the banner in prose, to record that it
carried one and later became a live setting. A looser match re-reports a working
setting as dead — the direction that understates what the framework does, and
why the dead-settings gate asserts both directions.
A heading may name two keys joined by " and " — split on that separator so
both are captured, or the second one silently escapes the set. Let
RESERVED_SET be the result.
Deliberately phrased without naming those keys. The dead-settings gate asserts that a setting on the allowlist has no readers, and it counts any skill file that spells the key. Naming them here to illustrate the split would make
/settingsregister as a reader of two settings nothing reads, and the gate would fail — correctly. Spelling a dead path out while explaining why not to use it trips the same wire. Reword instead of adding an exemption: the strictness is the point, so do not
Câu hỏi thường gặp
Cài đặt dùng chung và cài đặt cục bộ khác nhau thế nào?
Cài đặt dùng chung được lưu trong tệp của nhóm và được commit, còn cài đặt cục bộ là ghi đè cá nhân, nằm ngoài kiểm soát phiên bản.
Tôi có cần tự sửa YAML không?
Không. Skill thay đổi cài đặt cho bạn, dùng tên có dấu chấm của cài đặt đó.
Skill có hỏi trước khi đổi tệp của nhóm không?
Có. Ghi vào tệp cài đặt dùng chung cần bạn xác nhận.
Chi tiết
Mô tả gốc của tác giả
View or change project config — effective merged values, or set locally in project.local.yaml.
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8480
- 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ự
blucli
394kGiúp agent của bạn tìm, phát, tạm dừng, nhóm và chỉnh âm lượng loa Bluesound và NAD qua lệnh blu.
camsnap
394kGiúp agent của bạn chụp ảnh, quay clip ngắn hoặc lấy sự kiện chuyển động từ camera mạng và webcam nội bộ mà bạn đã thiết lập.
eightctl
394kGiúp agent của bạn kiểm tra và điều khiển thiết bị Eight Sleep pod, gồm nhiệt độ, báo thức và lịch ngủ.