thermo-nuclear-code-quality-review
Skill1 starsChanged 39 days agoMITView on GitHub
Run an extremely strict maintainability review for abstraction quality, giant files, and spaghetti-condition growth. Use for a thermo-nuclear code quality review, thermonuclear review, deep code quality audit, or especially harsh maintainability review.
66 other projects use a version of this, 61 of them edited.
Adopted by
Most recently taken up by
- catesandrew/skillsedited, first seen Nov 8, 2026
- novuhq/novuedited, first seen Nov 8, 2026
- plannotator/dev-skillsedited, first seen Nov 8, 2026
- Sma1lboy/roveedited, first seen Nov 6, 2026
- ArchitektApx/cursor-skills-for-claudeedited, first seen Nov 1, 2026
- benbrackenbury/skillsedited, first seen Nov 1, 2026
Used with
Projects with it also use verify-this, handoff-implement and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
learnerLjSkillverify-this
Verify a claim with fresh local evidence: restate it falsifiably, capture baseline and treatment, compare artifacts, and return VERIFIED, NOT VERIFIED, or INCONCLUSIVE.
Also in 6 projects that use this
dorian-akhsSkillhandoff-implement
Creates or executes an implementation-grade handoff brief for a less capable model agent, including a measured context budget and a binding sub-agent orchestration plan. Activated explicitly via /handoff-implement.
Also in 3 projects that use this
AnasX7Skillbetter-interface
Combines all of the `better-*` skills into a single review across accessibility, layout, writing, typography, color and UI polish.
Also in 4 projects that use this
AnasX7Skillbetter-accessibility
Helps your project comply with accessibility standards and best practices.
Also in 4 projects that use this
- +4 more from AnasX7
Other versions66 projects use a version of this.
Word for word · 0
None found.
Edited · 61
- novuhq/novu★ 40k99% same
- nearai/ironclaw★ 13k99% same
- EvanBacon/serve-sim★ 2.9k100% same
- wannabespace/conar★ 1.5k98% same
- forcedotcom/salesforcedx-vscode★ 1k99% same
- deadlock-mod-manager/deadlock-mod-manager★ 58499% same
- chrisdoc/hevy-mcp★ 535100% same
- benchflow-ai/benchflow★ 363100% same
- Sma1lboy/rove★ 184100% same
- Dimon94/dverity★ 107100% same
51 more not listed
Wrote their own version · 5
- AnastasiyaW/claude-code-config★ 214same name
- AnastasiyaW/codex-claude-code-config★ 214same name
- malinskibeniamin/skills★ 4same name
- Pixxle/skills★ 1same name
- dorian-akhs/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository58 other files it gives its agents.
- architectSkill
- arenaSkill
- automate-meSkill
- benchmark-checklistSkill
- blast-radiusSkill
- browser-useSkill
- control-cliSkill
- control-uiSkill
- correctSkill
- create-verification-skillSkill
- cua-driverSkill
- deslopSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- maintain-verification-skillSkill
- no-commentsSkill
- poteto-modeSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-small-door-big-roomSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-tests-pay-rentSkill
- principle-type-system-disciplineSkill
- recallSkill
- reflectSkill
- setup-pstackSkill
- show-me-your-workSkill
- stacked-prsSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- thermo-nuclear-reviewSkill
- thermosSkill
- typescript-best-practicesSkill
- unslopSkill
- whySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
45 rules. 43 are common, 1 is distinctive, and 1 is very specific to this project.
43
Common
Most of the 65 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 9
Use this skill for an unusually strict review focused on implementation quality, maintainability, abstraction quality, and codebase health.
- Common: line 15
Start from this baseline:
- Common: line 28
Do not stop at "this could be a bit cleaner."
- Common: line 29
Look for opportunities to reframe the change so that whole branches, helpers, modes, conditionals, or layers disappear entirely.
- Common: line 30
Prefer the solution that makes the code feel inevitable in hindsight.
- Common: line 32
If you see a path to delete complexity rather than rearrange it, push hard for that path.
- Common: line 35
Treat this as a strong code-quality smell by default.
- Common: line 36
Prefer extracting helpers, subcomponents, modules, or local abstractions instead of letting a file sprawl past 1000 lines.
- Common: line 37
If the diff crosses that threshold, explicitly ask whether the code should be decomposed first.
- Common: line 38
Only waive this if there is a compelling structural reason and the resulting file is still clearly organized.
- Common: line 42
If a change adds "weird if statements in random places", treat that as a design problem, not a stylistic nit.
- Common: line 43
Prefer pushing the logic into a dedicated abstraction, helper, state machine, policy object, or separate module instead of tangling an …
- Common: line 44
Call out changes that make the surrounding code harder to reason about, even if they technically work.
- Common: line 47
If behavior can stay the same while the structure becomes meaningfully cleaner, push for the cleaner version.
- Common: line 48
Do not rubber-stamp "it works" implementations that leave the codebase messier.
- Common: line 52
Treat brittle, ad-hoc, or "magic" behavior as a code-quality problem.
- Common: line 58
Prefer explicit typed models or shared contracts over loosely-shaped ad-hoc objects.
- Common: line 59
If a branch relies on silent fallback to paper over an unclear invariant, ask whether the boundary should be made explicit instead.
- Common: line 62
Call out feature logic leaking into shared paths or implementation details leaking through APIs.
- Common: line 63
Prefer existing canonical utilities/helpers over bespoke one-offs.
- Common: line 67
If independent work is serialized for no good reason, ask whether the flow should run in parallel instead.
- Common: line 68
If related updates can leave state half-applied, push for a more atomic structure.
- Common: line 69
Do not over-index on micro-optimizations, but do flag avoidable orchestration complexity that makes the implementation more brittle.
- Distinctive: line 75
Prefer a small door into a big room: narrow interface, deep implementation.
- Common: line 124
When you identify a code-quality problem, prefer suggestions like:
- Common: line 126
Delete a whole layer of indirection rather than polishing it.
- Common: line 136
Delete wrappers that do not meaningfully clarify the API.
- Common: line 143
Do not be satisfied with "maybe rename this" feedback when the real issue is structural.
- Common: line 144
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.
- Common: line 149
Do not be rude, but do not soften major maintainability issues into mild suggestions.
- Common: line 150
If the code is making the codebase messier, say so clearly.
- Common: line 151
If the implementation missed an opportunity for a dramatic simplification, say that clearly too.
- Common: line 177
Do not flood the review with low-value nits if there are larger structural issues.
- Common: line 178
Prefer a smaller number of high-conviction comments over a long list of cosmetic notes.
- Common: line 182
Do not approve merely because behavior seems correct.
- Common: line 185
no clear structural regression
- Common: line 186
no obvious missed opportunity to make the implementation dramatically simpler when such a path is visible
- Common: line 187
no unjustified file-size explosion
- Common: line 188
no obvious spaghetti-growth from special-case branching
- Common: line 189
no obviously hacky or magical abstraction that makes the code harder to reason about
- Very specific: line 190
no unnecessary wrapper/cast/optionality churn obscuring the real design
- Common: line 191
no clear architecture-boundary leak or avoidable canonical-helper duplication
- Common: line 192
no missed opportunity for an obvious decomposition that would materially improve maintainability
- Common: line 194
Treat these as presumptive blockers unless the author can justify them clearly:
- Common: line 205
If those conditions are not met, leave explicit, actionable feedback and push for a cleaner decomposition.
“Common” is measured: kept by at least 6 in 10 of the 65 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Thermo-Nuclear Code Quality Review
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.
Core Prompt
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.
Non-Negotiable Additional Standards
Apply the baseline prompt above, plus these explicit review rules:
- Be ambitious about structural simplification.
- Do not stop at "this could be a bit cleaner."
- Look for opportunities to reframe the change so that whole branches, helpers, modes, conditionals, or layers disappear entirely.
- Prefer the solution that makes the code feel inevitable in hindsight.
- Assume there is often a "code judo" move available: a re-organization that uses the existing architecture more effectively and makes the change dramatically simpler and more elegant.
- If you see a path to delete complexity rather than rearrange it, push hard for that path.
- Do not let a PR push a file from under 1k lines to over 1k lines without a very strong reason.
- Treat this as a strong code-quality smell by default.
- Prefer extracting helpers, subcomponents, modules, or local abstractions instead of letting a file sprawl past 1000 lines.
- If the diff crosses that threshold, explicitly ask whether the code should be decomposed first.
- Only waive this if there is a compelling structural reason and the resulting file is still clearly organized.
- Do not allow random spaghetti growth in existing code.
- Be highly suspicious of new ad-hoc conditionals, scattered special cases, or one-off branches inserted into unrelated flows.
- If a change adds "weird if statements in random places", treat that as a design problem, not a stylistic nit.
- Prefer pushing the logic into a dedicated abstraction, helper, state machine, policy object, or separate module instead of tangling an existing path.
- Call out changes that make the surrounding code harder to reason about, even if they technically work.
- Bias toward cleaning the design, not just accepting working code.
- If behavior can stay the same while the structure becomes meaningfully cleaner, push for the cleaner version.
- Do not rubber-stamp "it works" implementations that leave the codebase messier.
- Strongly prefer simplifications that remove moving pieces altogether over refactors that merely spread the same complexity around.
- Prefer direct, boring, maintainable code over hacky or magical code.
- Treat brittle, ad-hoc, or "magic" behavior as a code-quality problem.
- Be skeptical of generic mechanisms that hide simple data-shape assumptions.
- Flag thin abstractions, identity wrappers, or pass-through helpers that add indirection without buying clarity.
- Push hard on type and boundary cleanliness when they affect maintainability.
- Question unnecessary optionality,
unknown,any, or cast-heavy code when a clearer type boundary could exist. - Prefer explicit typed models or shared contracts over loosely-shaped ad-hoc objects.
- If a branch relies on silent fallback to paper over an unclear invariant, ask whether the boundary should be made explicit instead.
- Question unnecessary optionality,
- Keep logic in the canonical layer and reuse existing helpers.
- Call out feature logic leaking into shared paths or implementation details leaking through APIs.
- Prefer existing canonical utilities/helpers over bespoke one-offs.
- Push code toward the right package, service, or module instead of normalizing architectural drift.
- Treat unnecessary sequential orchestration and non-atomic updates as design smells when the cleaner structure is obvious.
- If independent work is serialized for no good reason, ask whether the flow should run in parallel instead.
- If related updates can leave state half-applied, push for a more atomic structure.
- Do not over-index on micro-optimizations, but do flag avoidable orchestration complexity that makes the implementation more brittle.
- Judge module depth and seams (see
principle-small-door-big-room).- Flag shallow pass-through modules: an interface nearly as wide as its implementation, forwarding calls without owning a decision.
- Flag hypothetical seams: an interface, adapter port, or injection point with exactly one adapter is a hypothetical seam, not a real one. Two adapters (for example production and test) make a seam real.
- Apply the deletion test: if deleting the module only moves the same complexity into its callers, it was earning its keep; if the complexity vanishes, it was a pass-through.
- Prefer a small door into a big room: narrow interface, deep implementation.
- Judge new or changed tests against
principle-tests-pay-rent.- Apply its authoring gate and junk patterns to every test the diff adds or changes.
- Flag tests that re-assert the source (the expectation restates the implementation), mocks that implement the behavior being asserted, snapshot or structure tests that pin incidental shape, and tests that pass with the code deleted.
- A test must fail for a real regression and pay for its maintenance. Ask for deletion of tests that do not.
Primary Review Questions
For every meaningful change, ask:
- Is there a "code judo" move that would make this dramatically simpler?
- Can this change be reframed so fewer concepts, branches, or helper layers are needed?
- Does this improve or worsen the local architecture?
- Did the diff add branching complexity where a better abstraction should exist?
- Did a previously cohesive module become more coupled, more stateful, or harder to scan?
- Is this logic living in the right file and layer?
- Did this change enlarge a file or component past a healthy size boundary?
- Are there repeated conditionals that signal a missing model or missing helper?
- Is the implementation direct and legible, or does it rely on special cases and incidental control flow?
- Is this abstraction actually earning its keep, or is it just a wrapper?
- Did the diff introduce casts, optionality, or ad-hoc object shapes that obscure the real invariant?
- Is this logic living in the canonical layer, or did the diff leak details across a boundary?
- Is this orchestration more sequential or less atomic than it needs to be?
What to Flag Aggressively
Escalate findings when you see:
- A complicated implementation where a cleaner reframing could delete whole categories of complexity.
- Refactors that move code around but fail to reduce the number of concepts a reader must hold in their head.
- A file crossing 1000 lines due to the PR, especially if the new code could be split out.
- New conditionals bolted onto unrelated code paths.
- One-off booleans, nullable modes, or flags that complicate existing control flow.
- Feature-specific logic leaking into general-purpose modules.
- Generic "magic" handling that hides simple structure and makes the code harder to reason about.
- Thin wrappers or identity abstractions that add indirection without simplifying anything.
- Unnecessary casts,
any,unknown, or optional params that muddy the real contract. - Copy-pasted logic instead of extracted helpers.
- Narrow edge-case handling implemented in the middle of an already busy function.
- Refactors that technically pass tests but make the code less modular or less readable.
- "Temporary" branching that is likely to become permanent debt.
- Bespoke helpers where the codebase already has a canonical utility for the job.
- Logic added in the wrong layer/package when it should live somewhere more central.
- Sequential async flow where obviously independent work could stay simpler and clearer with parallel execution.
- Partial-update logic that leaves state less atomic than necessary.
Preferred Remedies
When you identify a code-quality problem, prefer suggestions like:
- Delete a whole layer of indirection rather than polishing it.
- Reframe the state model so conditionals disappear instead of getting centralized.
- Change the ownership boundary so the feature becomes a natural extension of an existing abstraction.
- Turn special-case logic into a simpler default flow with fewer exceptions.
- Extract a helper or pure function.
- Split a large file into smaller focused modules.
- Move feature-specific logic behind a dedicated abstraction.
- Replace condition chains with a typed model or explicit dispatcher.
- Separate orchestration from business logic.
- Collapse duplicate branches into a single clearer flow.
- Delete wrappers that do not meaningfully clarify the API.
- Reuse the existing canonical helper instead of introducing a near-duplicate.
- Make type boundaries more explicit so the control flow gets simpler.
- Move the logic to the package/module/layer that already owns the concept.
- Parallelize independent work when that also simplifies the orchestration.
- Restructure related updates into a more atomic flow when partial state would be harder to reason about.
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.
Review Tone
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?
Output Expectations
Prioritize findings in this order:
- Structural code-quality regressions
- Missed opportunities for dramatic simplification / code-judo restructuring
- Spaghetti / branching complexity increases
- Boundary / abstraction / type-contract problems that make the code harder to reason about
- File-size and decomposition concerns
- Modularity and abstraction issues
- Legibility and maintainability concerns
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.
Approval Bar
Do not approve merely because behavior seems correct. The bar for approval is:
- no clear structural regression
- no obvious missed opportunity to make the implementation dramatically simpler when such a path is visible
- no unjustified file-size explosion
- no obvious spaghetti-growth from special-case branching
- no obviously hacky or magical abstraction that makes the code harder to reason about
- no unnecessary wrapper/cast/optionality churn obscuring the real design
- no clear architecture-boundary leak or avoidable canonical-helper duplication
- no missed opportunity for an obvious decomposition that would materially improve maintainability
Treat these as presumptive blockers unless the author can justify them clearly:
- the PR preserves a lot of incidental complexity when there is a plausible code-judo move that would delete it
- the PR pushes a file from below 1000 lines to above 1000 lines
- the PR adds ad-hoc branching that makes an existing flow more tangled
- the PR solves a local problem by scattering feature checks across shared code
- the PR adds a shallow pass-through module or a seam with a single adapter
- the PR adds tests that fail the
principle-tests-pay-rentauthoring gate - the PR adds an unnecessary abstraction, wrapper, or cast-heavy contract that makes the design more indirect
- the PR duplicates an existing helper or puts logic in the wrong layer when there is a clear canonical home
If those conditions are not met, leave explicit, actionable feedback and push for a cleaner decomposition.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

