gsd-add-tests

Generate unit and end-to-end tests from UAT criteria using RED-GREEN conventions.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/NUbivek/Searchbar3 --skill gsd-add-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-add-tests
Source: https://github.com/NUbivek/Searchbar3/tree/main/.codex/skills/gsd-add-tests
Command: npx skills add https://github.com/NUbivek/Searchbar3 --skill gsd-add-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the generation of unit and end-to-end tests for software development phases, ensuring code quality and adherence to specifications.

Core Features & Use Cases

  • Automated Test Generation: Creates tests based on User Acceptance Testing (UAT) criteria and implementation details.
  • TDD Workflow Support: Follows the RED-GREEN testing convention.
  • Use Case: After completing a new feature, use this Skill to automatically generate comprehensive tests that verify its functionality against the defined requirements, before committing the code.

Quick Start

Use the gsd-add-tests skill to generate tests for phase 3.

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 for completed software features?

To generate unit and E2E tests, this Skill analyzes your implementation files and UAT criteria, classifies them for TDD or E2E testing, and creates test files using RED-GREEN conventions. It presents a test plan for user approval before generating the tests.

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

The RED-GREEN testing convention is a TDD workflow applied during automated test generation. This Skill uses it to generate tests that initially fail (RED) against your implementation, then guides development to make them pass (GREEN), ensuring code quality and adherence to specifications.

Can I automatically generate tests based on User Acceptance Testing criteria?

Yes, you can generate tests based on User Acceptance Testing (UAT) criteria. The Skill uses your defined UAT criteria and implementation details to create comprehensive unit and end-to-end tests that verify functionality against your specific requirements.

How do I automate test creation for a new development phase without writing tests manually?

You automate test creation by triggering the Skill after completing a development phase. It automatically analyzes your implementation files, classifies them for TDD or E2E testing, and outputs committed test files with a specific message format, eliminating manual test writing.

Does automated test generation work with both unit and end-to-end testing workflows?

Yes, automated test generation works with both unit and end-to-end testing workflows. The Skill analyzes your implementation files and classifies them appropriately for TDD, E2E testing, or skips them, presenting a comprehensive test plan for approval before generating the test files.

When should I skip automated test generation for certain implementation files?

You should skip automated test generation when the Skill classifies specific implementation files as not requiring tests. During analysis, it evaluates your codebase and automatically determines which files to process for TDD or E2E testing and which to skip based on the implementation details.