code-review

Installation
SKILL.md

Parse Arguments

Parse $ARGUMENTS to determine the review mode and flags.

Mode Detection

Priority Mode Condition Description
1 PR Review (explicit) $ARGUMENTS contains a standalone numeric token (e.g., 42) or --pr <number> Review a specific PR's diff + commit context
2 Working Dir (forced) --wd flag is set Force working directory review, even on a PR branch
3 Path Review $ARGUMENTS contains a file/directory path Review code at the specified path
4 PR Review (auto) $ARGUMENTS is empty → auto-detect (see below) Auto-detected PR on current branch
5 Working Dir $ARGUMENTS is empty and no PR detected Review current working directory changes (staged + unstaged). If no changes, falls through to Path Review (cwd)

PR Auto-Detection

When $ARGUMENTS is empty and --wd is not set, attempt to detect an open PR on the current branch:

Related skills
Installs
1
GitHub Stars
6
First Seen
Apr 25, 2026