code-review
Fungsinya
Skill ini meninjau kode dari sisi struktur dan kualitas desain. Cocok untuk pengembang yang ingin tinjauan kedua yang berpengalaman atas perubahan mereka.
Kapan dipakai
- βSaat Anda ingin meninjau sebuah file atau perubahan untuk masalah desain dan struktur.
- βSaat kode sulit diuji dan Anda ingin tahu alasannya.
- βSaat Anda ingin memeriksa perubahan terhadap standar pengodean sebelum digabungkan.
Link skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/code-review/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
βTinjau file sistem pertempuran ini untuk masalah arsitektur dan masalah kemampuan diuji.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill membaca kode target dan memeriksanya terhadap standar pengodean serta prinsip desain seperti SOLID, kemampuan diuji, dan performa. Skill melaporkan temuan beserta bagian kode spesifik yang terdampak.
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
Code Review
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).
Insufficient input β check this before producing any report
If the inputs this skill needs do not exist, the answer is "could not run" β not a filled-in report. Check first, and stop if the check fails.
- List the inputs this skill reads (data files, prior reports, profiler output, test results, registries, source code).
- For each, record
FOUNDorABSENTβ not "assumed present". - If any input required for a section is ABSENT, that section is
NOT ASSESSED β NO DATA. Do not estimate it, do not infer it from an adjacent artifact, and do not leave a mandated cell to be filled by whoever reads the template next. - If every required input is ABSENT, stop and report
NOT ASSESSED β NO DATAas the whole verdict, naming what was missing and which skill produces it.
A verdict of NOT ASSESSED is a success. It is the correct, useful answer to
"what does the data say?" when there is no data. The failure mode this prevents is
specific: a report whose verdict enum has no "could not run" state produces
false clean passes β an asset audit returning COMPLIANT on a project with no
assets and no standards, or a performance profile reporting ">99% headroom against
a 16.67ms budget" with zero profiler data and no budget ever set.
Absence of evidence is never evidence of absence. A scan that finds no matches because there are no files to scan has not verified anything. Say which of the two happened β a reader cannot tell from a green result.
Phase 1: Load Target Files
Read the target file(s) in full. Read CLAUDE.md for project coding standards.
Phase 2: Identify Engine Specialists
Read the specialists block from project.yaml; if it is absent, fall back to the ## Engine Specialists section of .claude/docs/technical-preferences.md. Note:
- The Primary specialist β
<engine>-specialistderived fromengine.name(Godotβgodot-specialist, Unityβunity-specialist, Unrealβunreal-specialist); used for architecture and broad engine concerns - The Language/Code Specialist β
specialists.codeβ used when reviewing the project's primary language files - The Shader Specialist β
specialists.shaderβ used when reviewing shader files - The UI Specialist β
specialists.uiβ used when reviewing UI code
A value of null means UNSET β treat that key as absent and skip its
specialist. Never spawn it as an agent name. The v1.0 migration writes null
for any specialist the legacy file did not name, and it writes the whole block
whenever one member is set β so a project that configured only its code
specialist carries shader: null and ui: null. The config reader returns the
four-character string "null" for these, which is not empty and therefore reads
as configured. null, empty, and missing are the same state here.
If no engine is configured (no engine.name in project.yaml, and technical-preferences.md reads [TO BE CONFIGURED] or is missing), skip engine specialist steps. Record Engine validation: NOT ASSESSED β no engine configured (`engine.name` unset in `project.yaml`) in this run's output. A skipped check that says nothing is indistinguishable from a check that passed; the reader cannot tell engine guidance was never sought.
Phase 3: ADR Compliance Check
Argument: /code-review [file(s)] may optionally include a story file path as the last argument (e.g., /code-review Assets/Scripts/Combat/Attack.cs production/epics/combat/story-001.md). If a story path is provided, read it to extract the governing ADR reference.
Search for ADR references in, in priority order:
- The story file (if provided as argument)
- Header comments at the top of the implementation files
- Commit messages referencing these files (
git log --oneline -- [file])
Look for patterns like ADR-NNNN or docs/architecture/adr- (either case).
If no ADR references found, note: "No ADR references found β ADR compliance check skipped. For full ADR compliance review, provide the story path: /code-review [files] [story-path]."
For each referenced ADR, load **only the sections this check needs β never an unbounded f
Pertanyaan umum
Apa fokus utamanya?
Arsitektur dan kualitas desain, seperti standar, prinsip SOLID, dan kemampuan diuji.
Apakah ini tinjauan keamanan?
Bukan. Fokusnya pada arsitektur, standar, dan kemudahan pemeliharaan.
Bisakah skill ini memperbaiki kodenya?
Skill hanya melaporkan temuan, dan perbaikan apa pun adalah langkah terpisah yang Anda pilih.
Detail
Deskripsi asli dari pembuat
Architectural code review β coding standards, SOLID, testability, performance concerns.
Popularitas
- Bintang GitHub
- 33k
- Peringkat
- #8445
- 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
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.