tdd-workflow

Enforce Test-Driven Development with 80% code coverage across Jest, Playwright, and API tests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/digitalhand/claude-skills-agents --skill tdd-workflow-digitalhand
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/digitalhand/claude-skills-agents/tree/main/skills/tdd-workflow
Command: npx skills add https://github.com/digitalhand/claude-skills-agents --skill tdd-workflow-digitalhand

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enforces a rigorous Test-Driven Development (TDD) process, ensuring all code is written with comprehensive test coverage to guarantee quality, reliability, and maintainability.

Core Features & Use Cases

  • Mandatory Tests First: Guarantees tests are written before implementation.
  • 80%+ Coverage: Enforces minimum coverage across unit, integration, and E2E tests.
  • Diverse Test Types: Supports unit, integration, and end-to-end testing strategies.
  • Use Case: When developing a new user authentication feature, this skill ensures you first write tests for login, logout, and password reset scenarios before writing any authentication code.

Quick Start

Use the tdd-workflow skill to guide the development of a new feature by writing tests before writing any code.

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 for new features and refactoring?

Test-Driven Development is enforced by mandating tests-first workflows, writing minimal code to pass tests, and refactoring for quality. This guarantees comprehensive test coverage and reliability before implementation proceeds.

What is the minimum code coverage required for unit and integration tests?

A minimum of 80% code coverage is required across unit, integration, and end-to-end tests. This threshold ensures high code quality and maintainability throughout the development process.

How do I write tests first for a user authentication feature?

Writing tests first involves creating test scenarios for login, logout, and password reset before writing any authentication code. This approach validates expected behavior prior to implementation.

Does this TDD workflow support Jest and Playwright for E2E testing?

Yes, the TDD workflow supports testing patterns for Jest, Playwright, and API testing. It guides developers through unit, integration, and end-to-end testing strategies using these frameworks.

Can I use this process for bug fixes or is it only for new code?

This process can be used for bug fixes, new features, and refactoring. It enforces a rigorous Test-Driven Development process across all development activities to guarantee code maintainability.

What's the best way to structure refactoring after writing minimal code to pass tests?

The best way to structure refactoring is to review the minimal code that passed the tests and improve its quality without changing behavior. This ensures code reliability while maintaining comprehensive coverage.