auto-refactor
Installation
SKILL.md
Structural Refactoring — What Autonomous Streams Get Wrong
Streams optimize for "get it working." They produce correct code that's structurally lazy — everything in one file, logic inlined where it's used, identical patterns copy-pasted across streams. This skill catches those structural problems and fixes them before review.
This is not about code quality (auto-coding handles that). This is about where code lives and how it's organized.
When to Trigger
This skill activates as a dedicated refactoring stream after all implementation streams complete but before Final Validation. It operates on the full codebase with all dependencies resolved.
It also auto-triggers when you encounter files exceeding the split thresholds during any code review or modification.