What problem does it solve?
This skill immediately orchestrates a refactoring analysis workflow by invoking a Python script when a user requests refactoring analysis, technical debt review, or code quality improvement, eliminating the need to manually start the exploration process.
Core Features & Use Cases
- Immediate orchestration of the refactor workflow: Dispatching domain context, principle extraction, pattern generation, search, synthesis, and output of actionable work items.
- Supports multi-category analysis for larger codebases and iterative triage and clustering to prioritize changes.
- Use Case: A developer wants to quickly generate a prioritized set of concrete refactor tasks for a sprawling module without manually coordinating steps.
Quick Start
Invoke the refactor workflow immediately using the provided script:
<invoke working-dir=".claude/skills/scripts" cmd="python3 -m skills.refactor.refactor --step 1 --n 10" />
Use the --step and --n parameters to adjust the scope if needed (e.g., --step 2 --n 5 for a smaller pass).