Refactor TDD — Code Quality skill for Claude Code
REFACTOR phase - Improve code quality while keeping tests green with automatic metrics tracking in sprintdag directory.
How to install Refactor TDD
Installs to ~/.claude/commands/toonvos-empty-opensaas-refactor-tdd.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ToonVos/empty-opensaas/HEAD/.claude/commands/refactor-tdd.md -o ~/.claude/commands/toonvos-empty-opensaas-refactor-tdd.md Restart Claude Code, or start a new session, for it to be picked up.
What Refactor TDD does
REFACTOR phase - Improve code quality while keeping tests green with automatic metrics tracking in sprintdag directory.
Alternatives in Code Quality
- Code Quality Review — Review code quality in: $ARGUMENTS 5.8k ★
- Symfony TDD Pest — Start a TDD workflow using Pest PHP for Symfony with RED-GREEN-REFACTOR cycle 206 ★
- Lint — Run code quality checks on the project 155 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Refactor Safe
Refactor internals without changing public API. Fixes structural problems (long functions, duplication, poor n
ExecuteTask
Phase 6 — implement tasks in order, choosing the loop (core / red-green-refactor / prompt-iteration) per task;
Symfony TDD Phpunit
Start a TDD workflow using PHPUnit for Symfony with RED-GREEN-REFACTOR cycle
TDD Loop
Implement a feature using TDD (Red-Green-Refactor) for GarraRUST.
TDD Feature
Complete TDD workflow orchestrator - RED (Sonnet) → GREEN (Haiku) → REFACTOR (Haiku) → REVIEW (Opus). Use with
Cfn Vote Implement
MUST BE USED after cfn-dry-review or cfn-alpha-launch:manifest produces a manifest. Also verification phase of
Related Agents
Green Refactor
Green refactor agent. After tests pass and standards/maintainer reviews land, simplify and improve the impleme
TDD Refactoring Agent
Improves code structure while keeping all tests green during the TDD REFACTOR phase using proven refactoring p
Wasp Refactor Executor
Execute mechanical refactorings (DRY, extract function, rename) while maintaining test green status. Optimized