@juliusbrussee/safe-refactor

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

View in AI SkillSafe app
40986 downloads
0 stars
0 demos
SKILL.md
namesafe-refactor
descriptionRestructure code while preserving behavior. Use for extraction, consolidation, ownership moves, or cleanup where verification must bracket structural edits.

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.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@juliusbrussee/safe-refactor/verified)](https://skillsafe.ai/skill/@juliusbrussee/safe-refactor/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@juliusbrussee/safe-refactor/installs)](https://skillsafe.ai/skill/@juliusbrussee/safe-refactor/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@juliusbrussee/safe-refactor/scan)](https://skillsafe.ai/skill/@juliusbrussee/safe-refactor/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@juliusbrussee/safe-refactor/eval)](https://skillsafe.ai/skill/@juliusbrussee/safe-refactor/)