ClaudeCodeMod

All shelves / Marketplaces

joowankim/declutter

joowankim/declutter · 0 stars · 1 plugin

Marketplace Safe, test-driven refactoring plugin for Claude Code

Install

In Claude Code
/plugin marketplace add joowankim/declutter

Run inside Claude Code, then install plugins from it. Check the repo's README before you run it.

Open the repo

Plugins 1

After adding the marketplace, install one with /plugin install <name>@declutter.

  1. 1declutterLegacy code refactoring specialist - clean up your messy code with safe, test-driven refactoring/plugin install declutter@declutterv1.0.0

Files

README.md

Declutter

Safe, test-driven refactoring plugin for Claude Code

Legacy code cleanup with systematic assessment, behavior-preserving tests, and atomic changes.


Installation

From Marketplace
# Add the marketplace
/plugin marketplace add joowankim/declutter

# Install the plugin
/plugin install declutter@declutter
From Local Directory
/plugin install /path/to/declutter

Quick Start (5 minutes)

1. Assess Your Codebase
/assess src/

Identifies code smells, complexity hotspots, and refactoring opportunities.

2. Start Refactoring
/declutter src/problematic-module.py

Automatically starts the 5-step workflow:

  • Assess → Plan → Test Harness → Refactor → Verify
3. Check Results

All tests pass, behavior is preserved, and code quality is improved.


Iron Laws

Declutter follows three iron laws:

Iron Law Meaning
No refactoring without assessment Never change code before understanding it
No code changes without tests Capture behavior with characterization tests first
No completion without verification Confirm all tests pass

Commands

Command Purpose
/assess Codebase quality assessment
/declutter Start refactoring workflow
/migrate Gradual migration

Agent System

Declutter uses specialized agents:

Agent Role Model
declutter-analyzer Code analysis Sonnet
declutter-smell-detector Smell detection Haiku
declutter-executor Refactoring execution Sonnet
declutter-reviewer Final verification Opus

Workflow

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   /assess   │ ──▶ │  /declutter │ ──▶ │   Done      │
│  Analyze    │     │  Refactor   │     │  Improved   │
└─────────────┘     └─────────────┘     └─────────────┘
       │                   │
       ▼                   ▼
  Assessment          5-Step Workflow
   Report         (Assess→Plan→Test→Execute→Verify)

Documentation

See docs/ for detailed documentation:


License

MIT License - see LICENSE for details.

Facts

Kind
Marketplace
Repo
joowankim/declutter
Group
Uncategorized
Stars
0
Marketplace name
declutter
Owner
Joowankim
License
MIT
Language
JavaScript
Created
2026-01-31
Last push
2026-01-31
Plugins
1

Next on this shelf

  1. 2288joshsymonds/gambitjoshsymonds/gambit0
  2. 2289Jrakru/marketplace_UIJrakru/marketplace_UI0
  3. 2290jsemldonado/photo-mcpjsemldonado/photo-mcp0
  4. 2291jsperger/claude-ty-lspjsperger/claude-ty-lsp0
  5. 2292jsvana/asc-crash-fetcherjsvana/asc-crash-fetcher0
  6. 2293jtsylve/claude-experimentsjtsylve/claude-experiments0