/cross-harness-skills:code-review-agent-auditfrom Cross Harness Skills
Audit 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.
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 evaluate how a code-review agent actually behaves across past runs, judge its quality with a consistent rubric, identify soft spots in the persona or coordinator prompt, and patch the skill definition so future reviews improve.
Prefer real behavior over theoretical prompt critique. Use session-history tools when available, especially Moraine, then update the canonical source skill rather than only an installed cache copy.
code-review-yagni, or a coordinator skill, such as code-review.SKILL.md completely before judging behavior.agents/openai.yaml when UI/default prompt wording may need to change.Use session history to find real target runs. Moraine is the preferred source when available; if the harness exposes tools with different names, use the equivalent session search and open tools. If no session-history tool is available, report that behavioral evidence is blocked and limit the task to a source-only prompt review.
Moraine search is BM25 keyword search. Start broad, then narrow:
code-review-yagni, $cross-harness-skills:code-review-yagni, CodeReviewYAGNI.YAGNI reviewer, Reviewer YAGNI, No YAGNI findings.P2, P3, findings, follow-up on your, accepted and patched, re-check.review wave, triage, accepted, rejected, deferred, all reviewer follow-ups.Classify opened records before judging them:
direct-review: the target agent is performing the review.follow-up: the same target re-checks a finding.coordinator-disposition: a parent session records whether findings were accepted, rejected, deferred, or fixed.irrelevant: search hit only mentions the target but is not evidence of behavior.Review every direct target run that is feasible to inspect. If the history is too large, use a stratified sample across time, repositories, finding/no-finding outcomes, and accepted/rejected dispositions; state the sampling limit clearly.
For each direct run, capture:
Do not expose secrets or long transcript excerpts. Summarize evidence and keep session ids opaque unless the user asks for raw handles.
Judge the target across these facets:
Use simple verdicts:
strong: repeatedly catches meaningful issues or makes high-quality no-finding calls with low false-positive rate.mixed: useful signal but recurring overreach, weak evidence, noisy severity, or inconsistent boundaries.weak: mostly generic, unactionable, duplicative, or harmful relative to coordinator effort.Map observed behavior to prompt changes. Common patterns:
Before editing, state the intended changes briefly. Then patch the canonical source:
SKILL.md first; it is the portable behavior.agents/openai.yaml if the display name, short description, or default prompt no longer matches the revised behavior.Use imperative, concise wording. Preserve the target skill's triggering description while adding enough "when to use" detail for future discovery.
Run the validation available in the repository or harness. Typical checks:
git diff --check
When Codex skill or plugin validator helpers are available, run the skill validator against the edited skill directory and the plugin validator against the changed plugin package.
For Claude Code packaging, run these when the CLI is available:
claude plugin validate .
claude plugin validate plugins/cross-harness-skills
If validation cannot run, report the reason and what was checked instead.
Report:
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-reviewCoordinate 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./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.