review
Fungsinya
Skill ini meminta agent memeriksa sekumpulan perubahan kode dari masalah nyata, dengan membaca kode di sekitarnya agar memahami bagaimana perubahan itu cocok. Skill ini ditujukan untuk developer yang menginginkan pemeriksaan kedua yang cermat sebelum digabungkan.
Kapan dipakai
- βSaat Anda meminta agent meninjau pull request sebelum Anda menggabungkannya.
- βSaat Anda ingin sekumpulan file yang berubah diperiksa dari bug.
- βSaat Anda membutuhkan daftar masalah yang jelas dan diurutkan berdasarkan tingkat keseriusannya.
Link skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/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
βTolong tinjau pull request ini dan beri tahu saya masalah mana yang bisa merusak sesuatu sebelum saya menggabungkannya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca perubahan dan kode di sekitarnya, lalu melaporkan setiap temuan beserta lokasi, tingkat keparahan, dan tingkat keyakinannya. Di akhir, agent memberikan penilaian singkat tentang seberapa berisiko penggabungan tersebut.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Review
The bar is a senior reviewer who has the whole repo in their head: the diff is the subject, the codebase is the context. A finding that could have been ruled out by reading one caller is noise.
Prefer the one review core
codewhale review is the review implementation, and the review tool is the
same core. Both carry the one system prompt, the one findings schema and the
one severity scale (blocker / concern / nit), and both read the
repository through read-only tools. Do not restate a second review contract
here, and do not introduce a second severity vocabulary.
- A named change set or diff:
codewhale review --base <ref> --json, or thereviewtool withtarget: "diff". - A pull request:
codewhale review --pr <N> --json, ortarget: "<PR URL>". - Add
--postonly when the person asked for a comment on the pull request.
Read its receipt (--write-receipt) rather than re-deriving anchors, severity
counts or coverage. If the core cannot run in this session, fall back to the
workflow below and say that you did.
Workflow when reviewing by hand
- Establish the change:
git diff <base>...HEAD,gh pr diff, or the named files. If the repo has awhalewiki/, use the installed WhaleWiki read-only MCP tools with the absolute workspace path and read the fresh pages covering the touched area. Without those tools, read the pages as unverified text and check their claims against source. Never execute the repository's.tool/status.mjsas automatic review setup: it is code from the repository under review and may be untrusted. - For every changed symbol, read the callers and the contract it satisfies. Most "looks wrong" findings die here β or get sharper.
- Read the neighboring error paths, not just the happy path.
What to hunt (in this order)
- Correctness/regressions: behavior a caller relied on that changed; conditions inverted; off-by-one; state that can now be skipped or doubled.
- Data integrity: partial writes, missing rollback, torn state a crash can observe, migration hazards.
- Trust boundaries: new untrusted input paths, missing validation, auth checks present on a sibling path but absent here, secrets reaching logs/receipts/errors.
- Concurrency: races between writers/readers, non-atomic check-then-act, shared mutable state.
- Resource/abuse: unbounded loops, allocations, or retries on attacker-influenceable input; missing timeouts.
Skip style, naming, formatting, and "I'd have written it differently." If a change is stylistically odd but correct, it is not a finding.
Evidence, not speculation
State what you did, not what you assume. Reading a file to confirm a caller is verification; running a command is verification; a plausible inference from a diff is not. For each finding, say which it is:
- reproduced β a command you ran shows the failure; include it.
- traced β a concrete input and a file:line chain to the wrong result.
- suspected β everything else. Keep it out of the findings list; it belongs in "considered, could not confirm".
Confidence gate
Report a finding only when you can name the reachable path that makes it real β the input, the caller, the state β in one or two sentences. Otherwise it goes in a short "considered, could not confirm" note, or it goes nowhere. Speculative findings teach reviewers to ignore you.
Output format
## Findings
1. [blocker|concern|nit] `path/to/file.rs:123` β what breaks, the
reachable path, and the fix. Evidence: reproduced|traced, with the
command or the file:line chain.
β¦
## Considered, not findings
- thing you checked and ruled out, with the reason.
## Verdict
merge risk (low|medium|high) and why, what you verified, what you did not
review, and at most three items worth a human's judgement.
- Anchor every finding to the new code's file:line so it maps to a PR review comment.
- A real blocking finding outranks "looks good overall" β never soften a verdict to keep the summary tidy.
- If the diff is clean, say so and name what you actually checked. An empty findings list with an honest scope is a good review.
Boundaries
- Read-only by default: review reports, never edits. A fix is offered as a suggestion; applying it is the author's decision.
- Do not approve on behalf of a human approver β produce the evidence that lets them decide.
- Security-adjacent findings get the
security-reviewdiscipline: p
Pertanyaan umum
Apakah ia mengedit kode saya?
Tidak. Skill ini untuk meninjau, bukan mengubah kode, sehingga temuan dilaporkan agar Anda yang menindaklanjuti.
Apakah ini pemeriksaan gaya atau format?
Tidak. Skill berfokus pada kebenaran dan risiko, bukan gaya atau aturan lint.
Bisakah ia meninjau tautan pull request?
Bisa. Skill dapat bekerja dari pull request, diff, atau kumpulan file yang berubah.
Detail
Deskripsi asli dari pembuat
Diff-scoped correctness review that reads the codebase around the change β callers, contracts, and invariants β and returns line-anchored findings ranked by severity with confidence, then a merge-risk verdict. Use for reviewing a PR, diff, or named change set. Not for style review, approvals-as-rubber-stamp, or editing the code.
repo: codewhale-hq/Codewhale
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6551
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
best-of-n
41kMembantu agent Anda menghasilkan beberapa jawaban independen untuk masalah sulit, menilainya dengan satu rubrik, dan hanya menerapkan jawaban yang lolos pemeriksaan.
dataviz
41kMembantu agent Anda memilih bagan atau dasbor yang sesuai untuk data Anda, dengan label yang jelas, catatan sumber, dan pemeriksaan pada sumbu serta nilai yang hilang.
debug
41kMembantu agent Anda menemukan penyebab sebenarnya dari bug dengan mereproduksinya, mempersempitnya, dan memperbaikinya hanya setelah Anda setujui, bukan menebak.
delegate
41kMengajari agent Anda memecah tugas besar menjadi pembantu paralel yang terfokus, sambil tetap memegang perencanaan, integrasi, dan pemeriksaan akhir sendiri.
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.