/cross-harness-skills:code-reviewfrom Cross Harness Skills
Coordinate a delegated full multi-persona code review for a 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.
Ships in Cross Harness Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Launch exactly one delegated subagent for each persona:
$cross-harness-skills:code-review-elegance$cross-harness-skills:code-review-idomatic$cross-harness-skills:code-review-correctness$cross-harness-skills:code-review-completeness$cross-harness-skills:code-review-security-review$cross-harness-skills:code-review-yagni$cross-harness-skills:code-review-scopeEach reviewer is a terminal leaf in the agent graph. In every initial and follow-up prompt, explicitly instruct the reviewer to perform the review itself and not spawn, delegate to, or call child agents, reviewer agents, scouts, or other subagents. Reviewers may inspect files and run ordinary tools directly, but they must report limitations or residual risk instead of delegating any research, validation, or synthesis. Do not grant reviewers permission to launch children.
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.
Use prompts shaped like:
Use $cross-harness-skills:code-review-correctness to review this PR. Focus only on your persona's facet.
Act as a terminal reviewer: perform the review yourself and do not spawn, delegate to, or call child agents or reviewers.
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.
If subagent tooling exists but a spawn attempt fails because capacity is exhausted, an agent-thread limit is reached, or the harness rejects the parallel fan-out, keep the review running instead of dropping personas:
Treat one-at-a-time refusal as a blocked delegated review and report which personas were completed before the block. Do not summarize a partial wave as complete.
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.
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:
needs-clarification.Example follow-up prompt:
Follow-up on your CodeReviewScope finding about unrelated docs churn.
Continue as a terminal reviewer and do not call child agents or reviewers.
I removed the unrelated docs changes and kept only the authentication fix.
Please re-check only that scope concern against this updated diff:
<small diff or file references>
Report the review outcome with:
If no actionable findings remain, say that clearly and identify any residual risk.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub eric-tramel/cross-harness-skills --plugin cross-harness-skills14 skills in this plugin
/author-prCreate ready-for-review pull requests on GitHub. Use when the branch is ready to open a PR; when the user asks to create, push, or open a PR; after local changes are committed; or when documenting user-facing features, bug fixes, performance optimizations, validation, changelog impact, or operational impact in a PR that follows repository conventions without AI attribution./code-review-agent-auditAudit and improve a code-review persona or review-coordinator skill using historical agent sessions. Use when asked to evaluate whether a review agent is useful, noisy, overreaching, missing meaningful findings, or to update a review skill or agent definition based on observed Moraine/session-history behavior./code-review-completenessReview a PR through the CodeReviewCompleteness persona. Use when asked to check whether a PR fully addresses the objectives it claims to address in its title, description, cited issue, PRD, epic, acceptance criteria, or linked discussion./code-review-correctnessReview a PR through the CodeReviewCorrectness persona. Use when asked to check whether the implementation does the job correctly, avoids bugs and regressions, preserves data and API contracts, handles relevant edge cases, and has tests that would catch the important failures./code-review-eleganceReview a PR through the CodeReviewElegance persona. Use when asked to review code for minimal design, architectural leverage, elegant abstractions, simplification, removing unnecessary moving parts, or finding the design move that sidesteps an entire class of problems./code-review-idomaticReview a PR through the CodeReviewIdomatic persona. Use when asked to check whether code is idiomatic for the implementation language, follows standard library and ecosystem conventions, avoids unnecessarily novel implementations, and matches established patterns in this repository.