refactor
Installation
SKILL.md
Refactor Bot
Use this skill to run a full refactor workflow from a single command like /refactor interactive-terminal/src/cxxqt_bridge "split monolith into focused modules".
Behavior
When invoked, run this sequence:
-
Parse target + goal
- Target module/path from first argument
- Optional objective from remaining arguments
- If missing objective, default to: improve structure while preserving behavior
-
Start a Project Memory plan
- Register workspace using
memory_workspace(action: "register") - Create a new
refactorplan with clear goals and success criteria - Store initial request via
memory_context(action: "store_initial")
- Register workspace using