Langsung ke konten
Skillpedia
Lain-lain33k Β· #8480

settings

Fungsinya

Skill ini menampilkan pengaturan proyek yang berlaku dan mengubahnya saat diminta. Cocok untuk anggota tim game yang ingin menyesuaikan cara alat studio bekerja tanpa mengedit file konfigurasi secara manual.

Kapan dipakai

  • βœ“Saat seseorang ingin melihat pengaturan mana yang aktif dalam proyek game.
  • βœ“Saat anggota tim perlu mengubah satu pengaturan tanpa membuka file konfigurasi.
  • βœ“Saat seorang pengembang menginginkan pengaturan pribadi yang disimpan di luar file proyek bersama.

Link skill

https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/settings/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/settings/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

β€œTampilkan pengaturan proyek saya saat ini, dan atur mode tinjauan menjadi ringan hanya untuk saya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill membaca file pengaturan bersama dan file penimpa pribadi, lalu menampilkan nilai gabungannya. Perubahan disimpan ke file bersama atau pribadi, dan perubahan pada file bersama meminta konfirmasi Anda terlebih dahulu.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

/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 /settings register 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

Pertanyaan umum

Apa bedanya pengaturan bersama dan lokal?

Pengaturan bersama disimpan dalam file tim yang di-commit, sedangkan pengaturan lokal adalah penimpa pribadi yang tidak masuk ke kontrol versi.

Apakah saya perlu mengedit YAML sendiri?

Tidak. Skill mengubah pengaturan untuk Anda, menggunakan nama bertitik dari pengaturan tersebut.

Apakah skill ini akan bertanya sebelum mengubah file tim?

Ya. Penulisan ke file pengaturan bersama memerlukan konfirmasi Anda.

Detail

Deskripsi asli dari pembuat

View or change project config β€” effective merged values, or set locally in project.local.yaml.

repo: Donchitos/Claude-Code-Game-Studios

Popularitas

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

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa