Agent Skills
› davepoon/buildwithclaude
› gsd:add-phase
gsd:add-phase
GitHub在路线图当前里程碑末尾添加新阶段。自动计算序号、生成目录别名、创建目录并更新路线图结构与状态文件,确保阶段按顺序有序演进。
Trigger Scenarios
需要为当前里程碑添加新开发阶段时
用户指令包含 'add phase' 或类似意图时
Install
npx skills add davepoon/buildwithclaude --skill gsd:add-phase -g -y
SKILL.md
Frontmatter
{
"name": "gsd:add-phase",
"description": "Add phase to end of current milestone in roadmap",
"allowed-tools": [
"Read",
"Write",
"Bash"
],
"argument-hint": "<description>"
}
Routes to the add-phase workflow which handles:
- Phase number calculation (next sequential integer)
- Directory creation with slug generation
- Roadmap structure updates
- STATE.md roadmap evolution tracking
<execution_context> @${CLAUDE_PLUGIN_ROOT}/workflows/add-phase.md </execution_context>
Roadmap and state are resolved in-workflow via init phase-op and targeted tool calls.
The workflow handles all logic including:
- Argument parsing and validation
- Roadmap existence checking
- Current milestone identification
- Next phase number calculation (ignoring decimals)
- Slug generation from description
- Phase directory creation
- Roadmap entry insertion
- STATE.md updates
Version History
- 502fc01 Current 2026-07-05 15:12


