Refactor Code — Testing skill for Claude Code
Refactor code with test coverage verification.
How to install Refactor Code
Installs to ~/.claude/commands/muyen-vibe-to-prod-refactor-code.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/muyen/vibe-to-prod/HEAD/.claude/commands/refactor-code.md -o ~/.claude/commands/muyen-vibe-to-prod-refactor-code.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactor Code does
Refactor code with test coverage verification.
Alternatives in Testing
- Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
- Deslop Reborn — One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents 12.6k ★
- Test Full — Run the full test suite across all tox environments with coverage enabled 1.1k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
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
TDD Cycle
Execute a comprehensive Test-Driven Development (TDD) workflow with strict red-green-refactor discipline:
TDD Refactor
Refactor code with confidence using comprehensive test safety net:
TDD
by zscott - Guides development using Test-Driven Development principles, enforcing Red-Green-Refactor discipli
Safe Refactor
Test-safe file refactoring with facade pattern and incremental migration. Use when splitting large files to pr
Related Agents
Play
Implement plan milestones using test-driven development - apply red-green-refactor workflow to build features
Post Gate Agent
Review building phase implementation against plan requirements and test coverage. Checks requirement fulfillme
Acx Tester
AgentCortex /test phase executor. Use when delegating test verification that must follow the test skeleton, co