Skill / SKILL.md

Safe Refactor

ElliotJLT/Claude-Skill-Potions

When refactoring, rewriting, or migrating critical code paths, orchestrate a safe cycle: assess risks → implement → verify → document. Chains pre-mortem and prove-it with built-in implementation phase. Prevents "refactor broke production" disasters. Activates on "refactor", "rewrite", "migrate", or "clean up" for non-trivial code.
2 views 62 repository stars 0 commentsUpdated Nov 28, 2026
Overview

When refactoring, rewriting, or migrating critical code paths, orchestrate a safe cycle: assess risks → implement → verify → document. Chains pre-mortem and prove-it with built-in implementation phase. Prevents "refactor broke production" disasters. Activates on "refactor", "rewrite", "migrate", or "clean up" for non-trivial code.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/ElliotJLT/Claude-Skill-Potions' skill-source

Use the complete skill-source/skills/safe-refactor directory with your client’s skill installer.

Source directory skills/safe-refactor

Compatibility & requirements

Declared tools

bash: git, grep, find, npm, pytest, jest
file: read, write

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
6f8ca182f151b69ae892ca84a3a1d97f6bb9b07748627409e9ea8375b68bad45
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills