tdd-workflow

Enforce test-driven workflows across Vitest and Playwright tests in the Veinpal monorepo.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TDD brings a disciplined, test-first approach to Veinpal development, reducing regressions and speeding safe evolution of the codebase.

Core Features & Use Cases

  • Enforces a red-green-refactor cycle to improve design and reliability.
  • Supports unit and integration tests with Vitest and end-to-end tests with Playwright.
  • Guides test organization, naming conventions, and coverage targets to ensure maintainable QA across the monorepo.

Quick Start

Write your first failing unit test, then implement just enough code to pass it, and refactor while preserving test success.

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 TDD workflow across a monorepo using Vitest and Playwright?

To enforce a TDD workflow across a monorepo, this Skill mandates a red-green-refactor cycle for unit, integration, and E2E tests using Vitest and Playwright. It guides test creation, naming conventions, and coverage targets for new features and refactors.

What is the best way to structure tests for new features in a test-driven development setup?

The best way to structure tests for new features is using a consistent AAA structure with clear naming conventions. This Skill guides test organization and sets coverage targets to ensure maintainable QA across your entire monorepo.

Do I need Vitest and Playwright already configured to apply test-driven development rules?

Yes, you need Vitest and Playwright already configured. This Skill requires a Vitest-based unit and integration test harness alongside Playwright for E2E tests to actively enforce the red-green-refactor cycle.

How do I start writing tests using a red-green-refactor cycle?

To start the red-green-refactor cycle, write your first failing unit test, then implement just enough code to pass it, and finally refactor your implementation while preserving test success.

Can I use this test-driven workflow for both bug fixes and refactoring existing code?

Yes, this test-driven workflow applies directly to bug fixes and refactors. It guides test creation and enforces coverage targets using Vitest and Playwright to reduce regressions and speed safe codebase evolution.