LogoClawIndex
CasesSkillsAbout
LogoClawIndex

tdd-workflows-tdd-refactor - Refactor code safely using TDD workflows

Refactors code while keeping tests green by utilizing the tdd-orchestrator subagent.

Tags

Updated: 2026-09-16

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Detect code smells
  • Apply design patterns
  • Apply SOLID principles
  • Perform incremental refactoring
  • Optimize code performance
  • Verify test safety

Inputs

  • Code to refactor
  • Implementation playbook resource

Outputs

  • Refactored code
  • Test results
  • Before and after metrics comparison
  • Applied refactoring techniques list
  • Performance improvement measurements
  • Remaining technical debt assessment

Requirements

  • Task tool
  • tdd-orchestrator subagent with opus model

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
tdd
refactoring
workflow
Detect code smells
Apply design patterns
Apply SOLID principles
Perform incremental refactoring
Code to refactor
Implementation playbook resource
Refactored code
Test results
Before and after metrics comparison