Skill
Refactor safely
Keeps a refactor a refactor - behaviour identical, diff reviewable, no opportunistic rewrites.
About
Keeps a refactor a refactor - behaviour identical, diff reviewable, no opportunistic rewrites.
Files in v1.0.0
- replicamd.plugin.json1282 B
- skills/safe-refactoring.md1188 B
Contributes
{
"commands": [
{
"id": "plan",
"title": "Plan this refactor",
"prompt": "Before changing anything, tell me: what behaviour must stay identical, what test or command proves it still does, and the order of the steps so each one is independently reviewable. Follow the safe-refactoring skill. If there is no test covering the behaviour we are about to move, say so - that is step one, not an aside."
},
{
"id": "check",
"title": "Did my refactor change behaviour?",
"prompt": "Read the working diff and answer one question: does any observable behaviour differ? Go hunk by hunk. Flag anything that changes a return value, an error path, an ordering, a default, or a timing. A refactor that quietly fixes a bug is not a refactor - call it out so it can be split into its own commit."
}
],
"skills": [
"skills/safe-refactoring.md"
]
}Versions
- v1.0.07/26/2026 · 2 files
Install
Install in ReplicaMDNothing happened? ReplicaMD may not be installed yet - or open it first, then Settings → Plugins and install by id.
Plugin id:
refactor-safelyBundle endpoint:
https://replicamd.nl/api/registry/plugins/refactor-safely/download- Author
- Ardjun Debi - Tewarie @ardjun
- Latest
- v1.0.0
- License
- MIT
- Installs
- 0
refactoringqualityreview