tdd-workflow

Enforce test-first development with 80% coverage across JavaScript and TypeScript tests.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill codifies and enforces test-driven development (TDD) practices to ensure new features are implemented with tests first, leading to reliable, maintainable code and consistently high quality.

Core Features & Use Cases

  • Test-First Workflow: Guide teams to write unit, integration, and end-to-end tests before implementing code.
  • Coverage Standards: Enforces minimum 80% test coverage across unit, integration, and E2E tests.
  • Structured Test Design: Provides templates and examples for test cases, ensuring edge cases and error paths are covered.
  • Workflow Automation: Integrates with popular testing tools to streamline the testing process.

Quick Start

Define user journeys and test cases for new features, then implement code to satisfy tests.

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 practices across my team's workflow?

To enforce test-driven development, this skill requires tests to precede code implementation and enforces an 80% minimum coverage threshold across unit, integration, and E2E tests.

What is the best way to maintain 80% test coverage during feature creation and refactoring?

Maintaining 80% test coverage during refactoring is achieved by applying this TDD workflow, which provides structured test templates and enforces coverage standards across all testing layers.

How do I write end-to-end tests before implementing new code?

To write end-to-end tests first, define user journeys and test cases for new features using the provided templates, then implement the JavaScript or TypeScript code to satisfy those tests.

Does this TDD workflow support integration testing for bug fixes?

Yes, this TDD workflow supports integration testing for bug fixes by guiding developers to write tests that reproduce the issue before implementing the actual code fix.

Can I use Playwright for E2E tests within this testing workflow?

Yes, you can use Playwright for E2E tests within this workflow, as it integrates with standard JavaScript and TypeScript testing setups to streamline end-to-end test automation.

Do I need a specific testing framework to apply the test-first workflow?

You need a standard JavaScript or TypeScript testing setup to apply the test-first workflow, allowing the skill to integrate with popular testing tools and generate structured test cases.