SKILL107.6K installs115.3K

Safe Refactor

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

Type
Skill
Author
juliusbrussee
Category
Code Review
GitHub stars
115.3K
Installs
107.6K
Last updated
November 2, 2026

Install

npx skills add https://github.com/juliusbrussee/caveman --skill safe-refactor

Use cases


Frequently Asked Questions

What kinds of changes does Safe Refactor cover?

Extraction, consolidation, ownership moves, and cleanup.

How does it keep behavior intact?

Verification brackets the structural edits so the code's behavior is preserved.

Does it change what the code does?

No, the goal is to restructure without changing behavior.


About this skill

Restructures code while preserving behavior, with verification bracketing the structural edits. Applies to extraction, consolidation, ownership moves, and cleanup. The goal is to make structural changes without changing what the code does.

Summary written with AI assistance from the project's public description.


Categories


More from juliusbrussee


Similar Skills