/essentials:thermo-nuclear-code-quality-reviewfrom essentials
Runs an unusually strict maintainability review focused on abstraction quality, giant files, and spaghetti-condition growth. Use for deep code quality audits or harsh maintainability reviews, not ordinary review requests.
Ships in essentials. 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.
Use this skill for an unusually strict review focused on implementation quality, maintainability, abstraction quality, and codebase health.
Above all, this skill should push the reviewer to be ambitious about code structure. Do not merely identify local cleanup opportunities. Actively search for "code judo" moves: restructurings that preserve behavior while making the implementation dramatically simpler, smaller, more direct, and more elegant.
This skill is the canonical rubric. There are two ways it gets used:
/essentials:thermo-nuclear-code-quality-review) — gather the
review scope yourself, then apply the rubric below in this session:
git rev-parse --abbrev-ref HEADgit diff main...HEAD (fall back to git diff HEAD for
uncommitted work if there is no branch diff)thermo-nuclear-code-quality-review agent — the agent loads
this skill as its complete rubric and applies it to the diff and file
contents in its prompt. Prefer the agent when you want the review to run in
an isolated context (e.g. dispatched in parallel, or to keep the main
session uncluttered).Apply the rubric only to what the diff and current file contents show. Trace cross-file impact when a change touches a module boundary.
Start from this baseline:
Perform a deep code quality audit of the current branch's changes. Rethink how to structure / implement the changes to meaningfully improve code quality without impacting behavior. Work to improve abstractions, modularity, reduce Spaghetti code, improve succinctness and legibility. Be ambitious, if there is a clear path to improving the implementation that involves restructuring some of the codebase, go for it. Be extremely thorough and rigorous. Measure twice, cut once.
Apply the baseline prompt above, plus these explicit review rules:
Be ambitious about structural simplification.
Do not let a PR push a file from under 1k lines to over 1k lines without a very strong reason.
Do not allow random spaghetti growth in existing code.
Bias toward cleaning the design, not just accepting working code.
Prefer direct, boring, maintainable code over hacky or magical code.
Push hard on type and boundary cleanliness when they affect maintainability.
unknown, any, or cast-heavy code when a clearer type boundary could exist.Keep logic in the canonical layer and reuse existing helpers.
Treat unnecessary sequential orchestration and non-atomic updates as design smells when the cleaner structure is obvious.
For every meaningful change, ask:
Escalate findings when you see:
any, unknown, or optional params that muddy the real contract.When you identify a code-quality problem, prefer suggestions like:
Do not be satisfied with "maybe rename this" feedback when the real issue is structural. Do not be satisfied with a merely cleaner version of the same messy idea if there is a plausible path to a much simpler idea.
Be direct, serious, and demanding about quality. Do not be rude, but do not soften major maintainability issues into mild suggestions. If the code is making the codebase messier, say so clearly. If the implementation missed an opportunity for a dramatic simplification, say that clearly too.
Good phrases:
this pushes the file past 1k lines. can we decompose this first?this adds another special-case branch into an already busy flow. can we move this behind its own abstraction?this works, but it makes the surrounding code more spaghetti. let's keep the behavior and restructure the implementation.this feels like feature logic leaking into a shared path. can we isolate it?this abstraction seems unnecessary. can we just keep the direct flow?why does this need a cast / optional here? can we make the boundary more explicit instead?this looks like a bespoke helper for something we already have elsewhere. can we reuse the canonical one?i think there's a code-judo move here that makes this much simpler. can we reframe this so these branches disappear?this refactor moves complexity around, but doesn't really delete it. is there a way to make the model itself simpler?Prioritize findings in this order:
Do not flood the review with low-value nits if there are larger structural issues. Prefer a smaller number of high-conviction comments over a long list of cosmetic notes.
Do not approve merely because behavior seems correct. The bar for approval is:
Treat these as presumptive blockers unless the author can justify them clearly:
If those conditions are not met, leave explicit, actionable feedback and push for a cleaner decomposition.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nicknisi/claude-plugins --plugin essentials6 skills in this plugin
/explain-diffProduce a rich, self-contained HTML explainer for a code change — deep background, core intuition with diagrams, a guided code walkthrough, and an interactive quiz. Use whenever the user asks to explain or deeply understand a diff, PR, branch, or commit — "explain this PR", "walk me through this change", "what does this diff actually do", "make an explainer for this branch" — or wants a shareable document that teaches someone else what changed and why. Output is an HTML file opened in the browser, not a chat reply./handoffCompact the current conversation into a handoff document for another agent to pick up. Use when the user says "hand this off", "wrap up", "save context", "continue later", "pass this to another session", "I need to stop here", "pick this up later", or when a session is ending with unfinished work. Also use when context is getting long and the user wants to start fresh without losing progress./prototypeBuild a throwaway prototype to answer a design question before committing to real implementation. Generates either a runnable terminal app (for state machines, data models, business logic) or several radically different UI variations on one route (for visual/layout decisions). Use when the user wants to prototype, spike, POC, sanity-check a data model, mock up a UI, explore design options, or says "prototype this", "spike this out", "let me play with it", "try a few designs", "sketch this in code", "I want to try something before building it for real", "quick and dirty version", or "validate this approach" — even if they don't use the word "prototype."/socratic-tutorSocratic tutor that drills the user until they deeply understand a change — the problem, the solution, the design decisions, the edge cases, and what it impacts. Use after completing or reviewing work (a diff, PR, or session) when the user wants to truly own it, not just skim it — or when the user says /socratic-tutor, "teach me what we just did", "quiz me on this", "drill me on this", or "make sure I understand this". Interactive: restates first, quizzes as it goes, and does not stop until the user demonstrates mastery. For a written explainer to read or share instead of a live quiz, use explain-diff./squad-reviewReview the current branch with six specialist lenses (security, correctness, conventions, tests, architecture, duplication), then put every finding through an adversarial verifier that tries to refute it — so what reaches you has already survived a skeptic. Use when the user asks for a thorough, deep, or paranoid review, a review before merging or shipping, a "real" review, or wants to know what a review would catch that a quick pass misses. Costs 12 agents; for a fast single-pass read, use the built-in code-review skill instead.Other plugins' skills for the same job