ccc-code-review · diff
git:20260722.9d3ab82 to git:20261013.fbe187d
34 added, 16 removed. Audit A to A.
---
name: ccc-code-review
- description: "Review code changes for security, performance, correctness, and maintainability. Use when: 'review code', 'PR review', 'check changes', 'review my diff', 'is this…"
+ description: "Alias for $ccc-review: forwards a code, PR or diff review request with its arguments to the canonical review workflow. Use when the user types $ccc-code-review or asks to review code, a PR, a file or a diff by this name."
allowed-tools:
- - Read
- - Write
- - Edit
- - Bash
- - Glob
- - Grep
- - Agent
- - AskUserQuestion
- argument-hint: "<PR URL, file path, or diff>"
+ - Skill
+ argument-hint: "[PR URL | file path | diff | any $ccc-review argument]"
+ model: haiku
+ effort: low
---
+ # $ccc-code-review — alias for $ccc-review
- # $ccc-code-review — alias → $ccc-review
+ **CC Commander** · $ccc-code-review · kept so the old command and existing references still resolve.
- > **Deduplicated (v6.1).** This skill is now an alias for **/ccc-review** — the canonical review workflow — branch audit, security/perf/correctness, and specialist-agent dispatch (covers diff review).
- >
- > Invoke $ccc-review instead. This stub is kept so the `$ccc-code-review` command still resolves and prior references do not break.
+ ## When to use / when not to
+ - Use only when the user typed `$ccc-code-review` or a doc points here.
+ - Everything else goes straight to `$ccc-review`; never add review logic to this file.
+
+ ## What happens
+
+ 1. Invoke the canonical skill with the Skill tool: `skill: "commander:ccc-review"`, `args: "$ARGUMENTS"`.
+ 2. `$ccc-review` treats a PR URL, file path or pasted diff as a free-form scope and confirms it with one picker before auditing.
+ 3. On Codex or when the Skill tool cannot load it, tell the user to run `$ccc-review $ARGUMENTS` and stop.
+
+ ## Decision points
+
+ None here; `$ccc-review` owns the lens and engine pickers.
+
+ ## Done when
+
+ - `$ccc-review` was invoked with the same arguments, or the user was told the exact `$ccc-review` command to run.
+
+ ## Guardrails
+
+ - Never run a review, write a report or edit code from this alias.
+
+ ## See also
+
+ - `$ccc-review` — the review workflow
+ - `$ccc-qa` — test suites and coverage
+
---
> ⚙️ **Fable contract:** plan before build · verifier ≠ worker · prove before alarm · loops need gates · leave durable state — `rules/fable-method.md`
-
- > (On Codex, present these options as a numbered list and ask the user to reply with a number — AskUserQuestion is Claude-only.)