/clanker-skills:thermo-nuclear-code-quality-reviewfrom clanker-skills
Mandatory post-change coherence check with two distinct passes on the final candidate. Use proactively after source-code edits and before claiming a task is done, pushing, or opening a PR. Pass A audits ownership and boundaries; pass B attacks the design with counterfactual simplification and hidden-coupling questions.
Ships in clanker-skills. 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.
Read when SKILL.md points to them.
Review the exact candidate being shipped, not a remembered diff. Be demanding about correctness and maintainability without turning a minor patch into an unrelated architecture program.
Run this skill when source code changed and the task is approaching completion, push, or PR. Skip pure documentation, comment, issue-text, and mechanical rename changes with no executable effect; state the skip.
Resolve the task's real base from the active request or PR. Do not default to
main. Record the base SHA, HEAD SHA, dirty state, changed files, and candidate
fingerprint. Read the full changed files and the narrow owning context needed to
judge them.
This skill requires two named passes on the final diff. The passes must ask different questions; repeating the same rubric twice is correlated ceremony.
Ask whether the change is correct in the architecture that exists:
Fix blocking findings in one coherent batch. Then refreeze the candidate and run Pass A again if the edit invalidated it. When Pass A is clean on the current fingerprint, emit this exact completion token on its own line:
<thermo-review-complete>
Keep the candidate fingerprint fixed. Now assume the implementation works and try to find a materially simpler or safer shape:
A line-count threshold is a smell, not an oracle. Decompose only when the new boundary removes concepts or coupling and remains inside the authorized task. Do not create helpers, modules, policy objects, state machines, or generic dispatchers merely because they sound cleaner.
When Pass B is clean on the same current fingerprint, emit the completion token again:
<thermo-review-complete>
Use this precedence order:
Be ambitious in thought and bounded in mutation. If a better architecture requires changing unrelated owners, public contracts, or many untouched files, record it as follow-up unless the current implementation would otherwise be unsafe or fundamentally wrong.
Prioritize:
Do not flood the review with preferences. A blocking finding must name the candidate location, violated contract, reachable harm, and smallest acceptable remedy. A simplification finding must name the measurable concept, branch, wrapper, dependency, or coupling it deletes.
Any source-code edit after a thermo credit changes the fingerprint and resets the two pass credits. Batch accepted edits before rerunning. Do not restart unrelated discovery or runtime checks unless their stated assumptions changed.
If two passes keep producing the same concern without new evidence, do not add
another pass. Create an executable counterexample, inspect a new authoritative
boundary, narrow the claim to partial, or ask for the authority needed to
expand scope.
## Thermo
**Candidate:** <base/head/fingerprint>
**Pass A — ownership/boundaries:** clean | <blocking finding>
**Pass B — counterfactual simplification:** clean | <blocking finding>
**Accepted changes:** <only decision-relevant items>
**Follow-up, outside contract:** <none or bounded item>
**Coverage:** verified | partial — <gap>
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub canerkocak/clanker-skills --plugin clanker-skills22 skills in this plugin
/adaptive-code-orchestratorAdaptively choose single-agent work, parallel reconnaissance, dependency waves, or independent review for reliable repository changes. Use for uncertain, cross-cutting, multi-file, long-running, or high-risk coding work where agent coordination may improve evidence or speed, or when the user asks how much agent coordination to use. When explicitly invoked for a small localized edit, stay single-agent and keep the workflow minimal.
/analyze-data-qualityAssess whether structured data, financial equations, state-machine accounting, query results, dashboards, or analytical evidence are trustworthy enough to use. Use to check data quality, reconcile conflicting sources or metric definitions, adjudicate financial-data findings, or decide whether evidence is safe to cite./ast-grep-callchain-auditPerform strict AST-based call-chain and code-quality audits with ast-grep. Use for code reviews, refactors, unfamiliar code, dead parameters, duplicate helpers, wrong call-site usage, stale functions, AI-generated slop, or multi-rail and multi-surface changes.
/better-englishLine-edit English prose when the user wants to tighten a draft, cut filler, or remove repetition. Preserve the writer's meaning and voice.
/call-chain-invariantsClassify which discovered product surfaces actually share an invariant before claiming a fix is complete. Use for multi-rail, admin/app, API/UI, lifecycle, explorer, fee, status, or repeated-state bugs where a one-surface patch may leave a reachable sibling broken. Consume the semantic blast-radius graph; do not assume a hard-coded chain or UI matrix applies.
/codebase-searchTrace repository behavior with a read-only Astra low/fast Codex session. Use for implementation searches, call-chain analysis, and source-backed code questions when delegation is permitted. Handle simple known-file lookups directly.