Refactor Skill Quick Ref: Safe, incremental refactoring with test verification at every step. One transformation, one test run, one commit. Never batch. YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it. Modes 1. Target Mode (default) Refactor a specific file, function, or class. You identify what needs improving, plan the steps, and execute them one at a time with test verification. 2. Sweep Mode Find and fix complexity hotspots across a directory, package, or entire project. Runs first to identify targets, then works through them in priority order (highest complexity first). can be: -…