Skip to content
Development
Command

/add-tests

Generate tests for a completed phase based on UAT criteria and implementation

From plugin
gsd-pro
8638 skills15 agents38 commands3 hooks

Command definition

add-tests.md
name: gsd:add-tests
description: Generate tests for a completed phase based on UAT criteria and implementation
argument-hint: "<phase> [additional instructions]"
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash
  - Glob
  - Grep
  - Task
  - AskUserQuestion
argument-instructions: |
  Parse the argument as a phase number (integer, decimal, or letter-suffix), plus optional free-text instructions.
  Example: /gsd:add-tests 12
  Example: /gsd:add-tests 12 focus on edge cases in the pricing module

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

Analyzes implementation files, classifies them into TDD (unit), E2E (browser), or Skip categories, presents a test plan for user approval, then generates tests following RED-GREEN conventions.

Output: Test files committed with message `test(phase-{N}): add unit and E2E tests from add-tests command` </objective>

<execution_context> @~/.claude/get-shit-done/workflows/add-tests.md </execution_context>

<context> Phase: $ARGUMENTS

@.planning/STATE.md @.planning/ROADMAP.md </context>

<process> Execute the add-tests workflow from @~/.claude/get-shit-done/workflows/add-tests.md end-to-end. Preserve all workflow gates (classification approval, test plan approval, RED-GREEN verification, gap reporting). </process>

@itsjwill
Ships withgsd-pro

GSD Pro — The most powerful AI coding workflow for Claude Code. Free alternative to Cursor Composer, Copilot Workspace, Devin & Bolt. Multi-model routing, rollback/recovery, adaptive context. Fork of 30K★ original. npx get-shit-done-cc

Stars on GitHub

Momentum

stars in total
86
Star history of itsjwill/gsd-pro on GitHub, a chart by star-history.com

Other commands on gsd-pro.

autonomous

autonomous

Command

Run all remaining phases autonomously — discuss→plan→execute per phase

@itsjwill@itsjwillInstall Command
cleanup

cleanup

Command

Archive accumulated phase directories from completed milestones

@itsjwill@itsjwillInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command