/backpressured:general-code-reviewfrom backpressured
Reviews diffs for correctness/logic defects, complexity/reuse issues, and test-quality gaps. The default code-review dimension covering edge cases, error handling, concurrency, duplication, and dead code.
Ships in backpressured. 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 machine the producer ran so a human wouldn't have to be the one to catch this. Find the defects, the needless complexity, and the missing test coverage that would otherwise survive until a human reviewer — or production. Report what is actually wrong with evidence, not stylistic opinions.
This is the catch-all reviewer covering three dimensions. Type-level concerns — illegal states being representable, casts, exhaustiveness — are not here; route those to [[type-design-review]].
backpressured code-review subagent is reviewing a diff (per-iteration or whole-changeset) and needs correctness, simplicity, and test-quality coverage.Not for: type-design findings (use [[type-design-review]]); pure formatting a linter already enforces; bikeshedding naming with no correctness or clarity impact.
Does it actually do the right thing, on the unhappy paths too?
== vs ===, mutating a collection while iterating, incorrect early return, assumptions that the data was already validated upstream (was it?).Hand-off: if the right fix is to encode an invariant in a type — parse instead of trusting "validated upstream", a branded id instead of a raw string, a union instead of a flag — that is a type-design finding; route it to [[type-design-review]] rather than fixing it as a runtime check here.
Could this be smaller, clearer, or stop repeating itself? (Same lens as /simplify.)
Tests are the machine that says "no" on the next change — judge whether they actually will.
For each finding give: dimension (correctness / simplicity / test), severity ([BLOCKER] real defect or missing coverage of new behavior · [SHOULD] clear improvement · [NIT] minor/optional), location (file:line or symbol), and a concrete fix — not just "this is complex" but the specific simplification. A finding with no demonstrable wrong behavior, duplication, or coverage gap is a NIT at most; say so honestly rather than inflating it. Severity must be earned by evidence.
| Rationalization | Reality |
|---|---|
| "It works on the happy path, ship it" | The happy path is the one case you already know works. Review is for the others. |
| "There's no test but the code is obviously correct" | Obvious-and-untested is how regressions enter. New behavior needs a test that would catch its breaking. |
| "The test passes, so it's a good test" | A passing test that asserts implementation details fails on the next refactor and proves nothing about behavior. |
| "It's a bit duplicated but extracting is overkill" | Two copies drift. If the logic is identical and load-bearing, name it once. |
| "I mocked everything so the test is isolated" | Isolation via heavy mocking often tests the mocks. Test through real collaborators; mock only true boundaries. |
| "Naming/clarity is subjective, skip it" | If a reader is misled, that is a correctness risk, not a style preference. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-review, diff-review, defect-detection, logic-review, test-quality
npx claudepluginhub lucasfcosta/backpressured --plugin backpressured9 skills in this plugin
/backpressured-configSets up backpressure for a project — detects its check/run commands, writes or edits a BACKPRESSURE.md, verifies Playwright, and installs the MCP servers the loop uses. Runs ONLY when the user explicitly invokes `/backpressured:config`; never auto-trigger it./backpressuredRuns a backpressured automated development loop. Use it ONLY when the user explicitly mentions "backpressured" or "backpressure" — e.g. asking for a "backpressured" loop/run, "do this backpressured", or invoking it by that name — or runs the `/backpressured:goal` command. A bare `/goal`, or any goal-like request that does not mention backpressure, does NOT trigger this loop./manual-testingVerifies a feature works by running the real app, not by trusting green tests. Use when a backpressured loop reaches the before-done gate (Phase 3) and needs to confirm new behavior end-to-end — curling live API endpoints and driving a real browser via Playwright — including the cheap unhappy paths, before the task is called done./plan-reviewReviews implementation plans during iterative backpressured development. Use when a backpressured loop's Phase 1 reviewer subagent is judging whether a lightweight implementation plan's approach/architecture is sound before any code is written — approving it or sending it back with approach-level concerns./pr-monitoringUse after a pull request has been opened and the task is not finished until it lands. Triggers on "PR is open", "CI is running", "is it merged yet", a PR that is green but not merged, fresh CI that might still flip, or being tempted to report a task done at PR-open. GitHub / gh CLI based./running-benchmarksUse when a backpressured loop needs to run benchmarks on a performance-sensitive project and decide whether a change is a regression, an improvement, or a wash — per-iteration sanity checks and the full pre-done run.Other plugins' skills for the same job