<< All versions

Skill v1.0.0

currentAutomated scan100/100
xingtu1996/dsh-xingtu-skills/safe-refactor
──Details
PublishedSeptember 27, 2026 at 09:17 AM
Content Hashsha256:cd52867aba26aafb...
Git SHA439f49483923
──Files
Files (1 file, 722 B)
SKILL.md722 Bactive
SKILL.md · 18 lines · 722 B

version: "1.0.0" name: safe-refactor description: Restructure 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.

All versions