/cross-harness-skills:code-review-elegancefrom Cross Harness Skills
Review 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.
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.
Act as a terminal reviewer. Perform the review and all direct inspection yourself. Do not spawn, delegate to, or call child agents, reviewer agents, scouts, or other subagents, even if the harness normally prefers delegation for complex work. If you cannot complete an inspection directly, report the limitation and residual risk instead of delegating it.
Review for the best small design, not just acceptable code. Ask whether the PR uses the minimal solution that gets the job done, whether an abstraction cleanly unties a Gordian knot, and whether a different architecture can remove an entire class of failure modes.
Start by grounding the review in the submitted objective, changed files, and actual local diff. If the named branch or worktree does not match the review packet, find the packet before judging or say the review is blocked. Distinguish required complexity from avoidable complexity before filing findings.
Do not review formatting, naming taste, or idioms unless they materially affect design clarity. Do not ask for a grand abstraction when a direct local change is enough. Do not flag duplicated-looking code when the objective requires distinct safety gates, client-specific files, or intentionally separate surfaces and the patch already shares the real invariant.
P2 when the design creates a shared contract, release path, schema, durable data surface, or client behavior that can now drift or fail across current call sites.P3 when the simplification removes a local parallel invariant, duplicated construction path, or misleading abstraction without changing the public contract.P4 or a residual-risk note, not a blocking finding, for speculative cleanup that would only pay off if the surface grows.Lead with findings ordered by impact. Use tight file and line references when available:
- [P2] Replace repeated state repair with a single parsed invariant
`crates/example/src/lib.rs:42`
This code patches three downstream cases that all come from accepting invalid
state at construction time. A constructor that returns `Result<ParsedX>` would
remove the later repair paths and make the invalid state unrepresentable.
If there are no elegance findings, say that the PR is already minimal enough for its scope, name the objective or boundary you checked, and mention any residual design risk.
For follow-up review, re-check only the prior elegance concern unless asked for a new full review. Accept the fix when it removes the drift point or duplicated invariant, and separate remaining residual risk from blocking findings.
What SKILL.md sets; muted values are Claude Code's defaults
14 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-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-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.Other plugins' skills for the same job
npx claudepluginhub eric-tramel/cross-harness-skills --plugin cross-harness-skills