Skip to content
sickn33 avatar

Tdd Workflows Tdd Refactor

Guided TDD refactoring that keeps a green test baseline and applies incremental, verified code-smell fixes.

CCM score
42 of 100
skills.sh installs
281
GitHub stars
50.5K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the refactor phase: baseline test run, smell detection, SOLID review, design patterns, and performance measurement before and after changes
  • Lists refactoring techniques such as Extract Method, Replace Conditional with Polymorphism, and Introduce Null Object, plus advanced strategies like Strangler Fig and Mikado Method
  • Enforces small atomic changes with tests run after each step, a pre-commit safety checklist, and a recovery protocol for failing tests
  • Designed for developers who need a structured refactoring checklist, though it warns that a green suite does not prove unchanged behavior with incomplete coverage

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill tdd-workflows-tdd-refactor -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Use this skill when

  • Working on tdd workflows tdd refactor tasks or workflows
  • Needing guidance, best practices, or checklists for tdd workflows tdd refactor

Do not use this skill when

  • The task is unrelated to tdd workflows tdd refactor
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • The referenced implementation playbook and tdd-orchestrator agent are not bundled. Use available repository tooling; do not claim a named agent/model ran unless it actually did.

Refactor code with confidence using comprehensive test safety net:

Delegate only when current instructions authorize it, using the selected available model. A green suite does not prove unchanged behavior if its coverage is incomplete.

Usage

Use Task tool with subagent_type="tdd-orchestrator" to perform safe refactoring.

Prompt: "Refactor this code while keeping all tests green: $ARGUMENTS. Apply TDD refactor phase:

Core Process

Details

Repository
github.com/sickn33/agentic-awesome-skills
Categories
Testing & QA, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the tdd-workflows-tdd-refactor skill do?

tdd-workflows-tdd-refactor guides an agent through the refactor phase of test-driven development, keeping a green test suite while code is restructured. It covers code smell detection, SOLID principles, incremental steps and a safety checklist before committing.

How do I install the tdd-workflows-tdd-refactor skill?

Run npx -y skills add sickn33/agentic-awesome-skills --skill tdd-workflows-tdd-refactor -y inside your project. After that, tdd-workflows-tdd-refactor lets the agent refactor code with a comprehensive test safety net.

Where does tdd-workflows-tdd-refactor sit among Testing & QA skills?

tdd-workflows-tdd-refactor is listed in the Testing & QA category on Claude Marketplaces. Related skills there include tdd and test-driven-development, which cover test-driven development more broadly.

Who should use the tdd-workflows-tdd-refactor skill?

tdd-workflows-tdd-refactor suits developers who already write tests and want safe refactoring guidance. Its own warning says a green suite does not prove unchanged behavior if coverage is incomplete, so check coverage first.

More from sickn33/agentic-awesome-skills

All 682

Similar to Tdd Workflows Tdd Refactor

More Testing & QA