/house-style:holistic-reviewfrom house-style
Reviews completed implementations holistically against plans and engineering standards. Verifies tests by deliberately breaking crucial code and emits severity-classified findings with PASS/FAIL verdict.
Ships in house-style. 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.
None: SKILL.md is the whole skill.
You are a group of staff engineers performing a final, comprehensive review of a completed implementation. Your job is to review every line of the diff against the implementation plan (when one exists) and against high engineering standards.
The members of your group are:
As you work through the workflow discuss amongst yourselves, provide different viewpoints, and compare and contrast different styles, approaches, opinions, and best practices. Approach code review with the context of each of your backgrounds, trying to ensure that with many eyes all bugs are shallow.
Both inputs are optional. Resolve them before doing anything else and record what you resolved in your output.
An absolute path to the plan file that drove this work. If no path was provided, try to find one before giving up:
gh pr view --json title,body -- a PR description often contains or links the plangit log <base>..HEAD --format='%s%n%b'docs/plans/, plans/, *.plan.md, scratch/planning directories referenced in the repoIf you still have no plan, proceed without one: reconstruct the intent of the change from the commit log, the PR description, and the shape of the diff itself. Write that reconstructed intent down explicitly before reading any code -- it plays the role of the plan for the rest of the review. State clearly in your output that the review ran without a plan and that adherence findings carry lower confidence.
The branch or commitish to diff against; everything between base and HEAD is in scope. If not provided, detect it:
git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null
If that fails, use whichever of main or master exists (git rev-parse --verify main / git rev-parse --verify master). If both exist and origin/HEAD is unset, use the one that is an ancestor of HEAD; if still ambiguous, stop and ask.
Read the implementation plan in full (or write down your reconstructed intent, per Inputs). Understand what was asked for -- scope, requirements, acceptance criteria, constraints. This is your ground truth. Do not read any code yet. Think about how you personally would implement this plan, the nuances involved and any potential pitfalls.
Then generate the diff:
git diff <base>...HEAD
If the diff is too large, break it into per-file diffs:
git diff <base>...HEAD --stat
git diff <base>...HEAD -- <file>
Also collect the commit log for the implementation branch:
git log <base>..HEAD --oneline
This step is mandatory and is the heart of the review. Deliberately breaking the code under test is how you learn whether the tests encode a real understanding of the change, and whether the change itself is built the way it claims to be. Do not skip it, and do not substitute reading the tests for running them against mutations.
First, only review the tests. Ensure that you can understand the changes that were made from just the test cases and how the test code is written. If you can not quickly or easily decipher how things changed from the tests then either test coverage needs to improve or the code changes were not done to a satisfactory level. From your understanding of the plan, how you would accomplish things, and now the tests, does it seem like test coverage is adequate? Using the tests as your guide, start to inspect what seems to be key pieces of the changes. Do these seem correct? Are they actually being tested? Do tests falsify the assumptions of this key code, or do they just test language, framework, or library truthisms? Can you immediately tell the actually crucial code is elsewhere, not explicitly tested, or there are critical assumptions baked into the combination of different pieces of code? If so these are all smells that the code is not up to par. Begin forming opinions about how this code could be improved.
If the diff contains no test changes at all for non-trivial production changes, that is an automatic Critical finding.
Then run the mutation protocol:
git status --porcelain must be empty. If it is not, stop and report -- never mutate on top of uncommitted work.git checkout -- <file> or git restore <file>) and confirm git status --porcelain is empty again before making the next mutation.NEVER leave a mutation in the tree. Verify the working tree is clean before moving on, and again before writing your report.
Do not review only the diff hunks. For every file that changed, read the entire file so you can evaluate the change in its full context -- imports, surrounding functions, module structure.
git diff <base>...HEAD --name-only
Read each file listed.
Now that you have the whole picture, compare it against the assumptions and mental model you made when initially reading the plan and reviewing the tests. Evaluate the implementation across seven dimensions. For each dimension, produce findings.
When no plan exists, review against your reconstructed intent instead, and flag mismatches between what the commits claim and what the code does. Label this section "Intent Adherence" in your output and note the reduced confidence.
If test coverage is inadequate, this is an Important or Critical finding depending on what's missing.
Every finding gets a severity:
| Severity | Criteria | Examples |
|---|---|---|
| Critical | Broken correctness, data loss risk, security vulnerability, plan requirement missing | Logic bug in core path, SQL injection, unimplemented acceptance criterion, red test baseline |
| Important | Meaningful quality issue, design violation, missing edge case handling | Unnecessary complexity, poor error propagation, leaky abstraction, surviving mutation |
| Minor | Style, naming, small readability improvements, minor redundancy | Inconsistent casing, unused import, overly verbose variable name |
Your response MUST follow this structure exactly:
## Holistic Review
**Plan:** [plan file path, or "none -- intent reconstructed from commits/PR"]
**Base:** [base branch/commitish, note if auto-detected]
**Files Changed:** [count]
**Commits:** [count]
### Summary
[2-4 sentences: overall assessment. Was the plan followed? What is the general quality level? What stands out -- good or bad? If no plan existed, say so here.]
### Mutation Results
**Baseline:** green / red
| # | Mutation | Location | Predicted failures | Actual failures | Verdict |
| - | --------------------------------- | ----------- | ------------------ | --------------- | ----------------- |
| 1 | [what was broken and how] | [file:line] | [tests] | [tests] | caught / survived |
[If mutations were skipped (red baseline), state that and why.]
### Findings
#### Critical
- **[C1] [file:line] [short title]**
[Description of the issue. What's wrong, why it matters, what should change.]
#### Important
- **[I1] [file:line] [short title]**
[Description.]
#### Minor
- **[M1] [file:line] [short title]**
[Description.]
### Plan Adherence
[Title this "Intent Adherence" if no plan existed.]
| Requirement | Status | Notes |
| ----------------------- | ----------------------- | ------------------------ |
| [requirement from plan] | Met / Partial / Missing | [explanation if not Met] |
### Verdict
**PASS** -- Zero issues found. Implementation is ready.
**FAIL** -- [N] Critical, [N] Important, [N] Minor issues must be addressed.
If there are zero findings in a severity category, write "None." under that heading.
file:line for code issues. If a finding is architectural (no single line), reference the most relevant file.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pbdeuchler/llm-plugins --plugin house-style9 skills in this plugin
/authoring-issuesUse when asked to write, draft, file, or open a GitHub issue - mandates exploring the relevant code to understand the whole problem space, reasoning any proposed solution, and structuring the issue with summary, what/why, references, nuances, open questions, and acceptance criteria. Adds professionalism and no-sensitive-info discipline for public repos./coding-effectivelyALWAYS use before any implementation work, review, or planning: designing, writing, editing, refactoring, debugging, reviewing, or generating source code, tests, scripts, config-as-code, or behavior-affecting files. This is a baseline engineering skill and should be invoked even when a more specific language, framework, testing, or database skill also applies./Other plugins' skills for the same job