What problem does it solve?
This Skill provides a structured approach to plan and execute code refactors, improving maintainability, reducing complexity, and strengthening type safety through a guided multi-agent workflow.
Core Features & Use Cases
- Structured, multi-agent refactor workflow analyzes code, evaluates alternatives, and creates implementation plans.
- Parallel execution and verification across agents to expedite refactoring while preserving safety.
- Documentation generation (ANALYSIS.md, PLAN.md, METRICS.md) and traceable roll-back plans for changes.
Quick Start
Immediate actions to start refactoring:
- Direct handling: /refactor <path> - provide a clear scope
- Delegate to @refactor-advisor: Task({ subagent_type: 'refactor-advisor', model: 'sonnet', prompt: '리팩토링 계획 수립', description: '인증 모듈 리팩토링' })
The actual steps will create a new folder under .claude/refactor/00.[module]/ with ANALYSIS.md, PLAN.md, METRICS.md and begin implementation after plan confirmation.