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 ★
- Refactor — We are about to refactor code 1.6k ★
- Refactor Claude Md — Refactor CLAUDE.md by extracting sections to dedicated docs with path-scoped rules 1.6k ★
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
Cmd Refactor
Refactor phase (ACT loop): analyze, plan, baseline, execute, verify, and sync a behavior-preserving restructur
Fec TDD
Use front-end TDD workflow to implement functions, fix bugs, or refactor logic: first write failing tests, the
Symfony TDD Pest
Start a TDD workflow using Pest PHP for Symfony with RED-GREEN-REFACTOR cycle
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.
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