tdd-workflow

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

8|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/cyphercr0w/codeck --skill tdd-workflow-cyphercr0w
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/cyphercr0w/codeck/tree/main/apps/runtime/src/templates/presets/default/ecc/skills/tdd-workflow
Command: npx skills add https://github.com/cyphercr0w/codeck --skill tdd-workflow-cyphercr0w

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Mandatory Tests First: Guides the AI to write tests before writing implementation code.
  • 80%+ Coverage: Enforces a minimum of 80% coverage across unit, integration, and E2E tests.
  • Comprehensive Testing: Covers unit, integration, and end-to-end (Playwright) test types.
  • Use Case: When developing a new API endpoint, this skill will first prompt for test cases, then guide the implementation, and finally verify coverage.

Quick Start

Use the tdd-workflow skill to develop a new feature, ensuring all tests are written first and coverage exceeds 80%.

Frequently Asked Questions about tdd-workflow

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

FAQPage Schema
How do I enforce a Test-Driven Development workflow for new features?

To enforce a Test-Driven Development workflow, you must mandate test creation before code implementation. This approach guides the process through user journey definition, test case generation, implementation, and refactoring to ensure robust code.

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

The minimum code coverage required for unit, integration, and E2E tests is 80 percent. This threshold is enforced across all test types to guarantee high code quality and comprehensive test coverage.

How do I write tests first when developing a new API endpoint?

To write tests first when developing a new API endpoint, begin by defining user journeys and generating test cases. Proceed with implementation only after tests are written, concluding with coverage verification.

Does this TDD workflow support Playwright for end-to-end testing?

Yes, this TDD workflow supports Playwright for end-to-end testing. It comprehensively covers unit, integration, and end-to-end test types, utilizing frameworks like Jest, Vitest, and Playwright for coverage verification.

Can I use Jest and Vitest for unit and integration tests in this workflow?

Yes, you can use Jest and Vitest for unit and integration tests in this workflow. The testing process utilizes these frameworks alongside Playwright to enforce comprehensive testing and achieve 80% code coverage.

What are the limitations of enforcing strict test-first development?

A limitation of enforcing strict test-first development is the mandatory overhead of writing tests before any implementation. This approach requires defining user journeys and test cases upfront, which may slow down rapid prototyping.