Hooks on the edit, reviews at the end
The two plugins put their checks in different places. Impeccable puts its detector on the edit path, and its author gave the reason in a talk: people have the skill installed, but “sometimes they forget to run it” (source: Paul Bakaus: The Dark Arts of Skill Engineering). “So the hooks come to you.” (source: Paul Bakaus: The Dark Arts of Skill Engineering) Matt Pocock puts the standards at the end, and his retro skill gives the reason: “The review agent has the least context pressure” (source: Matt Pocock: the retro skill file), so “the review agent should be responsible for imposing coding standards, not the implementation agent” (source: Matt Pocock: the retro skill file). That is the one real disagreement between the two, and I keep both: the hooks catch a mechanical design problem while the edit is still in context, and the reviews read the finished diff against the standards and the spec.
What the hooks check on each edit
Section titled “What the hooks check on each edit”Impeccable’s plugin brings three hooks (source: Impeccable: the plugin's hooks.json) to Claude Code: one when a session starts, one after each Edit or Write, shown as “Checking UI changes” (source: Impeccable: the plugin's hooks.json), and one when the agent stops, the “Design deep pass” (source: Impeccable: the plugin's hooks.json). The edit hook is narrow on purpose:
- Which files. “The hook runs the impeccable design detector on direct file edits to design-relevant files” (source: Impeccable: the hooks reference): components, markup, styles and scripts. Markdown and MDX are not on its list, so here it reads the components, not the words of the pages. While the agent wrote this section, the hook stayed silent on its five pages and answered its one stylesheet edit.
- Which rules. “The per-edit hook surfaces only the immediate tier: mechanical, unambiguous problems worth interrupting an edit for” (source: Impeccable: the hooks reference), such as overflow or low contrast. The rest waits for the stop: “Everything else (copy cadence, palette and typography taste, layout rhythm) is deferred to a deep pass on the Stop hook event” (source: Impeccable: the hooks reference).
- What happens to the edit. It stands: in Claude Code the hooks “do not block the edit; they emit a post-edit reminder instead” (source: Impeccable: the hooks reference).
And their limit: “Every hook is a mechanical pass.” (source: Impeccable: the hooks reference) Taste and hierarchy wait for the critique.
What I do with a finding
Section titled “What I do with a finding”The same reference sorts a finding into three outcomes, and I hold the agent to them:
- A real problem gets fixed: “Never add an ignore to skip a fix or to push a blocked write through.” (source: Impeccable: the hooks reference)
- A false positive or an exception already decided gets the narrowest exception, with its reason recorded: “The bar is evidence you can name” (source: Impeccable: the hooks reference). “Self-serve stops at
ignore-value” (source: Impeccable: the hooks reference): an exception for a whole file or a whole rule waits for my answer. - An unsure case stays open, with one question to me.
In this redesign, the first ticket took the second outcome. The design record still named the old fonts, so the agent recorded two value exceptions, for Inter and JetBrains Mono, with the reason that the record would name the old fonts until the last ticket regenerated it. They went into .impeccable/config.json, which git tracks, so they show in that ticket’s diff.
The repository adds its own Stop hook, the type check and the unit tests of The minimal setup, beside Impeccable’s deep pass: “When a plugin is enabled, its hooks merge with your user and project hooks.” (source: Anthropic: Hooks reference) “All matching hooks run in parallel.” (source: Anthropic: Hooks reference) Matt Pocock’s plugin declares no hook, so nothing of his runs until a skill is invoked.
What the reviews check at the end
Section titled “What the reviews check at the end”At the end of a ticket, three reviews read the finished change, each with its own question:
| Review | What it checks | How it runs |
|---|---|---|
Claude Code’s own /code-review |
Bugs: it “looks for correctness bugs” (source: Anthropic: Code review) | A subagent “with its own context window” (source: Anthropic: Code review) |
The plugin’s mattpocock-skills:code-review |
The repository’s standards, and the spec | “Each axis runs in its own sub-agent so neither sees the other’s reasoning” (source: Matt Pocock: code-review) |
Impeccable’s critique |
The design and its usability | “So you have two sub-agents, and they never see each other’s work” (source: Paul Bakaus: The Dark Arts of Skill Engineering) |
The three keep their reports apart, and Matt Pocock says why: “A blended verdict lets the passing axis hide the failing one.” (source: Matt Pocock: code-review) So I read them side by side, act on the findings that cite a rule or reproduce a bug, and stop, as Verify with gates explains.
Two commands, one name
Section titled “Two commands, one name”Claude Code’s review and the plugin’s share the name code-review, and the bare /code-review reaches only one of them: “one of them wins, and which one depends on how you installed” (source: Matt Pocock: code-review). The plugin’s docs are plain about it: “This is the most reported problem with the skill, and it is not fixed.” (source: Matt Pocock: code-review) Even the router’s main flow “closes out with /code-review” (source: Matt Pocock: the ask-matt skill file), by the bare name.
Matt Pocock does not rename his skills to dodge a built-in command: “The way through is namespaced invocation.” (source: Matt Pocock: Renaming skills to dodge built-in commands) So I type /mattpocock-skills:code-review in full, name it in full in every brief, and type /code-review only for Claude Code’s own. I run the plugin’s review from a fresh session, as its docs advise: “Prefer a fresh one.” (source: Matt Pocock: code-review) Claude Code’s own already runs in a context of its own.
In this redesign, each ticket’s branch goes to a separate agent that did not build it, which runs mattpocock-skills:code-review before the merge, and an Impeccable critique as well when the ticket changes the look. The run allows no sub-agent, so that review agent runs the two axes one after the other in one fresh context, and the critique’s design review before its detector: the builder and the review agent stay apart, and inside the review only the order separates the passes.
Sources
Section titled “Sources”- Paul Bakaus: The Dark Arts of Skill Engineering ai.engineer
- Matt Pocock: the retro skill file github.com
- Impeccable: the plugin's hooks.json github.com
- Impeccable: the hooks reference github.com
- Anthropic: Hooks reference code.claude.com
- Anthropic: Code review code.claude.com
- Matt Pocock: code-review aihero.dev
- Matt Pocock: the ask-matt skill file github.com
- Matt Pocock: Renaming skills to dodge built-in commands github.com