LogoClawIndex
CasesSkillsAbout
LogoClawIndex

test-driven-development - Test-Driven Development (TDD) Workflow

Guides feature and bugfix implementation by writing failing tests first, writing minimal passing code, and refactoring.

Tags

Updated: 2026-09-21
tddtestingsoftware-engineeringrefactoringquality-assurance

Capabilities

Write failing tests firstVerify test failure causeWrite minimal code to passVerify tests pass clean

Typical Inputs

Feature requirements or bug reportsSource code and test filesTest execution commands

Typical Outputs

Automated test filesImplementation codeRefactored codebase

What this skill does

  • Write failing tests first
  • Verify test failure cause
  • Write minimal code to pass
  • Verify tests pass clean
  • Refactor code safely
  • Reproduce bugs with failing tests

Inputs

  • Feature requirements or bug reports
  • Source code and test files
  • Test execution commands

Outputs

  • Automated test files
  • Implementation code
  • Refactored codebase
  • Test execution results

Requirements

  • Test runner or test framework
  • Project codebase

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.