Skip to content
cccskills
FreePublished on GitHub

vcsdd-tdd

Run Phase 2a (test generation, Red phase) for the active VCSDD feature. Invokes vcsdd-builder to generate failing tests for all spec requirements. Records red phase evidence.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

What

Runs the Red phase (Phase 2a): generates test cases for every requirement in the behavioral spec. Tests MUST FAIL before implementation begins. Records failure evidence.

When

Run after spec review gate (Phase 1c) passes. Requires active feature at phase 1c.

How

  1. Read behavioral spec: extract all REQ-XXX requirements
  2. Invoke vcsdd-builder agent to generate tests:
    • One test function per requirement minimum
    • Additional tests for each edge case in spec
    • Tests for error conditions and boundary values
  3. Create test-case beads: one per test function, linked to corresponding REQ-XXX bead
  4. Transition to 2a: this starts sprint N for the current implementation cycle (transitionPhase(feature, '2a'))
  5. Run tests and verify they FAIL:
    npm test 2>&1 | tee .vcsdd/features/<name>/evidence/sprint-N-red-phase.log
    
  6. Verify regression baseline: run existing tests separately to confirm they still pass
  7. Record red phase evidence in the active sprint with explicit markers at the top of the log:
    new-feature-tests: FAIL
    regression-baseline: PASS
    
    For coverage-retrofit sprints (adding tests to already-implemented code):
    • Use coverage-retrofit: true instead of new-feature-tests: failing
    • Example:
      coverage-retrofit: true
      regression-baseline: PASS
      total-tests: 45
      new-tests-added: 3
      
  8. Append the raw failing test output after those markers so the gate can prove both conditions
  9. Display summary: sprint number, N tests generated, all failing as expected

CRITICAL: Red Phase Validation

If ANY new test passes before implementation, STOP. The test is invalid (it's testing the wrong thing or the implementation already exists). Fix the test first.

Examples

/vcsdd-tdd
/vcsdd-tdd --framework vitest    # specify test framework
/vcsdd-tdd --framework pytest

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use this skill when running or interpreting VCSDD adversarial reviews. Provides calibration guidance for the Adversary agent, finding severity classification, and anti-leniency enforcement patterns.

The English summary is being prepared. Showing the original description.

sc30gsw/vcsdd-claude-code27Updated Apr 5, 2026

Run Phase 3 (adversarial review) for the active VCSDD feature. Spawns a fresh vcsdd-adversary agent with zero Builder context to review implementation against spec. Produces binary PASS/FAIL verdict per dimension.

The English summary is being prepared. Showing the original description.

sc30gsw/vcsdd-claude-code27Updated Apr 5, 2026

Create a git commit for the current VCSDD phase. Auto-generates a conventional commit message from state.json including phase, sprint, gate verdict, and affected bead IDs. Tags with vcsdd/<feature>/phase-<id>.

The English summary is being prepared. Showing the original description.

sc30gsw/vcsdd-claude-code27Updated Apr 5, 2026

Run the strict-mode sprint contract review after Phase 2c. Spawns a fresh vcsdd-adversary instance to review `contracts/sprint-N.md` and writes a PASS/FAIL verdict under `reviews/contracts/sprint-N/output/`.

The English summary is being prepared. Showing the original description.

sc30gsw/vcsdd-claude-code27Updated Apr 5, 2026

Run Phase 6 (convergence check) for the active VCSDD feature. Validates four-dimensional convergence: finding diminishment, finding specificity, criteria coverage, and duplicate detection.

The English summary is being prepared. Showing the original description.

sc30gsw/vcsdd-claude-code27Updated Apr 5, 2026

Use this skill during Phase 6 convergence checks. Provides four-dimensional convergence analysis, hallucination detection, and duplicate finding identification.

The English summary is being prepared. Showing the original description.

sc30gsw/vcsdd-claude-code27Updated Apr 5, 2026

See all skills by sc30gsw

Report a problem with this skill