Repository navigation
This release integrates the core principles of thermonuclear code quality audits and radical structural simplification directly into code-review, refactoring, and test-driven-development.
🚀 Highlights & Architectural Upgrades
1. code-review (v1.1.0 → v1.2.0)
- "Code Judo" Structural Simplification Lens: Reviews now actively evaluate whether a change deletes complexity rather than merely rearranging it. Refactorings that merely shuffle lines into helper functions or introduce thin wrappers are flagged.
- 1,000-Line File-Growth Boundary: Established a hard quality smell when a PR pushes a target file from under 1k lines to over 1k lines. Requires decomposition prior to or alongside the change.
- Anti-Spaghetti & Ad-Hoc Branching Gate: Flags ad-hoc boolean flags, one-off modes, and special-case
ifstatements bolted onto existing shared workflows ("weird if statements in random places"). - Presumptive Blockers: Explicitly codifies conditions that presumptively block PR approval (file-size sprawl, missed radical simplification, canonical helper duplication, leaky layer boundaries).
- Dual Review Modes: Standard review (continuous improvement baseline) vs. Deep Quality Audit / Thermo-Nuclear mode (zero tolerance for incidental complexity).
2. refactoring (v1.0.0 → v1.1.0)
- Fourth Quality Gate (
simplification-gate): Added to complementrisk-gate(CRAP < 10),clone-check(duplication < 80%), andmutant-gate. Enforces net conceptual reduction over incidental complexity. - Ban on Thin Wrappers & Identity Abstractions: Prohibits pass-through layers, trivial adapters, and wrappers that add indirection without buying clarity or domain boundary protection.
- Canonical Reuse Discipline: Enforces reusing existing project utilities rather than introducing bespoke, near-duplicate helpers.
- State Model Simplification: Encourages reframing data and state models to eliminate branching altogether rather than distributing
if/elsechecks across helper functions.
3. test-driven-development (v1.1.0 → v1.2.0)
- Anti-Pattern: Green-Phase Accretion (Conditional Spaghetti): Identifies the anti-pattern of turning tests green by accumulating ad-hoc conditionals, flags, and special cases in existing paths without refactoring them.
- Scaffolding Cleanup Rule: Minimal code written during the Green phase is treated as temporary scaffolding that must be eliminated or promoted to first-class domain concepts before starting the next Red cycle.
- File Growth Ceiling in Slicing: Prevents vertical test slices from causing God-class file bloat across iterations.
📦 Changed Files
code-review/SKILL.md&code-review/README.mdrefactoring/SKILL.md&refactoring/README.mdtest-driven-development/SKILL.md&test-driven-development/README.mdREADME.md