code-review
Installation
SKILL.md
Activation Contract
Use this skill when asked to review a pull request, review a diff, review changes on a branch, post GitHub review comments, request changes, or approve a PR. Review is read-only; it never modifies the author's code.
Hard Rules
- ALWAYS use the
ghCLI for every GitHub interaction: reading PR/diff, inline comments,request changes, andapprove. - ALWAYS post every finding as an inline comment anchored to its diff line (
path+line). The review body carries only the summary and counters; a finding that exists only in the body is an incomplete review. - NEVER run linter, typecheck, or test commands (
eslint,tsc,mypy,npm test,pytest,go test, …). Execution belongs to CI; review the code statically and read the tests, never run them. - NEVER run a merge. Never merge, squash-merge, or rebase a PR under any circumstance.
- If any Blocking/high-severity finding exists, post
request changes; never approve until it is fixed. - Review the diff against its base branch; do not audit the whole codebase.
- Flag only issues introduced by or directly affected by the diff; skip pre-existing untouched code.
- Cite
file:linewith concrete code and verify claims before reporting; no speculation. - Communicate the review in English.