gsd-add-tests

Generate unit and E2E tests from phase specification documents.

1|Updated Aug 17, 2025
One-click install
npx skills add https://github.com/DuySeu/StockMind --skill gsd-add-tests-duyseu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-add-tests
Source: https://github.com/DuySeu/StockMind/tree/main/.agent/skills/gsd-add-tests
Command: npx skills add https://github.com/DuySeu/StockMind --skill gsd-add-tests-duyseu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate unit and E2E tests for a completed phase, using its SUMMARY.md, CONTEXT.md, and VERIFICATION.md as specifications.

Core Features & Use Cases

  • Classifies implementation into unit tests, E2E tests, or skips based on the phase content.
  • Proposes a test plan for user approval and generates tests following RED-GREEN conventions.
  • Commits generated tests with a standardized message format to ensure traceability.

Quick Start

Run the add-tests workflow for the target phase to generate and commit unit and E2E tests from the phase specifications.

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 E2E tests from phase specifications?

You generate unit and E2E tests by running the add-tests workflow on a completed phase, using its SUMMARY.md, CONTEXT.md, and VERIFICATION.md as specifications. The workflow classifies the implementation and proposes a test plan for approval.

How does test generation work with RED-GREEN conventions?

Test generation following RED-GREEN conventions creates deterministic tests based on your phase documentation. It automatically commits the generated tests with a standardized message format to ensure full traceability across your development workflow.

Can I automatically classify implementation into unit and E2E browser tests?

Yes, automated test generation classifies your completed phase implementation into unit tests, E2E browser tests, or skipped tests based on the phase content. It analyzes your documentation to determine the appropriate test type.

What do I need to generate tests from phase documentation?

To generate tests from phase documentation, you need a completed phase with existing implementation and documentation, specifically SUMMARY.md, CONTEXT.md, and VERIFICATION.md files. The workflow uses these specifications to produce a test plan.

When should I use automated test generation for a completed phase?

You should use automated test generation when a phase has existing implementation and documentation. It reads the phase specifications to create a test plan, applies RED-GREEN conventions, and commits tests with a required message format.

Does the add-tests workflow require any dependencies to run?

The add-tests workflow requires no external dependencies to run. It operates directly on your phase documentation files to classify work into unit and E2E tests, propose a test plan, and commit the generated tests.