Safe Refactor — Testing skill for Claude Code
Test-safe file refactoring with facade pattern and incremental migration.
How to install Safe Refactor
Installs to ~/.claude/skills/autopsias-slashagents-safe-refactor/SKILL.md
mkdir -p ~/.claude/skills/autopsias-slashagents-safe-refactor && curl -fsSL https://raw.githubusercontent.com/Autopsias/slashagents/HEAD/skills/safe-refactor.md -o ~/.claude/skills/autopsias-slashagents-safe-refactor/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Safe Refactor does
Test-safe file refactoring with facade pattern and incremental migration.
Alternatives in Testing
- Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
- #29 — #52, #103) 92.5k ★
- /test Routing — Vérifie le routing de commandes RTK sans exécution (dry-run) 25.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Ab Method
by Ayoub Bensalah - A principled, spec-driven workflow that transforms large problems into focused, incrementa
St Plan
Produce a persisted, reviewable plan from deep research — feature, bug, refactor, migration, test, or roadmap
Refactor Page Object
Refactor a Vue component test to use the Page Object Pattern
Test Driven Development.SKILL
Enforces TDD discipline with RED-GREEN-REFACTOR cycle. Use when writing new features, fixing bugs, or refactor
Code Quality Fix
Refactor code to meet quality standards (smallest safe diff), then typecheck + test
Crlf
Test for CRLF / HTTP response-splitting and host-header injection — Set-Cookie injection, cache poisoning, res
Related Agents
Safe Refactor
Safely refactor code by splitting large files, extracting utilities, and improving organization while preservi
Fec Architect
Use this subagent when the task involves page splitting, component architecture, state flow design, catalog pl
Dnp Refactor Cleaner
🧹 Safe refactoring — dead code removal, naming normalization, duplication elimination. Never changes behavior