gsd-add-tests

Generate unit and end-to-end tests from phase summaries and verification artifacts.

264|11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/coco-research/coco --skill gsd-add-tests-coco-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-add-tests
Source: https://github.com/coco-research/coco/tree/main/systems/gsd/skills/gsd-add-tests
Command: npx skills add https://github.com/coco-research/coco --skill gsd-add-tests-coco-research

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill turns a completed phase into a concrete test suite, helping teams add the missing unit and end-to-end coverage needed to verify implementation quality before moving forward.

Core Features & Use Cases

  • Phase-Aware Test Generation: Uses the phase's SUMMARY.md, CONTEXT.md, and VERIFICATION.md as the source of truth for what should be tested.
  • Test Classification: Separates implementation files into unit, browser-based end-to-end, or skip categories so each test is placed where it belongs.
  • Workflow-Gated Delivery: Supports review checkpoints for classification, test-plan approval, RED-GREEN verification, and gap reporting to keep the process controlled and auditable.
  • Use Case: A developer finishes a feature phase and needs a reliable test set that matches the implementation and the acceptance criteria without manually planning everything from scratch.

Quick Start

Ask the skill to generate tests for the completed phase you specify, then review the proposed test plan before it creates and verifies the new unit and end-to-end tests.

Frequently Asked Questions about gsd-add-tests

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

FAQPage Schema
How do I generate unit and end-to-end tests for a completed development phase?

To generate unit and end-to-end tests for a completed phase, provide the phase's SUMMARY.md, CONTEXT.md, and VERIFICATION.md artifacts. The system creates an implementation-aware test plan, classifies files, and applies RED-GREEN validation before committing coverage.

What is RED-GREEN validation in phase test generation?

RED-GREEN validation in phase test generation ensures newly created tests initially fail (RED) before implementation fixes are applied to make them pass (GREEN). This workflow gate verifies that tests accurately reflect acceptance criteria before committing coverage.

How do test classification workflows separate unit tests from end-to-end tests?

Test classification workflows separate unit tests from end-to-end tests by evaluating implementation files against the phase context. Files are categorized into unit, browser-based end-to-end, or skip categories, ensuring each test is placed in the correct testing layer.

Can I use phase summary and verification artifacts to plan tests automatically?

Yes, you can use phase SUMMARY.md and VERIFICATION.md artifacts to plan tests automatically. The system reads these documents to build an implementation-aware test plan that aligns with your acceptance criteria and phase context without manual planning.

What are the limitations of automated test generation for phase-based development?

Automated test generation for phase-based development requires deterministic inputs and strict approval checkpoints at classification, test-plan, and gap reporting stages. It is limited to completed phases and cannot generate tests for incomplete or undocumented workflows.

Why does my test generation workflow require approval checkpoints before writing tests?

Test generation workflows require approval checkpoints to keep the process controlled and auditable. Reviewing the proposed test plan, classification, and gap reporting before writing tests ensures the generated unit and end-to-end suites match implementation quality expectations.