review-agent
Fungsinya
Skill ini meminta agent membaca sekumpulan perubahan kode dan melaporkan bug serta risiko, tanpa mengubah berkas apa pun. Skill ini untuk pengembang yang menginginkan pandangan kedua yang cermat sebelum penggabungan.
Kapan dipakai
- ✓Saat Anda menginginkan pendapat kedua tentang perubahan yang belum di-commit sebelum Anda commit.
- ✓Saat Anda memerlukan tinjauan atas perbedaan sebuah cabang dengan cabang dasarnya.
- ✓Saat agent lain atau rekan tim meminta pemeriksaan hanya-baca atas commit tertentu.
Link skill
https://github.com/HKUDS/DeepCode/blob/main/core/skills/builtin/review-agent/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 perubahan saya yang belum di-commit dan beri tahu saya masalah nyata apa pun, tanpa mengubah berkas.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca diff dan kode di sekitarnya, memeriksa tes serta pemanggil yang terkait, lalu hanya melaporkan masalah yang bisa ia pastikan. Agent tidak mengedit, melakukan commit, atau memposting apa pun.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Review Agent
Inspect the requested target directly and return every finding that the author would likely fix. Do not modify files, create commits, push branches, post review comments, or delegate the review to another agent.
Review the change
- Read the applicable
AGENTS.mdinstructions. - Inspect the complete diff for the requested target and enough surrounding code to understand each changed path.
- Identify concrete regressions introduced by the change. Continue through the whole diff after finding the first issue.
- Check the relevant tests and call sites to confirm that each finding is real and actionable.
For a base-branch review, compare the changes that would actually merge rather than diffing
directly against the branch tip. Resolve the comparison ref to the branch's upstream when that
upstream exists and is ahead of the local branch; otherwise use the local branch. Run
git merge-base HEAD <comparison-ref>, then inspect git diff <merge-base-sha>. If the local
branch cannot be resolved, try its configured upstream explicitly before reporting that the target
is unavailable.
Flag an issue only when all of these are true:
- It affects correctness, security, performance, or maintainability in a meaningful way.
- It is discrete and actionable.
- It was introduced by the reviewed change.
- The affected scenario or call path can be demonstrated from the code.
- The author would probably fix it if they knew about it.
Do not flag speculative concerns, pre-existing problems, intentional behavior changes, or style nits that do not obscure the code.
Write the result
Present findings first, ordered by severity. Use one entry per issue in this form:
[P1] Imperative finding title — path/to/file.rs:line
Follow the title with one short paragraph explaining the affected scenario and why the behavior is wrong. Keep the cited range as small as possible and make sure it overlaps the reviewed diff.
Use these priorities:
P0: universal release blocker or critical failure.P1: urgent defect that should be fixed next.P2: ordinary defect that should be fixed.P3: low-impact issue that is still worth fixing.
If there are no qualifying findings, say No findings. Do not invent a finding to fill the result.
After the findings, add a brief overall assessment and mention any material test gaps or residual
risks.
Pertanyaan umum
Apakah agent akan mengubah kode saya?
Tidak. Tinjauan ini bersifat hanya-baca, sehingga tidak mengubah berkas, membuat commit, atau memposting komentar.
Apakah dilaporkan juga saran gaya kecil?
Skill ini berfokus pada masalah yang bermakna dan dapat ditindaklanjuti yang memengaruhi kebenaran, keamanan, performa, atau kemudahan pemeliharaan.
Apa saja yang bisa ditinjau?
Agent dapat meninjau perubahan yang belum di-commit, sebuah cabang dibandingkan dengan cabang dasarnya, sebuah commit, atau instruksi khusus yang Anda berikan.
Detail
Deskripsi asli dari pembuat
Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.
repo: HKUDS/DeepCode
Popularitas
- Bintang GitHub
- 17k
- Peringkat
- #10798
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
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.