tdd-workflow

Enforce test-first development with 80% coverage across unit, integration, and E2E tests.

11|2|Updated Aug 1, 2025
One-click install
npx skills add https://github.com/sc30gsw/claude-code-customes --skill tdd-workflow-sc30gsw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/sc30gsw/claude-code-customes/tree/main/.claude/skills/tdd-workflow
Command: npx skills add https://github.com/sc30gsw/claude-code-customes --skill tdd-workflow-sc30gsw

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams enforce test-driven development, ensuring code is well-tested from the outset to reduce bugs and facilitate safer refactors.

Core Features & Use Cases

  • Enforces writing tests before code to guide development and catch issues early.
  • Ensures minimum 80% coverage across unit, integration, and E2E tests.
  • Supports a complete workflow from drafting user journeys to generating tests and validating coverage.
  • Use case: Starting a new feature or fixing a bug, apply TDD to drive design decisions and verify robustness.

Quick Start

Describe a new feature and have the system guide you through writing tests first and achieving 80%+ coverage.

Frequently Asked Questions about tdd-workflow

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce test-driven development workflows for new feature development?

Test-driven development workflows are enforced by writing tests before code to guide design decisions and catch issues early. This ensures code is well-tested from the outset, reducing bugs and facilitating safer refactors.

What is the minimum test coverage required for unit, integration, and E2E tests?

Minimum test coverage of 80% is required across unit, integration, and E2E tests. This threshold is enforced to validate test coverage and ensure code quality across codebases, APIs, and components.

Can I apply TDD to bug fixes and refactoring across existing codebases and APIs?

Yes, TDD can be applied to bug fixes and refactoring across codebases, APIs, and components. It drives design decisions and verifies robustness by enforcing test-first development for any code modification.

How do I generate tests from user journeys and validate test coverage?

Generating tests from user journeys involves drafting the user journey, creating tests first, and then validating that test coverage meets the required 80% threshold across unit, integration, and E2E levels.

Does test-first development work without external testing framework dependencies?

Test-first development is supported without explicit external dependencies. The workflow enforces TDD discipline and validates 80% coverage directly across diverse project contexts and codebases.