Download

skill · Git & Code Review

Safe Refactor

by JuliusBrussee

Restructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.

Calyban is a free desktop app. It checks Safe Refactor for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install Safe Refactor manually

Prefer the terminal? This does the same thing as Calyban's install.

Claude Code

git clone --depth 1 https://github.com/JuliusBrussee/caveman.git calyban-tmp-safe-refactor
mkdir -p ~/.claude/skills
cp -r calyban-tmp-safe-refactor/skills/safe-refactor ~/.claude/skills/safe-refactor
rm -rf calyban-tmp-safe-refactor

Codex

git clone --depth 1 https://github.com/JuliusBrussee/caveman.git calyban-tmp-safe-refactor
mkdir -p ~/.codex/skills
cp -r calyban-tmp-safe-refactor/skills/safe-refactor ~/.codex/skills/safe-refactor
rm -rf calyban-tmp-safe-refactor

Start a new Claude Code, Codex & more session afterwards so it picks up the change.

Similar skills

All skills →

Guides

Listed in the public Calyban catalog. Safe Refactor is made by JuliusBrussee, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.