baselane-sh

TDD Task — Testing skill for Claude Code

Testing community

Implement a planned task test-first with the red-green-refactor loop and independent verification.

How to install TDD Task

Installs to ~/.claude/commands/baselane-sh-baselane-tdd-task.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/baselane-sh/baselane/HEAD/.claude/commands/tdd-task.md -o ~/.claude/commands/baselane-sh-baselane-tdd-task.md

Restart Claude Code, or start a new session, for it to be picked up.

What TDD Task does


description: Implement a planned task test-first with the red-green-refactor loop and independent verification. argument-hint: [task]

For $ARGUMENTS, follow the 6-step red-green-refactor loop: (1) write a failing test; (2) run it and watch it fail for the right reason; (3) write the minimal code to pass; (4) run it and watch it pass; (5) refactor while green; (6) re-run the full suite. Keep line coverage at or above 80%. Then invoke the checker subagent to independently verify, and only

Alternatives in Testing

  • Spec Driven Develop — Spec-driven development workflow for AI coding agents: architecture-first planning, task decomposition, GitHub 975 ★
  • Spec Driven Development — Drive Kandev feature work through spec, plan, independent tasks, implementation, QA, and verification 697 ★
  • TDD Diagnostics.V1 — Follow strict TDD stages 272 ★

Full documentation available on GitHub

View Source Repository