tdd-workflow

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforces strict test-driven development to prevent regressions and ensure high-quality code through enforced test coverage.

Core Features & Use Cases

  • Test-first development: Always write tests before implementing features or fixes.
  • Coverage thresholds: Mandates 80%+ coverage across unit, integration, and E2E tests.
  • Structured workflow: Guides writing user journeys, generating test cases, running tests, implementing code, and refactoring with safety checks.

Quick Start

Start by outlining a user journey for a new feature, then generate corresponding tests before implementing the 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 workflows for new features?

To enforce test-driven development, this workflow mandates writing unit, integration, and E2E tests before implementing code. It guides you through outlining user journeys, generating tests, and running them to ensure strict test-first execution and prevent regressions.

What is the minimum test coverage required to prevent code regressions?

The minimum test coverage required to prevent regressions is 80% or higher. This threshold is strictly mandated across unit, integration, and end-to-end tests during feature creation, bug fixes, and refactoring to ensure high-quality code.

How do I apply TDD workflows when refactoring existing code?

To apply TDD workflows when refactoring, the process enforces writing and validating tests with defined thresholds before modifying code. This structured workflow includes safety checks to ensure refactoring does not break existing user journeys or drop coverage below 80%.

Can I use this workflow for integration and E2E testing with Playwright?

Yes, you can use this workflow for integration and E2E testing with Playwright. It explicitly supports unit, integration, and end-to-end testing, ensuring comprehensive test coverage is generated and validated across all these testing layers.

What is the best way to structure unit tests before implementing a feature?

The best way to structure unit tests is to first outline a user journey for the new feature, then generate corresponding test cases. This structured workflow ensures tests are written and validated before any feature code is implemented.