qsd-add-tests

Generate unit and E2E tests from phase specifications and commit them.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/thecomputer07/qsd --skill qsd-add-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qsd-add-tests
Source: https://github.com/thecomputer07/qsd/tree/main/skills/qsd-add-tests
Command: npx skills add https://github.com/thecomputer07/qsd --skill qsd-add-tests

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

  • Analyze implementation files to classify tests into TDD (unit), E2E (browser), or Skip categories.
  • Present a test plan for user approval, then generate tests following RED-GREEN conventions.
  • Output test files committed with message: test(phase-{N}): add unit and E2E tests from add-tests command.

Quick Start

Invoke the add-tests workflow for the current phase using the provided phase specifications to generate and commit tests.

Frequently Asked Questions about qsd-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 can generate unit and E2E tests by invoking the add-tests workflow, which uses SUMMARY.md, CONTEXT.md, and VERIFICATION.md as specifications to produce a test plan and commit test files.

What is the RED-GREEN convention for automated test generation?

The RED-GREEN convention is a TDD workflow where the tool first generates failing tests (RED) based on your phase implementation, ensuring that subsequent development makes them pass (GREEN) to satisfy UAT criteria.

How do I classify tests into unit, E2E, and skip categories?

Tests are classified by analyzing implementation files alongside phase specifications, automatically categorizing them into TDD unit tests, browser E2E tests, or skipped tests based on the extracted UAT criteria.

Can I review the test plan before the tool generates test files?

Yes, the workflow presents a test plan for user approval before generating any files, allowing you to review the classified unit, E2E, and skip test cases derived from your phase specifications.

How are generated test files committed to the repository?

Generated test files are committed automatically using a standardized message format: test(phase-{N}): add unit and E2E tests from add-tests command, ensuring consistent version control history.