vcx-tdd-gate

Enforce Red-Green-Refactor gating with vitest, Playwright, lint, and build checks.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/sangmokang/valueconnectx --skill vcx-tdd-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vcx-tdd-gate
Source: https://github.com/sangmokang/valueconnectx/tree/main/.claude/skills/vcx-tdd-gate
Command: npx skills add https://github.com/sangmokang/valueconnectx --skill vcx-tdd-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

ValueConnect X projects require strict test-first development to ensure stability; this Skill enforces a Red → Green → Refactor workflow and blocks commits that lack tests, passing test coverage, or proper evidence across the VCX orchestrator phases.

Core Features & Use Cases

  • Enforces a test-first workflow across VCX phases 3-A to 3-C, ensuring tests exist and pass before merging.
  • Integrates vitest (jsdom) + Playwright (e2e) checks, including evidence-before-assertion and lint/build requirements as gating criteria.
  • Prevents regression by keeping tests in PR, guiding teams through Red, Green, and Refactor validation.

Quick Start

Run the VCX-TDD-Gate check in CI or locally to validate the Red → Green → Refactor sequence.

Frequently Asked Questions about vcx-tdd-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a test-first TDD workflow before pull request approval?

To enforce test-first TDD before PR approval, use this Skill to validate the Red → Green → Refactor sequence by requiring passing vitest, lint, build, and Playwright e2e criteria as mandatory gating checks.

What is the best way to gate CI checks using vitest and Playwright for end-to-end testing?

Gating CI checks with vitest and Playwright requires validating both unit tests and e2e suites, which this Skill achieves by enforcing evidence-before-assertion and code-quality gates across orchestrator phases before allowing merges.

How do I block commits that lack proper test coverage in a vitest and jsdom environment?

Block commits lacking test coverage in vitest and jsdom by applying this Skill to require test suites and explicit evidence collection, preventing regressions by keeping passing tests mandatory within PRs.

Does this testing gate support evidence-before-assertion checks for Playwright e2e suites?

Yes, evidence-before-assertion checks for Playwright e2e suites are fully supported, as the Skill mandates explicit evidence collection and passing test validation across VCX orchestrator phases 3-A, 3-B, and 3-C.

When do I need to run lint, build, and security review checks for TDD validation?

Run lint, build, and security review checks for TDD validation when completing the Refactor phase, as the Skill requires these mandatory checks alongside test and e2e passing criteria before claiming task completion.

What limitations exist when automating Red Green Refactor gating across CI pipelines?

Automating Red Green Refactor gating is limited to the VCX orchestrator phases 3-A to 3-C context, meaning it strictly requires vitest and Playwright test suites and will block any commits lacking proper evidence or passing tests.