gsd:add-backlog
GitHub将未就绪的想法添加至999.x编号的待办停车场。读取ROADMAP.md获取下一序号,更新文档并创建对应阶段目录,最后提交更改。适用于收集暂不排期的创意或需求。
Trigger Scenarios
Install
npx skills add davepoon/buildwithclaude --skill gsd:add-backlog -g -y
SKILL.md
Frontmatter
{
"name": "gsd:add-backlog",
"description": "Add an idea to the backlog parking lot (999.x numbering)",
"allowed-tools": [
"Read",
"Write",
"Bash"
],
"argument-hint": "<description>"
}
-
Read ROADMAP.md to find existing backlog entries:
cat .planning/ROADMAP.md -
Find next backlog number:
NEXT=$(gsd-sdk query phase.next-decimal 999 --raw)If no 999.x phases exist, start at 999.1.
-
Add to ROADMAP.md under a
## Backlogsection. If the section doesn't exist, create it at the end. Write the ROADMAP entry BEFORE creating the directory — this ensures directory existence is always a reliable indicator that the phase is already registered, which prevents false duplicate detection in any hook that checks for existing 999.x directories (#2280):## Backlog ### Phase {NEXT}: {description} (BACKLOG) **Goal:** [Captured for future planning] **Requirements:** TBD **Plans:** 0 plans Plans: - [ ] TBD (promote with /gsd:review-backlog when ready) -
Create the phase directory:
SLUG=$(gsd-sdk query generate-slug "$ARGUMENTS" --raw) mkdir -p ".planning/phases/${NEXT}-${SLUG}" touch ".planning/phases/${NEXT}-${SLUG}/.gitkeep" -
Commit:
gsd-sdk query commit "docs: add backlog item ${NEXT} — ${ARGUMENTS}" .planning/ROADMAP.md ".planning/phases/${NEXT}-${SLUG}/.gitkeep" -
Report:
## 📋 Backlog Item Added Phase {NEXT}: {description} Directory: .planning/phases/{NEXT}-{slug}/ This item lives in the backlog parking lot. Use /gsd:discuss-phase {NEXT} to explore it further. Use /gsd:review-backlog to promote items to active milestone.
Version History
- 502fc01 Current 2026-07-05 15:11


