Refactor: $ARGUMENTS
Rules
- NEVER change behavior — only improve structure
- ALWAYS run tests before AND after
- Make small, incremental changes
- Each change should be independently verifiable
Steps
-
Run tests first — establish baseline
[test command]If tests fail BEFORE refactoring, STOP and tell the user.
-
Read the code to refactor and understand it fully
-
Read the tests for this code — understand what behavior is expected
-
**Identify
[Description truncada. Veja o README completo no GitHub.]