Skip to content
Development
Command

/phase

CRUD for phases in ROADMAP.md — add, insert, remove, or edit phases

From plugin
gsd-core
8k71 skills34 agents71 commands7 hooks
Install
> /plugin marketplace add open-gsd/gsd-core
> /plugin install gsd-core@gsd-core

How it fires

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

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/phase

Context preview

What this command does when you run it.

CRUD for phases in ROADMAP.md — add, insert, remove, or edit phases

Command definition

phase.md
name: gsd:phase
description: CRUD for phases in ROADMAP.md — add, insert, remove, or edit phases
argument-hint: "[--insert | --remove | --edit] <phase-name-or-number>"
allowed-tools:
  - Read
  - Write
  - Bash
  - Glob

<objective> Manage phases in ROADMAP.md with a single consolidated command.

Mode routing:

  • **default** (no flag): Add a new integer phase to the end of the current milestone → add-phase workflow
  • **--insert**: Insert urgent work as a decimal phase (e.g., 72.1) between existing phases → insert-phase workflow
  • **--remove**: Remove a future phase and renumber subsequent phases → remove-phase workflow
  • **--edit**: Edit any field of an existing phase in place → edit-phase workflow

</objective>

<routing>

| Flag | Action | Workflow | |------|--------|----------| | (none) | Add new integer phase at end of milestone | add-phase | | --insert | Insert decimal phase (e.g., 72.1) after specified phase | insert-phase | | --remove | Remove future phase, renumber subsequent | remove-phase | | --edit | Edit fields of existing phase in place | edit-phase |

</routing>

<execution_context> @~/.claude/gsd-core/workflows/add-phase.md @~/.claude/gsd-core/workflows/insert-phase.md @~/.claude/gsd-core/workflows/remove-phase.md @~/.claude/gsd-core/workflows/edit-phase.md </execution_context>

<context> Arguments: $ARGUMENTS

Parse the first token of $ARGUMENTS:

  • If it is `--insert`: strip the flag, pass remainder (format: <after-phase-number> <description>) to insert-phase workflow
  • If it is `--remove`: strip the flag, pass remainder (phase number) to remove-phase workflow
  • If it is `--edit`: strip the flag, pass remainder (phase-number [--force]) to edit-phase workflow
  • Otherwise: pass all of $ARGUMENTS (phase description) to add-phase workflow

Roadmap and state are resolved in-workflow via `init phase-op` and targeted reads. </context>

<process> 1. Parse the leading flag (if any) from $ARGUMENTS. 2. Load and execute the appropriate workflow end-to-end based on the routing table above. 3. Preserve all validation gates from the target workflow. </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