/howells-skills:fettlefrom howells-skills
Strict structural review of diffs or codebases to find restructurings that delete complexity and flag real security, performance, or data risks. Reports findings then fixes what you pick.
Ships in howells-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A demanding review of structure. The question is not "could this be a bit cleaner?" but "is there a reframing that makes whole branches, modes, helpers or layers disappear?" Behaviour stays; complexity goes.
fettle: uncommitted changes, else the branch against the default branch. Trace callers and affected paths beyond the changed lines. No changes: say so; don't fall back to the whole repo.fettle whole codebase: every authored source root, skipping dependencies, generated and vendored code. Look first where git churn is highest.in <path> narrows either. A named focus (security, performance, state machines) limits the report to that concern within the scope; anything Critical or High outside it still gets one line. with scores adds a scorecard: read references/scorecard.md before scoring.Be ambitious. Look for the code-judo move: a reorganisation that uses the existing architecture so the change becomes dramatically smaller and more direct. Prefer deleting complexity to moving it around; a refactor that leaves the reader holding as many concepts as before is not a simplification.
Flag hard:
any, unknown, needless optionality, loosely shaped objects, silent fallbacks papering over an unclear invariant.state machines). Booleans only valid in certain combinations (isLoading, isError, data), status strings compared by hand in several places, effect chains that step the app from one state to the next, nullable fields whose presence means "we're in mode X", impossible states the types still allow. Direction: one explicit model (a discriminated union, a reducer or a state chart) that makes the impossible states unrepresentable.Remedies, most ambitious first: delete the layer; reframe the state model so the conditionals vanish; move the ownership boundary so the feature extends an existing abstraction; turn special cases into one default flow; replace condition chains with a typed model or dispatcher; separate orchestration from business logic; split the file; reuse the canonical helper. Don't settle for "maybe rename this" when the problem is structural.
Working code is not the bar. Structure passes only with no structural regression, no visible path to a dramatically simpler version left untaken, no unjustified file growth, no spaghetti, no wrapper or cast churn, and no boundary leak or helper duplication. Otherwise state the cleaner decomposition: which pieces, split along which seam.
stage: unconfirmed. Don't demand production hardening of an experiment.mastraudit. Rendered behaviour: fieldtest.file:line, no fixes". Recheck every delegated claim in source before reporting it: helpers over-report intended or recorded behaviour as defects, cite the wrong file or line, and duplicate each other.Lead with a one-line verdict, then scope (base or revision) and stage. Group findings into clusters, the findings one change would fix together, and number the clusters: the numbers are what the user picks from. Order: confirmed security or data-loss danger, then structural regressions, missed code-judo, spaghetti growth, boundary and type problems, file size, modularity, legibility. Prefer a few high-conviction findings; drop nits while bigger problems stand.
## 1. <the change, in a few words>
[severity] path/to/file:line
Cost: what it breaks or makes harder, and where.
Direction: the simpler structure or fix.
Keep: the behaviour or contract that must survive.
Excerpt: the exact source that shows it.
Be direct; don't soften a structural problem into a suggestion. The register:
this pushes the file past 1k lines. can we decompose this first?this adds another special case to an already busy flow. can we move it behind its own abstraction?this refactor moves complexity around but doesn't delete it. can the model itself get simpler?i think there's a code-judo move here: reframe this so these branches disappear.End with coverage: areas and risks examined, checks run, what was sampled or skipped, leads left unconfirmed, and leads rejected with one line each on why. Never present a partial pass as a whole-codebase review.
Close with one line: Fix all, fix <cluster numbers>, or leave it? Mark a cluster that won't fit one session "(too big for one session)" in its heading. That line is the only question or offer in the report.
On "fix all" or cluster numbers, work those clusters in report order, straight from the report: no plan, no re-review. Confirmed findings only; unconfirmed leads stay leads. "Fix all" skips clusters marked too big and says so.
Per cluster:
Finish with one line per cluster: done, or skipped and why, plus the files touched.
Asked for tracker items: one per cluster, updating an existing item where one covers it; the body is the cluster as reported.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub howells/skills --plugin howells-skills33 skills in this plugin
/armatureTurn a web app that scrolls like a document into an app shell with fixed chrome and panes that scroll on their own. Use when headers, toolbars or filters scroll out of view. Not for visual polish (`chiaroscuro`) or small-screen layout (`reflow`)./ask-howellsRoute a situation to the skills in this collection and the command to type. Not for doing the work./blenderInspect, edit and render Blender scenes and films through the Blender MCP or headless CLI. Not for Remotion films (`rostrum`)./browseDrive the user's real Chromium browser (logins, tabs, extensions) via the browse MCP: logged-in/JS sites, forms, screenshots, recordings, HAR capture, and 2FA/payment handoffs. Not for QA (`fieldtest`) or native Mac apps (`computer-use`)./chiaroscuroDesign, build, polish or critique web UI in Tailwind v4. Use when an interface should look gorgeous, looks generic or unfinished, or feels off. Not for design options (`maquette`), app shells (`armature`), screen sizes (`reflow`), Paper (`paste-up`) or QA (`fieldtest`)./componentizeConsolidate duplicated UI into shared components, split god files or extract packages. Not for redesign (`chiaroscuro`), typography (`typecase`), structural review (`fettle`) or behaviour-preserving cleanup (`unslop`).