Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By joowankimv1.0.0MITIn 2 marketplaces
Legacy code refactoring specialist - clean up your messy code with safe, test-driven refactoring
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
refactoring, legacy-code, code-smells, design-patterns, python, typescript, react, clean-code
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Safe, test-driven refactoring plugin for Claude Code
Legacy code cleanup with systematic assessment, behavior-preserving tests, and atomic changes.
# Add the marketplace
/plugin marketplace add joowankim/declutter
# Install the plugin
/plugin install declutter@declutter
/plugin install /path/to/declutter
/assess src/
Identifies code smells, complexity hotspots, and refactoring opportunities.
/declutter src/problematic-module.py
Automatically starts the 5-step workflow:
All tests pass, behavior is preserved, and code quality is improved.
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 |
| Command | Purpose |
|---|---|
/assess | Codebase quality assessment |
/declutter | Start refactoring workflow |
/migrate | Gradual migration |
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 |
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ /assess │ ──▶ │ /declutter │ ──▶ │ Done │
│ Analyze │ │ Refactor │ │ Improved │
└─────────────┘ └─────────────┘ └─────────────┘
│ │
▼ ▼
Assessment 5-Step Workflow
Report (Assess→Plan→Test→Execute→Verify)
See docs/ for detailed documentation:
MIT License - see LICENSE for details.
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground