Mr Review

Thin command wrapper for the agentic-harness:mr-review skill. Parses arguments, validates, then invokes the skill.

cajias updated 1mo ago
Claude CodeGeneric
View source ↗
---
{}
---

# Review MR

Thin command wrapper for the `agentic-harness:mr-review` skill. Parses arguments, validates, then invokes the skill.

## Usage

/agentic-harness:mr-review [MR_IID] [--aspects=all] [--no-fix]


**Arguments:**

- `MR_IID` (optional): GitLab MR IID to review. If omitted, auto-detected from the current branch.
- `--aspects=all` (optional): Which review aspects to run. Values: `all | security | quality | tests | types`. Default `all`.
- `--no-fix` (optional): Disable the iterative fix loop. Perform a single review pass only.

**Default behavior:** Auto-detect MR, classify changes, dispatch relevant review agents in parallel, apply 4-phase filtering, run fix loop until convergence, output final summary to CLI.

This is a **LOCAL** tool — it does NOT post to GitLab.

---

## Instructions

Parse `$ARGUMENTS`, validate, then hand off to the `agentic-harness:mr-review` skill. Do not execute the review workflow yourself.

### Step 1: Parse `$ARGUMENTS`

Extract from the raw argument string:

| Input     | Default | Parsing                                                                    |
| --------- | ------- | -------------------------------------------------------------------------- |
| `MR_IID`  | empty   | First positional token matching `^[1-9][0-9]*$`                            |
| `ASPECTS` | `all`   | `--aspects=<value>`, one of `all \| security \| quality \| tests \| types` |
| `NO_FIX`  | `false` | `true` iff `--no-fix` present                                              |

### Step 2: Validate

- **`ASPECTS` must be one of the 5 allowed values.** Otherwise fail:

Error: invalid --aspects value ''. Valid: all, security, quality, tests, types.

- **`MR_IID` format check (if provided):** must match `^[1-9][0-9]*$`. Otherwise fail:

Error: invalid MR IID '' — must be a positive integer.


### Step 3: Hand off to the skill

Invoke the `agentic-harness:mr-review` skill with:

MR_IID = ASPECTS = all | security | quality | tests | types NO_FIX =


### Help

If `$ARGUMENTS` is exactly `--help` or `-h`, print the Usage section above and exit without invoking the skill.

---

## See also

- **Skill**: `agentic-harness:mr-review` (canonical workflow; uses `agentic-harness:false-positive-rules`, `agentic-harness:dedup-rules`, `pr-review-toolkit:review-pr`)
- `/agentic-harness:mr-submit` — full pipeline including push, MR creation, and CI/thread shepherd.
- `/agentic-harness:mr-shepherd` — address feedback on an already-open MR (thread replies).
- `/agentic-harness:mr-status` — inspect/resume/retire shepherd state.

Maintain Mr Review?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Mr Review on getagentictools](https://getagentictools.com/loops/cajias-review-mr?ref=badge)