Behavior-preserving restructuring of code that is NOT in your current diff — extract modules, rename across files, untangle abstractions, pay down tech debt. For tightening just-changed code use /zero-tech-debt instead. Triggers "refactor X", "reorganize this module", "restructure", "extract Y from Z", "pay down tech debt".
$npx -y skills add darkroomengineering/cc-settings --skill refactorInstalls into the current project.
Run `npx skills use "https://github.com/darkroomengineering/cc-settings" --skill "darkroomengineering/cc-settings/refactor"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/darkroomengineering/cc-settings" that are relevant to the current task. Run `npx skills add "https://github.com/darkroomengineering/cc-settings"` and select the relevant skills, then follow their instructions.