Envy-7z

safe-refactor-guard

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

Envy-7z 0 Updated 3mo ago
GitHub

Install

npx skillscat add envy-7z/mobile-agent-skillpack/safe-refactor-guard

Install via the SkillsCat registry.

SKILL.md

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)