tdd-collaboration

Community

Co-create code with guided TDD cycles.

Authorjwilger
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces a strict, collaborative Test-Driven Development (TDD) workflow, ensuring every line of code is driven by a failing test. It guides you through the Red → Domain → Green cycle, preventing over-implementation, promoting minimal design, and guaranteeing a robust, well-tested codebase.

Core Features & Use Cases

  • Guided Red Phase: Collaboratively write one test with one assertion, ensuring it fails (Red) before any implementation.
  • Guided Domain Phase: Collaboratively define minimal types and interfaces to make the test compile, focusing on domain modeling.
  • Guided Green Phase: Collaboratively implement only the code necessary to make the failing test pass (Green), strictly avoiding anticipatory features.
  • Use Case: Adopt a rigorous TDD approach with AI guidance, ensuring every line of code is driven by a failing test. Collaborate on test design, type definitions, and minimal implementations to build robust, well-tested software.

Quick Start

Initiate a TDD cycle for a new story or feature.

The AI will propose the first test based on the story requirements.

You will review and modify it directly via your IDE.

Example interaction in Rust:

AI proposes:

#[test]

fn test_payment_capture_valid_amount() { /* ... */ }

User adds:

// QUESTION: Should we also test negative amounts here or separately?

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tdd-collaboration
Download link: https://github.com/jwilger/claude-code-setup/archive/main.zip#tdd-collaboration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.