juliusbrussee/caveman2 files

Safe Refactor

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

Specification
Skill ID
juliusbrussee/caveman/safe-refactor
Publisher
juliusbrussee
Repository
caveman
Installs
2,256
Files
2
Synced
Sep 16, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

juliusbrussee/caveman/safe-refactorInstalls these files
  • SKILL.md
  • agents/openai.yaml

What this skill tells the agent

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.