joowankim/declutter
joowankim/declutter · 0 stars · 1 plugin
Marketplace Safe, test-driven refactoring plugin for Claude Code
Install
/plugin marketplace add joowankim/declutterRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 1
After adding the marketplace, install one with /plugin install <name>@declutter.
- 1declutterLegacy code refactoring specialist - clean up your messy code with safe, test-driven refactoring
/plugin install declutter@declutter
Files
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.
{
"name": "declutter",
"owner": {
"name": "Joowankim",
"email": "contact@example.com"
},
"metadata": {
"description": "Legacy code refactoring plugins",
"version": "1.0.0"
},
"plugins": [
{
"name": "declutter",
"source": "./",
"description": "Legacy code refactoring specialist - clean up your messy code with safe, test-driven refactoring",
"version": "1.0.0"
}
]
}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