cf-reviewlisted
Install: claude install-skill dinhanhthi/coding-friend
# $cf-review
> ✨ **CODING FRIEND** → $cf-review activated
Review the code changes for: **$ARGUMENTS**
## Auto-Triggered
Invoked by `$cf-plan` (after all tasks), `$cf-fix` (after verified fix), and `$cf-optimize` (after measured + verified).
## Workflow
### Step 0: Custom Guide
```!
bash "${PLUGIN_ROOT}/lib/load-custom-guide.sh" cf-review
```
If the block above printed anything, apply only the `## Before`, `## Rules`, and `## After` sections; if it shows the raw command instead of output, re-run that exact `load-custom-guide.sh` fence now.
### Step 1: Identify the target
- Empty `$ARGUMENTS` → all uncommitted changes (net `HEAD` → working tree; staged hunks counted once, not twice)
- File path → that file
- Commit range (e.g. `HEAD~3..HEAD`) → those commits
- Natural-language description (e.g. "the auth logic changes") → default uncommitted set, **focus** findings on that area
- `--deep` / `--quick` → force that mode (override auto-detection)
**Fix/commit flags:**
- `--fix` → `fix=true`; `--commit` → `commit=true`, and `--commit` implies `--fix`. Strip both from `$ARGUMENTS`. No config default — autopilot calls `$cf-review` with no args and owns its own fix loop.
- `--fix`/`--commit` with a commit range target → refuse: print `> ⚠️ --fix/--commit need working-tree changes; not allowed with a commit range.` and stop.
- `--fix`/`--commit` with `--out` → refuse (exclusive): print `> ⚠️ --fix/--commit are exclusive with --out; not allowed together.` and stop.
- Set → p