code-review

Installation
SKILL.md

Code Review

Review all unmerged code in the current branch.

Step 1: Determine What to Review

First, detect the base branch: git rev-parse --verify main 2>/dev/null || git rev-parse --verify master.

Then determine the review scope:

  • On a feature branch with uncommitted changes: review only the uncommitted work using git diff HEAD
  • On a feature branch with a clean working tree: review all commits diverged from the base branch using git diff <base-branch>...HEAD
  • On the base branch with uncommitted changes: review staged and unstaged changes using git diff HEAD
  • On the base branch with no uncommitted changes: nothing to review — inform the user

Step 2: Launch the Review

Use a code-review-expert subagent (via the Task tool) to perform a thorough review. The subagent should:

Related skills
Installs
1
First Seen
Apr 2, 2026