LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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

Enforces writing a failing test before writing implementation code for any feature, bug fix, or refactoring.

Tags

Updated: 2026-09-22
tddtestingrefactoringcode-quality

Capabilities

Write failing tests firstVerify test failure reasonsWrite minimal passing codeVerify test suites pass

Typical Inputs

Feature specifications and bug reportsSource code and test filesHuman partner instructions

Typical Outputs

Automated test suitesVerified production codeTest execution results

What this skill does

  • Write failing tests first
  • Verify test failure reasons
  • Write minimal passing code
  • Verify test suites pass
  • Refactor code safely

Inputs

  • Feature specifications and bug reports
  • Source code and test files
  • Human partner instructions

Outputs

  • Automated test suites
  • Verified production code
  • Test execution results

Requirements

  • Test runner environment
  • Human partner permission for exceptions

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.