tdd-workflow

Enforce a TDD workflow with 80% code coverage across unit, integration, and E2E tests.

3|Updated Feb 8, 2026
One-click install
npx skills add https://github.com/Nixdorfer/ClaudeCodeTool --skill tdd-workflow-nixdorfer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/Nixdorfer/ClaudeCodeTool/tree/main/plugins/cache/everything-claude-code/everything-claude-code/1.4.1/.cursor/skills/tdd-workflow
Command: npx skills add https://github.com/Nixdorfer/ClaudeCodeTool --skill tdd-workflow-nixdorfer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures all code development adheres to Test-Driven Development (TDD) principles, guaranteeing high test coverage and robust software quality.

Core Features & Use Cases

  • Test-First Development: Guides the process of writing tests before implementation.
  • Comprehensive Coverage: Mandates 80%+ coverage across unit, integration, and E2E tests.
  • Structured Workflow: Provides clear steps for user journeys, test generation, implementation, and refactoring.
  • Use Case: When developing a new API endpoint, use this skill to first define tests for expected inputs, outputs, and error conditions, then write the minimal code to pass those tests, ensuring reliability.

Quick Start

Use the tdd-workflow skill to guide the development of a new feature, ensuring tests are written before 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 robust code across unit, integration, and e2e tests?

Test-driven development is enforced by mandating a structured workflow of user journeys, test generation, implementation, and refactoring to achieve a minimum of 80% code coverage across unit, integration, and e2e tests.

What is the best way to write tests before implementation for a new API endpoint?

The best way to write tests before implementation is to first define tests for expected inputs, outputs, and error conditions, then write the minimal code to pass those tests, ensuring reliability through a structured TDD workflow.

Does this test-driven development workflow support Vitest and Playwright patterns?

Yes, the test-driven development workflow supports Vitest and Playwright by providing specific patterns to guide test creation, implementation, and refactoring for comprehensive coverage.

How do I mock external services like Supabase, Redis, and OpenAI during unit testing?

To mock external services like Supabase, Redis, and OpenAI during unit testing, the workflow utilizes specific mocking patterns to isolate dependencies and ensure accurate test coverage.

Why does TDD require 80% code coverage across unit, integration, and end-to-end tests?

TDD requires 80% code coverage across unit, integration, and end-to-end tests to guarantee high test coverage and robust software quality by mandating comprehensive validation throughout the development lifecycle.

Can I use this TDD workflow for refactoring existing code without breaking functionality?

Yes, you can use this TDD workflow for refactoring existing code without breaking functionality, as it provides clear steps for structured refactoring following comprehensive test generation and implementation.