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.

tdd - Test-Driven Development with Red-Green-Refactor Loop

Guides feature development and bug fixes using a vertical red-green-refactor loop focused on public interface behavior.

Tags

Updated: 2026-09-13

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Plan testable public interfaces
  • Execute vertical red-green-refactor cycles
  • Refactor code after tests pass

Inputs

  • Target behaviors and interface requirements

Outputs

  • Integration tests for public behavior
  • Implementation code passing tests
  • Refactored code preserving behavior

Requirements

    Source

    • Spec: SKILL.md
    tdd
    red-green-refactor
    integration-tests
    refactoring
    Plan testable public interfaces
    Execute vertical red-green-refactor cycles
    Refactor code after tests pass
    Target behaviors and interface requirements
    Integration tests for public behavior
    Implementation code passing tests
    Refactored code preserving behavior