LogoClawIndex
CasesSkillsAbout
LogoClawIndex

test-driven-development - Test-Driven Development Cycle and Best Practices

Executes test-driven development by writing failing tests, writing minimal implementation code, and refactoring while adding features or fixing bugs.

Tags

Updated: 2026-09-17

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Write failing tests first
  • Implement minimum passing code
  • Refactor code safely
  • Write bug reproduction tests
  • Mock external dependencies

Inputs

  • Feature specifications
  • Bug reproduction details
  • Existing codebase

Outputs

  • Unit test files
  • Source code implementation
  • Refactored codebase

Requirements

  • Test runner framework
  • Access to ~/.ai-shared/references/testing-patterns.md

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
unit-testing
refactoring
bug-fixing
Write failing tests first
Implement minimum passing code
Refactor code safely
Write bug reproduction tests
Feature specifications
Bug reproduction details
Existing codebase
Unit test files
Source code implementation
Refactored codebase