Skip to main content
Generaldavepoon

gsd:add-tests

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

Stars
2,987
Source
davepoon/buildwithclaude
Updated
2026-05-26
Slug
davepoon--buildwithclaude--add-tests
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/davepoon/buildwithclaude/HEAD/plugins/gsd/skills/add-tests/SKILL.md -o .claude/skills/add-tests.md

Drops the SKILL.md into .claude/skills/add-tests.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

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

@${CLAUDE_PLUGIN_ROOT}/workflows/add-tests.md Phase: $ARGUMENTS

@.planning/STATE.md @.planning/ROADMAP.md

Execute the add-tests workflow from @${CLAUDE_PLUGIN_ROOT}/workflows/add-tests.md end-to-end. Preserve all workflow gates (classification approval, test plan approval, RED-GREEN verification, gap reporting).