tdd-refactor

Installation
SKILL.md

TDD REFACTOR Phase

Overview

This skill executes the REFACTOR phase of Test-Driven Development. It improves code quality, removes duplication, and enhances structure while ensuring all tests remain green. Changes are purely structural with no behavioral modifications.

When to Use

Use this skill when:

  • All tests are passing (GREEN phase completed)
  • Code has duplication or code smells
  • Naming could be clearer
  • Structure could be improved
  • Following the TDD RED → GREEN → REFACTOR cycle

Workflow

Step 1: Verify GREEN State

Installs
1
First Seen
Mar 3, 2026
tdd-refactor — swiftyjunnos/claude-code-with-tdd