gsd:add-tests
GitHub根据UAT标准和实现文件,为已完成阶段生成单元测试和E2E测试。通过分析代码分类并展示测试计划供用户审批,遵循红绿开发规范输出测试文件。
Trigger Scenarios
Install
npx skills add davepoon/buildwithclaude --skill gsd:add-tests -g -y
SKILL.md
Frontmatter
{
"name": "gsd:add-tests",
"description": "Generate tests for a completed phase based on UAT criteria and implementation",
"allowed-tools": [
"Read",
"Write",
"Edit",
"Bash",
"Glob",
"Grep",
"Task",
"AskUserQuestion"
],
"argument-hint": "<phase> [additional instructions]",
"argument-instructions": "Parse the argument as a phase number (integer, decimal, or letter-suffix), plus optional free-text instructions.\nExample: \/gsd:add-tests 12\nExample: \/gsd:add-tests 12 focus on edge cases in the pricing module"
}
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
<execution_context> @${CLAUDE_PLUGIN_ROOT}/workflows/add-tests.md </execution_context>
@.planning/STATE.md @.planning/ROADMAP.md
Version History
- 502fc01 Current 2026-07-05 15:12


