coder-eval-code-review…
Workflow-based 8-axis codebase review — per-axis sub-workflows, adversarial verify, deterministic scoring + rendering
Review the codebase across critical quality axes
> /plugin marketplace add UiPath/coder_eval > /plugin install coder-eval@coder-eval
How it fires
How this command gets triggered: by you, by Claude, or both.
/coder-eval-code-review-fullContext preview
What this command does when you run it.
Review the codebase across critical quality axes
allowed-tools: Bash(*), Read(*), Grep(*), Glob(*), Write(tmp/code-review-*/*), Agent description: Review the codebase across critical quality axes
You are performing a structured codebase review of the `coder_eval` project.
Optional argument: $ARGUMENTS — space-separated tokens that control review scope and axis selection. See **Scope Selection** below. If empty, review the full codebase across all 8 axes.
`$ARGUMENTS` accepts a space-separated set of tokens. Default scope is `all`. Default axes are all 8.
**Scope tokens** (pick one):
1. `git fetch origin pull/<N>/head:pr-<N>` — creates a local ref `pr-<N>` at the PR's HEAD (works for fork PRs too via the GitHub `pull/<N>/head` refspec). 2. `gh pr view <N> --json baseRefName -q .baseRefName` → store as `<base>`. 3. `git fetch origin <base>:refs/remotes/origin/<base>` — ensure base is current. 4. File list: `git diff origin/<base>...pr-<N> --name-only`. 5. **Sub-agents read file contents via `git show pr-<N>:<path>`, NOT via Read on the working tree.** Include this instruction in every sub-agent prompt for `pr:<N>` scope.
**Axis filter** (optional, combinable with any scope):
**Action flags** (optional, combinable with any scope):
1. If scope is `pr:<N>`, use that N directly. 2. Otherwise (`branch` / `local` / `staged` / `unpushed` / `all`), interpret the flag as "post to *this* PR" — the PR associated with the current branch. Resolve via `gh pr view --json number,title,author,headRefName,baseRefName,state` (no arg = current branch). If that succeeds and the PR is `OPEN`, use its number. If `gh pr view` fails (no PR for the branch) or the PR is closed/merged, abort before running any tools with a clear error: "--post-comment requires either `pr:<N>` scope or an open PR for the current branch; got `<branch>` with no open PR" — and suggest pushing the branch + opening a PR first, or invoking with `pr:<N>` explicitly.
When this resolves successfully for a non-`pr:<N>` scope, also stash the PR metadata (title/author/headRef/baseRef) for the PR-comment file header — same as the `pr:<N>` path — so the comment is framed as a PR review regardless of which scope drove it.
**Examples**:
**Two rules for non-`all` scopes**:
1. **Read freely beyond the diff; file findings only inside it.** Reviewing a change in `orchestrator.py` requires reading its callers, the types it touches, and the tests for it. Sub-agents treat the scoped file list as the *target for findings* — they may read any file in the repo for context, but a finding MUST be against a file in scope. This catches bugs that only become visible when you read the surrounding code.
2. **Some axes don't scope cleanly — adjust the question they answer.** Architecture (Axis 5) and Harness Quality (Axis 8) are whole-system properties. For non-`all` scopes, those axes answer "does this change make the architecture / harness *worse*?" — not "is the architecture good in absolute terms." File a finding only if an in-scope change introduces or worsens an axis-5/8 issue.
All analysis must evaluate against the core principles defined in `.claude/shared/review-rubric.md` → **"Review Principles"** (bug-free code, KISS, DRY without over-applying it, not over-engineered, simplicity, no unnecessary comments, CLAUDE.md adherence). Read that section; do not work from memory. The per-axis **Severity Standard** below is specific to this command and is defined locally — it is NOT governed by the shared rubric.
Every finding MUST be tagged 🔴 Critical / 🟠 High / 🟡 Medium / 🔵 Low. Calibrate by **impact if shipped**, not by fix difficulty. When torn between two levels, pick the lower one. The anchors below define each axis's bar — match a finding to the closest example before assigning.
| Axis | 🔴 Critical | 🟠 High | 🟡 Medium | 🔵 Low | |------|------------|--------|----------|-------| | **1. Code Quality** | Dead code on a live path that misleads readers into wrong assumptions (e.g. an unused branch in the orchestrator that looks load-bearing) | Cyclomatic complexity > 20 in a hot module (`orchestrator`, `checker`, `sandbox`); duplicated logic across 4+ sites; machinery disproportionate to the goal — a new enum/flag/alias layer for behavior derivable
Playwright for coding agents — one declarative test file, any agent runtime, a real sandbox, and a pass/fail gate in CI.
Workflow-based 8-axis codebase review — per-axis sub-workflows, adversarial verify, deterministic scoring + rendering
Run a multi-model code review on uncommitted changes or a described set of files
Create a structured, phased implementation plan for a feature or change in the coder_eval codebase, executable from a fresh session by…
Implement an approved coder_eval plan phase by phase with risk-scaled per-phase review, then a final code review
Generate per-task review.json (summary + tags) for a completed run