tdd-workflow

Enforce a TDD workflow requiring tests before code implementation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Jeffrey0117/myclaudeset --skill tdd-workflow-jeffrey0117
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tdd-workflow
Source: https://github.com/Jeffrey0117/myclaudeset/tree/main/skills/tdd-workflow
Command: npx skills add https://github.com/Jeffrey0117/myclaudeset --skill tdd-workflow-jeffrey0117

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enforces a rigorous Test-Driven Development (TDD) process to ensure high-quality, well-tested code, reducing bugs and improving maintainability.

Core Features & Use Cases

  • Enforces TDD: Guides you to write tests before writing implementation code.
  • Comprehensive Testing: Covers unit, integration, and End-to-End (E2E) tests.
  • Coverage Guarantee: Aims for 80%+ code coverage across all test types.
  • Use Case: When developing a new feature, use this skill to first define your tests, then write the code to pass them, ensuring the feature works as expected and is robust.

Quick Start

Activate this skill to follow the test-driven development workflow for any new code you write.

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 write tests before writing implementation code. This ensures features meet requirements upfront and remain robust throughout development.

What's the best way to achieve 80% code coverage with unit and integration tests?

Achieving 80% code coverage requires running unit and integration tests using Jest. Coverage reporting tools track untested code paths to guarantee the minimum threshold is met reliably.

Does this TDD workflow support E2E tests with Playwright?

Yes, this TDD workflow supports E2E tests with Playwright. It comprehensively covers unit, integration, and End-to-End tests to ensure overall software quality and reliability.

Can I use Jest for writing tests before code implementation?

Yes, you can use Jest for writing tests before code implementation. The workflow utilizes Jest alongside Playwright to mandate tests first, ensuring high-quality and maintainable code.

Why does writing tests before implementation improve code quality?

Writing tests before implementation improves code quality by rigorously defining expected behavior upfront. This test-driven approach reduces bugs and improves long-term maintainability across the codebase.