withzombies/hyperpowers/refactoring-safely
Claude Code and agent skill by withzombies/hyperpowers
- community
Checking that the SKILL.md file is still in the repository.
Use when refactoring code - tracks the refactor in task docs and preserves behavior through small verified changes
Install
npx vskill@latest install withzombies/hyperpowers/refactoring-safelySKILL.md
The same SKILL.md was published earlier as withzombies/hyperpowers/refactoring-safely.
<skill_overview> Refactor in small truth-preserving steps. Keep the refactor tracked in task docs and stop if behavior starts drifting. </skill_overview>
<rigidity_level> MEDIUM FREEDOM - Keep the change→test→document loop strict, but adapt the exact refactor pattern to the codebase. </rigidity_level>
<quick_reference>
- Create or resume a refactor task directory
- Capture invariants and risks in
plan.md - Make one small change at a time
- Run tests between steps
- Update
context.mdandtasks.md
</quick_reference>
<when_to_use>
- Behavior should stay the same
- The current design is painful to change
- You need a deliberate, reversible refactor path
</when_to_use>
<the_process>
1. Track the refactor
Use task docs to capture:
- invariants that must not change
- risks
- target design
2. Refactor in tiny steps
Each step should be small enough to explain and verify on its own.
3. Verify every step
Run the smallest relevant tests after each change.
4. Keep docs current
Update discoveries, remaining risks, and next slices as the refactor unfolds. </the_process>
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/refactoring-safely/SKILL.md
Popularity
- Repository stars
- 69
- Repository forks
- 12
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/withzombies/hyperpowers/refactoring-safely)