tdd-workflow

Enforce test-driven development with tests written before code implementation.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps teams adopt test-driven development by ensuring tests guide design and implementation, reducing bugs and rework.

Core Features & Use Cases

  • Pre-commit testing discipline: write tests before coding to specify behavior.
  • Three-level testing coverage: unit, integration, and E2E tests with clear criteria.
  • Refactor confidence: maintain 80%+ coverage during changes across features, bugs, and API endpoints.

Quick Start

  1. Write a failing test for the feature you are about to implement.
  2. Implement the minimal code to make the test pass.
  3. Run your test suite and verify coverage meets the required threshold (80%+).

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I implement test-driven development to reduce bugs and rework?

Test-driven development requires writing tests before implementation across unit, integration, and E2E levels to enforce a strict code quality workflow and prevent regressions.

What's the best way to maintain code coverage during refactoring?

The best way to maintain coverage during refactoring is enforcing an 80%+ minimum test coverage threshold across features, bugs, and API endpoints to ensure refactor confidence.

How do I start a TDD workflow for a new feature?

Start a TDD workflow by writing a failing test for the feature, implementing the minimal code to make it pass, and verifying your suite meets the 80%+ coverage threshold.

Does strict TDD cover end-to-end and integration testing or just unit tests?

Strict TDD covers three levels of testing: unit, integration, and end-to-end tests, ensuring comprehensive behavior specification across the entire project.

Can I apply TDD workflows when fixing bugs and API endpoints?

Yes, you apply TDD workflows when fixing bugs and API endpoints by writing a failing test that reproduces the issue before implementing the fix, maintaining 80%+ coverage.