coder-eval-code-review…
CommandReview the codebase across critical quality axes
Generate per-task review.json (summary + tags) for a completed run
> /plugin marketplace add UiPath/coder_eval> /plugin install coder-eval@coder-eval
allowed-tools: Read(*), Glob(*), Grep(*), Bash(ls:*), Bash(jq:*), Bash(python3:*), Write(runs/*) description: Generate per-task review.json (summary + tags) for a completed run
If `$ARGUMENTS` is empty or blank, resolve the run to review per the "No target given" rule in `.claude/shared/run-layout.md` — discover the run root, then take `latest` if that symlink resolves and the newest run directory by name if it does not. Tell the user which run you picked and how you got there before reading anything.
You are producing post-run reviews for a coder_eval evaluation run. The target path is: `$ARGUMENTS`
For each **failed task** in the run you write a structured `review.json` next to that task's `task.json`, plus a small `review_index.json` digest at the run root for fast aggregation. Output is JSON only — no narrative.
Read `src/coder_eval/resources/tags.yaml` (relative to the repo root). It has a top-level `tags:` list of `{name, definition, examples}` entries. **Prefer these names** when classifying — but the vocabulary is a suggestion, not a strict allowlist. If nothing fits, emit a kebab-case slug that does. Drift is caught by a lint, not blocked at write time.
If the vocabulary file is missing or unparseable, continue with an empty suggestion list (don't abort) — drift lint will surface every tag you emit.
The run layout (`runs/<run_id>/<variant_id>/<task_id>/<NN>/…`, `<NN>` a zero-padded replicate index) is defined in `.claude/shared/run-layout.md`.
1. Read `<run_path>/run.json` if present (for context — `run_id`, `start_time`). 2. Glob `<run_path>/*/*/*/task.json` and read each one. 3. Read `<run_path>/analysis.md` if present — it already diagnoses many failures; lean on its findings rather than re-deriving them. 4. Skip any task whose `final_status` is `"NOT_GRADED"` — `coder-eval execute` produced it, no criterion ran, and `weighted_score` is `null`. It is neither a pass nor a failure, and comparing `null < 0.9` would book every ungraded row as a failure to review. 5. Of the rest, a task counts as **failed** if `final_status != "SUCCESS"` **or** `weighted_score < 0.9`. Skip passing tasks for now (we may extend to passing tasks later — the schema supports it).
If no `task.json` files exist, write an empty `review_index.json` (`{"reviews": []}`) and exit.
For each failed task, write `<run_path>/<variant_id>/<task_id>/<NN>/review.json` with this exact shape:
{
"task_id": "skill-flow-ipe-ceql-where",
"summary": "Validation failed with 'expected string, received undefined' on CeqlWhereTest.flow; 1200s turn_timeout was hit waiting for the connector to activate.",
"tags": ["validation-error", "infra"],
"created_at": "2026-05-08T12:00:00Z"
}Field rules:
Examples of good reviews:
{"task_id":"skill-flow-ipe-ceql-where","summary":"uipath_eval criterion failed: 'Schema validation failed: expected string, received undefined' on CeqlWhereTest.flow.","tags":["validation-error"],"created_at":"..."} {"task_id":"...","summary":"Agent retried 'uip run flow.flow' 7x without adapting after CLI exit code 1.","tags":["agent-loop"],"created_at":"..."} {"task_id":"...","summary":"Agent produced correct outputs; command_executed pattern was too narrow (expected 'uip publish', agent used 'uipath publish').","tags":["criteria-bug"],"created_at":"..."}After all per-task reviews are written, write `<run_path>/review_index.json`:
{
"generated_at": "2026-05-08T12:00:00Z",
"reviews": [
{
"task_id": "skill-flow-ipe-ceql-where",
"variant_id": "default",
"replicate": "00",
"tags": ["validation-error", "infra"],
"summary_excerpt": "uipath_eval criterion failed: 'Schema validation failed: expected string, received undefined'..."
}
]
}Print one line:
Wrote 7 review.json files + review_index.json to runs/2026-05-08_04-46-07: 4 distinct tag(s)
Playwright for coding agents — one declarative test file, any agent runtime, a real sandbox, and a pass/fail gate in CI.
Review the codebase across critical quality axes
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…
Implement an approved coder_eval plan phase by phase with risk-scaled per-phase review, then a final code review
bkit plugin help - Show all available bkit functions. Workaround for skills autocomplete issue. Use "/bkit" or just type "bkit…
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
You are performing static code quality analysis on the Scopy package: `$ARGUMENTS`