Skip to content
Agent Memory
Skill

/code-review

Coordinate a delegated full multi-persona code review for a Moraine PR or local change. Use when asked to review a PR, run review agents, get code review feedback, or iterate on review feedback using all CodeReview personas: elegance, idiom, correctness, completeness, security,

BOOST
From plugin
moraine
11619 skills1 command1 MCP
Install
$ npx -y skills add eric-tramel/moraine --skill code-review --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/code-review

Context preview

The summary Claude sees to decide when to auto-load this skill.

Coordinate a delegated full multi-persona code review for a Moraine PR or local change. Use when asked to review a PR, run review agents, get code review feedback, or iterate on review feedback using all CodeReview personas: elegance, idiom, correctness, completeness, security,

SKILL.md

code-review.SKILL.md
name: code-review
description: "Coordinate a delegated full multi-persona code review for a Moraine PR or local change. Use when asked to review a PR, run review agents, get code review feedback, or iterate on review feedback using all CodeReview personas: elegance, idiom, correctness, completeness, security, YAGNI, and scope. Invoking this skill is an explicit request to launch reviewer subagents."

Code Review

Overview

Use this skill to run one coordinated review wave across all focused review personas, merge their feedback, apply accepted fixes, and follow up only with the reviewer sessions that need another look.

Invoking this skill is an explicit user request for delegated multi-agent review. Do not ask for separate permission to spawn reviewer subagents, and do not collapse the personas into a single local review. If subagent tooling is unavailable, report the delegated review as blocked.

Review Wave

Launch exactly one delegated subagent for each focused skill. Use the invocation form native to the current harness:

| Persona skill | Codex | Kiro | | --- | --- | --- | | `code-review-elegance` | `$moraine-dev:code-review-elegance` | `/code-review-elegance` | | `code-review-idomatic` | `$moraine-dev:code-review-idomatic` | `/code-review-idomatic` | | `code-review-correctness` | `$moraine-dev:code-review-correctness` | `/code-review-correctness` | | `code-review-completeness` | `$moraine-dev:code-review-completeness` | `/code-review-completeness` | | `code-review-security-review` | `$moraine-dev:code-review-security-review` | `/code-review-security-review` | | `code-review-yagni` | `$moraine-dev:code-review-yagni` | `/code-review-yagni` | | `code-review-scope` | `$moraine-dev:code-review-scope` | `/code-review-scope` |

Give each reviewer the same raw review packet: PR description, cited issue or objective, relevant diff, changed files, validation results, and any constraints from the user. Do not include your intended fix or your private diagnosis in the prompt.

In Codex, use prompts shaped like:

Use $moraine-dev:code-review-correctness to review this PR. Focus only on your persona's facet.
Return findings first, with severity and file/line references when available.
If there are no findings, say so and mention residual risk.

Review packet:
<PR title/body, objective, diff summary, validation, relevant files>

In Kiro, simply name the skill:

Use the code-review-correctness skill to review this PR. Focus only on that persona's facet.
Return findings first, with severity and file/line references when available.
If there are no findings, say so and mention residual risk.

Review packet:
<PR title/body, objective, diff summary, validation, relevant files>

Keep a mapping of persona to subagent session id. This mapping is part of the work product until review follow-up is complete.

If the current harness has no callable subagent mechanism, stop before reviewing and report that the required delegated review wave is blocked by missing tooling. Do not silently substitute a manual single-agent review for this skill.

Triage

Wait for the first review wave to finish, then combine findings into one triage list.

For each finding, decide:

  • `accept`: implement or document the fix.
  • `reject`: explain why the finding is not applicable.
  • `defer`: record as follow-up because it is valid but outside this PR.
  • `needs-clarification`: ask the same reviewer session a targeted question.

Treat `CodeReviewScope` as the guardrail for the whole review. If another persona asks for broader behavior, generalized architecture, extra cleanup, or unrelated hardening, compare that request against the scope review before accepting it. Prefer the scope review when the broader request would cross lanes or expand the PR beyond its objective.

Iteration

Apply accepted fixes in the current workspace. Do not start a new wave of review agents after making changes.

If follow-up review is requested or needed:

1. Reuse the existing subagent sessions from the first wave. 2. Message only the reviewers whose findings were fixed, rejected with uncertainty, or marked `needs-clarification`. 3. Include a concise update with the specific diff or reasoning relevant to that reviewer. 4. Do not message reviewers whose facet was unaffected. 5. Do not launch replacement reviewers unless the original session is unavailable and that reviewer is necessary to complete the task.

Example follow-up prompt:

Follow-up on your CodeReviewScope finding about the monitor restyle.
I removed the unrelated CSS changes and kept only the MCP filtering docs update.
Please re-check only that scope concern against this updated diff:
<small diff or file references>

Final Review Summary

Report the review outcome with:

  • Persona coverage: which reviewer sessions ran.
  • Accepted findings and changes made.
  • Rejected or deferred findings with short rationale.
  • Scope guardrail decisions, especially where broader suggestions were not taken.
  • Follow-up sessions messaged, if any.
  • Validation rerun after fixes.

If no actionable findings remain, say that clearly and identify any residual risk.

Read more
Ships withmoraine

Moraine is a local trace stack for agent work. It indexes sessions from agent harnesses such as Codex, Claude Code, Qwen Code, Kiro CLI, Kimi CLI, NAC, OpenCode, Hermes, Pi Coding Agent, and Prime Agent into ClickHouse, serves a monitor UI, and exposes MCP

Get the whole plugin

Other skills on moraine.