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)

Enforces the RED-GREEN-REFACTOR cycle by requiring a failing test before writing implementation code for features, bug fixes, or refactoring.

Tags

Updated: 2026-09-22

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write failing tests
  • Verify test failures
  • Write minimal implementation code
  • Verify test passing
  • Refactor code
  • Run test suites

Inputs

  • Terminal tool
  • Test framework command
  • Task context and requirements
  • Project codebase

Outputs

  • Test files
  • Implementation source code
  • Test runner execution logs

Requirements

  • Terminal execution permission
  • Test runner installation
  • File system write permission

Source

  • Spec: SKILL.md
testing
tdd
development
quality
red-green-refactor
Write failing tests
Verify test failures
Write minimal implementation code
Verify test passing
Terminal tool
Test framework command
Task context and requirements
Test files
Implementation source code
Test runner execution logs