Test-Driven Development

SkillDev tools

Red-green-refactor discipline. Use when writing new functionality.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Test-Driven Development skill

What this skill tells your AI

The instructions your AI receives, as published by archieindian/openclaw-superpowers in skills/core/test-driven-development/SKILL.md and read by ahel’s review.

The Cycle

Red

Write a test that describes the behavior you want. Run it. It should fail.

Green

Write the minimum code to make the test pass.

Refactor

Make the code good. Tests must still pass.

Test Quality

A good test:

  • Tests behavior, not implementation
  • Has one clear assertion
  • Has a descriptive name
  • Is independent
  • Is fast

Signals

GitHub stars
72
Forks
14
Last commit
May 2026
Advanced
Item type
skill
Key
test-driven-development-archieindian
Source
github.com/archieindian/openclaw-superpowers