LogoClawIndex
CasesSkillsAbout
LogoClawIndex

tdd - Test-Driven Development Guide with Red-Green-Refactor Cycle

Guide Test-Driven Development using Kent Beck's Red-Green-Refactor methodology for writing tests and implementing features

Tags

Updated: 2026-02-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • write failing test
  • make test pass
  • refactor code
  • run test suite
  • commit changes
  • follow TDD cycle

Inputs

  • test plan
  • codebase
  • test instructions
  • feature requirements

Outputs

  • committed code
  • test results
  • refactored codebase
  • TDD documentation

Requirements

  • Git repository access
  • test framework support
  • code editor

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.
testing
tdd
development
quality
refactoring
write failing test
make test pass
refactor code
run test suite
test plan
codebase
test instructions
committed code
test results
refactored codebase