tdd-workflow

Enforce test-first development with 80% coverage using Jest and Playwright.

1|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/run6270/skill --skill tdd-workflow-run6270
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/run6270/skill/tree/main/tdd-workflow
Command: npx skills add https://github.com/run6270/skill --skill tdd-workflow-run6270

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures code is developed using Test-Driven Development (TDD) principles, guaranteeing high test coverage and robust, reliable software.

Core Features & Use Cases

  • Mandatory Tests First: Enforces writing tests before implementation.
  • Comprehensive Coverage: Requires 80%+ coverage across unit, integration, and E2E tests.
  • Structured Workflow: Guides developers through user journeys, test generation, implementation, and refactoring.
  • Use Case: When starting a new feature, use this skill to guide the entire development process, ensuring tests are written first and all code is thoroughly validated before merging.

Quick Start

Use the tdd-workflow skill to develop the new user authentication feature.

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 a new software feature?

Enforce test-driven development by mandating test creation before code implementation. This workflow requires writing user journeys and generating test cases first, ensuring the actual implementation is guided entirely by those predefined tests.

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

The minimum code coverage required for TDD is 80% across unit, integration, and end-to-end tests. This threshold ensures all edge cases and error scenarios are thoroughly validated before merging any new software development.

How do I structure a TDD workflow using Jest and Playwright?

Structure your TDD workflow by writing user journeys, generating test cases with Jest and Playwright, implementing code to pass tests, and refactoring. Verify final coverage using generated coverage reports to ensure 80%+ validation.

When should I use a test-first development workflow instead of testing after implementation?

Use a test-first development workflow when starting a new feature to guarantee high test coverage and robust software. It mandates writing tests before implementation, ensuring all code is thoroughly validated against edge cases and error scenarios.

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

Yes, this TDD workflow supports end-to-end testing with Playwright. It provides detailed guidance for comprehensive coverage across unit, integration, and E2E tests, verifying all code paths using coverage reports.

Why does my TDD workflow require writing user journeys before generating test cases?

Your TDD workflow requires writing user journeys before generating test cases to establish clear functional expectations. This structured approach guides developers through test generation, implementation, and refactoring to ensure robust software.