safe-refactor-guard

star 0

Enforce ultra-safe refactoring rules to prevent architecture changes, over-engineering, or unintended side effects.

Envy-7z By Envy-7z schedule Updated 3/5/2026

name: safe-refactor-guard description: Enforce ultra-safe refactoring rules to prevent architecture changes, over-engineering, or unintended side effects.

Safe Refactor Guard

Absolute Rules

  • NO architecture changes.
  • NO file moves or renames.
  • NO Gradle/Podfile changes.
  • NO new libraries or patterns.
  • NO behavior changes unless explicitly requested.

Workflow

  1. Identify the smallest possible change.
  2. Apply refactor only within the given function/file.
  3. Keep logic and outputs identical.
  4. Explain what changed and why it is safe.

Output format

  • What was refactored
  • Why it is safe
  • Files touched (should be minimal)
Install via CLI
npx skills add https://github.com/Envy-7z/mobile-agent-skillpack --skill safe-refactor-guard
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator