/quality-tools:solidfrom quality-tools
Provides SOLID design review rules (SRP, OCP, LSP, ISP, DIP) for code reviews, defining what counts as a real design finding vs. taste. Use when reviewing diffs, pull requests, or when asked for a SOLID or design review.
Ships in quality-tools. 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.
A design finding is worth reporting only when the design already costs something or will on the next ordinary change — a bug, an inconsistency, a change that has to touch many places, a unit that cannot be tested. Style, naming taste, "could be more elegant" and textbook purity are never findings.
Review the changed code and what it calls, read whole — not only the diff hunks. Judge the
change against the conventions the repository already follows (its AGENTS.md/CLAUDE.md,
existing seams and patterns). A repo that keeps small scripts procedural is not violating SOLID
by doing so.
One unit (function, class, module, service) has to change for two unrelated reasons. Name both reasons in the finding.
Adding the next variant (a check, a backend, a provider, a content type) requires editing a
switch/if chain in several places instead of one registration point (a map, a plugin
type, a tagged service, an event subscriber).
match in one place that is the registration point.An implementation that throws, no-ops or silently changes meaning for part of the contract
it claims, so that callers must know which concrete class they have (instanceof checks,
"not supported" exceptions, a subclass that ignores an argument).
Callers are forced to depend on methods they never use, or implementers must stub out half an interface. Cite the unused methods and the stubbing implementers.
Business logic hard-wired to a concrete I/O dependency (network, filesystem, database, clock,
child process, a static \Drupal::service() call inside a class that supports injection) so
that it cannot be tested or swapped without it — where the codebase already has a seam for
that dependency elsewhere (DI container, an injected client, a clock service). Without an
existing seam, report it only if it already blocks a test the change needs.
high — the design problem has already produced a bug or an inconsistency you can point
to (two branches of an if chain disagree, a stubbed method is called in production).medium — default: the next ordinary change will have to touch several places or cannot be
tested without real I/O.low — cleanup that would help but costs nothing today.Each finding carries:
SRP, OCP, LSP, ISP or DIP;file:line (every location for OCP);Verify each finding against the code before keeping it: re-read the lines and confirm the cost is real. Fewer, true findings beat a long list. A disagreement with the overall approach of a change is one finding, not a rewrite.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
solid-principles, code-review, design-review, srp, ocp, lsp, isp, dip
2 skills in this plugin
npx claudepluginhub siva01c/claude-plugins --plugin quality-toolsOther plugins' skills for the same job