A comprehensive TDD workflow plugin with Specification by Example for Claude Code
npx claudepluginhub dgomezs/claude-codeA comprehensive TDD workflow plugin that combines Test-Driven Development with Specification by Example. Includes specialized agents for each TDD phase (RED-GREEN-REFACTOR), requirements analysis, technical design, and BDD-style test scenarios.
A comprehensive Test-Driven Development workflow plugin for Claude Code that combines TDD with Specification by Example (BDD). Streamline your development process with intelligent agents that guide you through requirements analysis, technical design, and the complete RED-GREEN-REFACTOR cycle.
Note: This repository also serves as a plugin marketplace infrastructure, currently hosting the tdd-specflow plugin with support for adding more plugins in the future. See MARKETPLACE.md for details on the marketplace structure.
TDD SpecFlow provides a complete, automated workflow for building features using Test-Driven Development and Behavior-Driven Development principles. The plugin includes specialized agents for each phase of development and slash commands that orchestrate the entire process.
Install the plugin using Claude Code's plugin command:
/plugin install https://github.com/dgomezs/claude-code
Or if using a local clone:
/plugin install /path/to/claude-code
Start with a JIRA ticket, user story, or direct prompt:
/create-spec ticket.md
or with a direct prompt:
/create-spec "Add user authentication with JWT tokens"
This creates requirements.md with testable acceptance criteria in Given-When-Then format.
Transform acceptance criteria into detailed test scenarios:
/test-scenarios <task-directory>
This creates:
scenarios.md - High-level scenario overview with TDD tracking checkboxestest-scenarios/happy-path.md - Successful flow scenariostest-scenarios/error-cases.md - Error handling scenariostest-scenarios/edge-cases.md - Boundary and edge casesGenerate an implementation plan following your project's architecture:
/create-tech-design <task-directory>
This creates tech-design.md with:
Execute the complete RED-GREEN-REFACTOR cycle:
/start-tdd <task-directory>
The orchestrator will:
scenarios.md┌─────────────────────────────────────────────────────────────┐
│ TDD SpecFlow Workflow │
└─────────────────────────────────────────────────────────────┘
1. Requirements Analysis
↓
/create-spec → requirements.md
2. Test Scenarios
↓
/test-scenarios → scenarios.md + test-scenarios/
3. Technical Design
↓
/create-tech-design → tech-design.md
4. TDD Implementation Loop
↓
/start-tdd → RED-GREEN-REFACTOR cycle
For each scenario:
┌─────────────────────────────────────┐
│ RED: Write failing test │
│ ↓ │
│ GREEN: Make it pass (minimal code) │
│ ↓ │
│ REFACTOR: Improve quality │
└─────────────────────────────────────┘
/create-specPurpose: Analyze requirements and create structured specification
Usage:
/create-spec <ticket-path | prompt> [research.md]
Examples:
/create-spec docs/tickets/AUTH-123.md
/create-spec "Add password reset functionality" research.md
/create-spec "Implement user profile editing"
Output: requirements.md with testable acceptance criteria
/test-scenariosPurpose: Generate detailed test scenarios from requirements
Usage:
/test-scenarios <task-directory> [operation-prompt]
Examples:
/test-scenarios docs/tasks/task-001/
/test-scenarios docs/tasks/task-001/ "Add scenario for concurrent access"
Output:
scenarios.md - Overview with TDD trackingtest-scenarios/happy-path.mdtest-scenarios/error-cases.mdtest-scenarios/edge-cases.md/create-tech-designPurpose: Create technical design from requirements
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Production-ready workflow orchestration with 84 marketplace plugins, 192 local specialized agents, and 156 local skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations