safe-refactorby Julius BrusseeDevelopmentGitHub stars: 109k
Safe Refactor skill: what it does and how to install it
Restructures code while preserving behaviour, with verification before and after each structural edit.
Install
$ npx skills add JuliusBrussee/caveman --skill safe-refactorRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
Restructures code while preserving behaviour, with verification before and after each structural edit.
Similar skills
- Systematic DebuggingMakes the agent find the root cause of a bug, test failure or unexpected behaviour before it proposes a fix.
- Verification Before CompletionRequires the agent to run verification commands and confirm the output before it claims that work is complete or passing.
- TDDBuilds features and fixes bugs test-first with the red-green-refactor loop.