review-code
Installation
SKILL.md
Platform detection: see
references/platform-detection.mdandreferences/resolve-platform.sh
Review Code
Overview
/review-code runs an adversarial, diff-level code review and reports correctness bugs and quality cleanups. It is the standalone sibling of the diff-review pass embedded in /qa-story (Phase 1.6) and /qa-task (Step 3b): all three dispatch the same reviewer prompt — the single source of truth at references/code-review-prompt.md. The difference is orchestration, not the reviewer:
/review-codeworks on any diff (working tree or a PR), needs no work-item document and no quality gate, and can act on findings (--comment,--fix).- The QA skills review a diff scoped to a tracked story/task and feed findings into the QA gate.
The reviewer subagent is always read-only. Posting comments and applying fixes are decisions this skill makes from the returned findings — never the subagent.
When to Use This Skill
- "Review my changes" / "review this diff" / "code review my branch"
- "Review PR 123" / "review this pull request"
- Before opening a PR, to catch bugs and cleanups in the working tree
- As a customizable, self-hosted alternative to the built-in
/code-reviewskill