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

Capabilities

Typical Inputs

Typical Outputs

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.
tdd
testing
software-engineering
refactoring
quality-assurance
Write failing tests first
Verify test failure cause
Write minimal code to pass
Verify tests pass clean
Feature requirements or bug reports
Source code and test files
Test execution commands
Automated test files
Implementation code
Refactored codebase