Upload via GUI (324 Dateien)

This commit is contained in:
2026-10-30 05:54:10 +00:00
parent 6f53307925
commit 4ef589ebbc
50 changed files with 4220 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
---
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.
@@ -0,0 +1,4 @@
interface:
display_name: "Safe Refactor"
short_description: "Preserve behavior through structural change"
default_prompt: "Use $safe-refactor to restructure this code while preserving behavior."