Skip to content
Development
Skill

/gsd-review-backlog

Review and promote backlog items to active milestone

From plugin
gsd-core
8k71 skills34 agents71 commands7 hooks
Install
$ npx -y skills add open-gsd/gsd-core --skill gsd-review-backlog --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/gsd-review-backlog

Context preview

The summary Claude sees to decide when to auto-load this skill.

Review and promote backlog items to active milestone

SKILL.md

gsd-review-backlog.SKILL.md
name: gsd-review-backlog
description: "Review and promote backlog items to active milestone"
allowed-tools:
  - Read
  - Write
  - Bash
  - AskUserQuestion

<objective> Review all 999.x backlog items and optionally promote them into the active milestone sequence or remove stale entries. </objective>

<process>

1. **List backlog items:**

   ls -d .planning/phases/999* 2>/dev/null || echo "No backlog items found"

2. **Read ROADMAP.md** and extract all 999.x phase entries:

   cat .planning/ROADMAP.md

Show each backlog item with its description, any accumulated context (CONTEXT.md, RESEARCH.md), and creation date.

3. **Present the list to the user** via AskUserQuestion:

  • For each backlog item, show: phase number, description, accumulated artifacts
  • Options per item: **Promote** (move to active), **Keep** (leave in backlog), **Remove** (delete)

4. **For items to PROMOTE:**

  • Find the next sequential phase number in the active milestone
  • Rename the directory from `999.x-slug` to `{new_num}-slug`:
     NEW_NUM=$(gsd-tools query phase.add "${DESCRIPTION}" --raw)
  • Move accumulated artifacts to the new phase directory
  • Update ROADMAP.md: move the entry from `## Backlog` section to the active phase list
  • Remove `(BACKLOG)` marker
  • Add appropriate `**Depends on:**` field

5. **For items to REMOVE:**

  • Delete the phase directory
  • Remove the entry from ROADMAP.md `## Backlog` section

6. **Commit changes:**

   gsd-tools query commit "docs: review backlog — promoted N, removed M" --files .planning/ROADMAP.md

7. **Report summary:**

   ## 📋 Backlog Review Complete

   Promoted: {list of promoted items with new phase numbers}
   Kept: {list of items remaining in backlog}
   Removed: {list of deleted items}

</process>

Read more
Ships withgsd-core

Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.

Get the whole plugin