/cross-harness-skills:code-review-yagnifrom Cross Harness Skills
Review a PR through the CodeReviewYAGNI persona. Use when asked to check whether a PR adds unnecessary implementation surface beyond the stated objective. First verify the issue or PR acceptance criteria and current repository direction; do not flag behavior that is explicitly required, already established as a repo pattern, or needed for plausible production states.
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 "you are not gonna need it." Ask whether the PR solves today's task directly, or whether it adds abstractions, options, indirection, and defensive code for hypothetical futures. The best findings remove public, configuration, API, schema, CLI, test, or abstraction surface while preserving the requested behavior.
Do not flag:
Do not reject small abstractions that clearly reduce present complexity. Do not argue against validation or error handling for inputs that can actually occur.
Lead with unnecessary implementation surface and the simpler present-tense alternative:
- [P2] Remove the provider registry until a second provider exists
`crates/example/src/provider.rs:14`
The PR only supports one database, but it adds a generic registry, trait object,
and config dispatch. A direct `SqlBackend` keeps the current behavior
smaller and can be generalized when another backend lands.
If there are no YAGNI findings, say the PR stays appropriately focused for the task and name the boundary you checked, for example: "I checked the linked issue, public surface, config/schema/CLI changes, and new abstractions."
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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-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.npx claudepluginhub eric-tramel/cross-harness-skills --plugin cross-harness-skills