LogoClawIndex
CasesSkillsAbout
LogoClawIndex

test-driven-development - Develop with a failing-test-first workflow

Guides implementation and bug fixes by writing a failing test first, making it pass with minimal code, then refactoring safely.

Tags

Updated: 2026-09-28
test-driven developmentsoftware testingbug fixingrefactoringunit testingintegration testing

Capabilities

Write failing testsReproduce reported bugsImplement minimal fixesRefactor passing code

Typical Inputs

Source codeBehavior change requirementsBug reports

Typical Outputs

Failing testsPassing testsTest suite results

What this skill does

  • Write failing tests
  • Reproduce reported bugs
  • Implement minimal fixes
  • Refactor passing code
  • Classify test scopes
  • Verify behavior outcomes

Inputs

  • Source code
  • Behavior change requirements
  • Bug reports
  • Test framework

Outputs

  • Failing tests
  • Passing tests
  • Test suite results
  • Implementation changes
  • Refactored code

Requirements

    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.