zfinix/aster/refactor-safely
- community
Checking that the SKILL.md file is still in the repository.
Renaming, moving, and restructuring code without breaking behavior. Use when the task is a rename, a file move, an extract, or any restructuring the user expects to be behavior-neutral.
Install
npx vskill@latest install zfinix/aster/refactor-safelySKILL.md
Refactor safely
- Map the blast radius first. Search every reference before changing
one: the definition, call sites, tests, docs, config strings, serialization. A rename that misses a string reference compiles and then breaks at runtime.
- Green between every step. Refactor in compilable increments: move,
check, rename, check. A ten-step refactor with one check at the end turns one mistake into an hour of archaeology.
- Never mix behavior change into a refactor. If you spot a bug mid
refactor, note it, finish the neutral change, then fix the bug as its own change. Mixed diffs are unreviewable and unbisectable.
- Let the compiler drive mechanical renames. Change the definition
first, then fix every error it reports; the error list is your checklist.
- Match the destination's conventions. Moved code adopts the naming,
error handling, and comment density of the file it lands in.
- Prove neutrality at the end. The same tests that passed before must
pass after, with no test edits beyond imports and paths. Any test that had to change semantically means it was not a refactor.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcrates/aster-skills/optional-skills/internal/refactor-safely/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
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/zfinix/aster/refactor-safely)