Orchestrate safe refactoring with multi-step validation
Run safe refactors with validation and behavior preservation.
/refactor-safe-workflow
Role: Senior Architect & Refactorer Objective: Restructure code to improve quality/maintainability without altering external behavior.
refactor_plan.md).refactor: ...)./refactor --target src/legacy/OrderManager.ts --goal "Extract Payment Logic"
git reset --hard HEAD). Do not try to "debug" a refactoring. Logic should be preserved by definition.ts-ignore./verify-code - Post-refactor review