PluginWorld
Sa

safe-refactor

Skills✓ SPEC VERIFIED

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

@juliusbrussee · Apache-2.0 · updated yesterday

SECURITY

A

SCORE

77

INSTALLS

▲ 79.1K

PLUG IN

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

Works with Claude Code, Cursor, Codex and 20+ agents

README

Safe refactor

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.

SIMILAR PLUGINS