← ClaudeAtlas

simplify-codelisted

Sweeps the code changed this session for code smells (dead code, duplication, data clumps, misplaced responsibility, speculative generality) by spawning read-only sub-agents in parallel, then applies the fixes that simplify without changing behavior. One pass, not a loop; correctness belongs to harden-code. Use after a refactor or feature, or when the user says "simplify", "clean up", or "code quality pass".
LinardsLiepenieks/honecode · ★ 0 · Code & Development · score 72
Install: claude install-skill LinardsLiepenieks/honecode
# Simplify recently-changed code One quality pass over the code changed this session: read-only sub-agents surface code smells, you apply the ones worth applying. **Not a loop**: one pass, done. Correctness (crashes, data loss, contract changes) is `harden-code`'s job; this skill is simplicity only. If nothing changed, ask which scope to use. **The bar is simplicity.** The goal is clear, clean-cut features built on the codebase's established patterns, not bells and whistles, and no scaffolding for features that don't exist yet. If a simpler shape does the same job, or an existing pattern already covers it, that's the finding. ## Smells to surface - **Dead code**: unused functions, unreachable branches, orphaned exports, commented-out blocks. - **Duplicate code**: the same logic in two places, near-duplicate functions, repeated validation. - **Data clumps**: the same field group or shape redeclared inline across files that should be one shared type/schema. - **Misplaced responsibility**: logic in the wrong layer (business rules in transport, validation in storage, presentation in domain models); anything that violates the separation of concerns `CLAUDE.md` defines. - **Speculative generality**: abstraction, indirection, or config built for a future that hasn't arrived (per `CLAUDE.md`'s restraint rule). Leave alone: bugs, crashes, data loss (note them for `harden-code`, don't fix here); behavior-changing performance tweaks; and nits the formatter already handles. ## Proc