Safe refactor

SkillAI & models

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

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Safe refactor skill

About this capability

🪨 why use many token when few token do trick — Claude Code skill that cuts 65% of tokens by talking like caveman

What this skill tells your AI

The instructions your AI receives, as published by juliusbrussee/caveman in skills/safe-refactor/SKILL.md and read by ahel’s review.

Define behavior-preservation boundary and establish verification before structural edits.

  • Keep feature changes outside refactor.
  • Move one ownership boundary at a time.
  • Preserve public interfaces, failure behavior, ordering, and compatibility unless explicitly scoped.
  • Keep intermediate states buildable and testable.
  • Avoid dependency or configuration growth without correctness need.

Run same proof after change. Stop when behavior matches and requested structure is achieved.

Signals

GitHub stars
105k
Forks
6k
Last commit
Sep 2026
Installs
47k installs
Advanced
Catalog kind
skill
Gateway key
safe-refactor-juliusbrussee
Source
github.com/juliusbrussee/caveman