tdd-workflow

Enforce test-driven development with tests before code and 80%+ coverage validation.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/SOLEROM/cldlab --skill tdd-workflow-solerom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/SOLEROM/cldlab/tree/main/ecc/ref_claude/.agents/skills/tdd-workflow
Command: npx skills add https://github.com/SOLEROM/cldlab --skill tdd-workflow-solerom

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensures development follows a rigorous test-driven workflow, requiring tests before implementation and guaranteeing high-quality code with 80%+ coverage across unit, integration, and E2E tests.

Core Features & Use Cases

  • Define user journeys and generate test cases before coding to align implementation with requirements.
  • Execute unit, API/integration, and Playwright end-to-end tests to verify functionality and regressions.
  • Refactor confidently with ongoing test validation, coverage checks, and guardrails to maintain quality.

Quick Start

Write a failing test for a feature, implement the minimal code to pass it, then run tests to ensure 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 and guarantee 80%+ test coverage?

Test-driven development is enforced by requiring tests to be written before code implementation, guiding teams through incremental development to achieve 80%+ overall test coverage across unit, integration, and end-to-end scenarios.

Can I use Playwright for end-to-end testing within a TDD workflow?

Yes, Playwright end-to-end testing is fully supported within the test-driven workflow. You can execute E2E tests to verify functionality and regressions alongside unit and API integration tests.

How do I write test cases before coding to align implementation with requirements?

You can define user journeys and generate structured test cases before writing any implementation code. This ensures the minimal code written directly satisfies the test requirements.

Does TDD workflow support continuous verification during code refactoring?

Continuous verification during refactoring is supported through ongoing test validation and coverage checks. These guardrails maintain code quality and prevent regressions while you restructure code.

What's the best way to apply TDD to bug fixes and feature development?

The best way to apply TDD to bug fixes and feature development is to write a failing test that replicates the issue or defines the feature, implement the minimal code to pass it, and run tests to ensure 80%+ coverage.