Refactor

Refactor code while maintaining behavior Use when this capability is needed.

tomevault-io Updated

File contents

Refactoring Workflow

Acceptance Criteria

  • All existing tests still pass
  • No change in external behavior
  • Code is cleaner/more maintainable
  • No new linting errors

Steps

  1. Run existing tests to establish baseline
  2. Identify refactoring opportunities
  3. Make incremental changes
  4. Run tests after each change
  5. If tests fail, revert and try different approach
  6. Document what was refactored and why

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/gabino75--nerv--refactor commit e2f0fd9cb7

Frequently asked questions

npx skillmds@latest add tomevault-io/refactor-2