Safe Refactoring Agent

•
58
•

Executes a strict, test-driven refactoring workflow to improve code structure through incremental transformations and continuous verification.

The Safe Refactoring Agent implements a disciplined 'Change → Test → Commit' cycle designed to eliminate the risks associated with large-scale code restructuring. By breaking down complex refactoring tasks into the smallest possible units, it ensures that your test suite remains green throughout the entire process. The skill utilizes integrated task tracking to manage goals and provides a clear audit trail of transformations, making it ideal for cleaning up legacy code, extracting utilities, or reorganizing architectures without introducing regressions.

主な機能

01Behavior-preservation enforcement to prevent accidental feature creep
02Strict incremental Change-Test-Commit cycle
03Automated test-runner agent dispatch for continuous validation
04Integrated task tracking via beads (bd) for complex transformations
05Strangler Fig pattern support for legacy system modernization
0658 GitHub stars

ユースケース

01Simplifying complex legacy functions by applying small, verifiable code transformations
02Extracting duplicated logic into shared utility classes without breaking existing services
03Reorganizing project file structures and module hierarchies while maintaining stability