Skip to content
  1. Home
  2. Agent skills
  3. Test-Driven Development

Test-Driven Development

Enforce red-green-refactor with tests written before code

What it is

Guides the agent through the TDD cycle: write a failing test, make it pass with minimal code, then refactor. Meant to stop the agent writing implementation first and tests afterwards.

Good for

  • Add a feature test-first
  • Fix a bug with a regression test
  • Refactor under a safety net
Worth knowingAssumes the project already has a working test runner. Bundled with Hermes Agent.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • diagnosing-bugs

    mattpocock/skills

    Debugging discipline that starts by building a tight pass/fail feedback loop

    SkillGitHub stars: 323k
  • Skills For Real Engineers

    mattpocock/skills

    Small composable engineering skills from Matt Pocock's own agent setup

    SkillGitHub stars: 323k
  • Superpowers

    obra/superpowers

    Skill set that makes coding agents spec, plan, test and review before coding

    SkillGitHub stars: 317k
  • Systematic Debugging (Superpowers)

    obra/superpowers

    Forces root-cause investigation before an agent proposes any fix

    SkillGitHub stars: 317k