LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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.

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

Use when implementing any feature or bugfix, before writing implementation code.

Tags

Updated: 2026-09-21

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write failing test first
  • Verify test fails correctly
  • Write minimal implementation code
  • Verify all tests pass
  • Refactor code after green
  • Reproduce bugs with failing tests

Inputs

  • Feature specifications or bug reports
  • Test files and implementation code
  • @testing-anti-patterns.md reference document

Outputs

  • Passing test output
  • Test files
  • Production implementation code

Requirements

  • Test runner CLI environment
  • Human partner approval for exceptions

Source

  • Spec: SKILL.md
tdd
testing
software-development
refactoring
best-practices
Write failing test first
Verify test fails correctly
Write minimal implementation code
Verify all tests pass
Feature specifications or bug reports
Test files and implementation code
@testing-anti-patterns.md reference document
Passing test output
Test files
Production implementation code