TDD Task — Testing skill for Claude Code
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
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 RepositoryRelated Skills
TDD Implement
by jerseycheese - Implements Test-Driven Development by analyzing feature requirements, creating tests first (
Test Driven Development.SKILL
Enforces TDD discipline with RED-GREEN-REFACTOR cycle. Use when writing new features, fixing bugs, or refactor
TDD Cycle
Execute a comprehensive Test-Driven Development (TDD) workflow with strict red-green-refactor discipline:
TDD
by zscott - Guides development using Test-Driven Development principles, enforcing Red-Green-Refactor discipli
TDD Lock
TEST-LOCK — commit the red tests, then make them mechanically read-only while implementing to green (the stron
Se Test
The general red-first rule — design any test so you have seen it fail for the right reason before you trust it
Related Agents
Dev TDD
TDD development with Red-Green-Refactor cycle, plus generating tests for existing code and setting up test inf
Lite Builder
Lean TDD builder for the lite (/build) flow. Spawned by lite-orchestrator on a fresh context inside a task wor
TDD Specialist
Test-Driven Development specialist for Elixir/Phoenix projects using ExUnit. Writes tests first, follows red-g