Skip to content
Development
Command

/add-phase

Add phase to end of current milestone in roadmap

From plugin
plan-build-run
1870 skills18 agents70 commands
$ npx -y skills add SienkLogic/plan-build-run --agent claude-code

Command definition

add-phase.md
description: "Add phase to end of current milestone in roadmap"
argument-hint: "<description>"
allowed-tools:
  - Read
  - Write
  - Bash

<objective> Add a new integer phase to the end of the current milestone in the roadmap.

Handles:

  • Phase number calculation (next sequential integer)
  • Directory creation with slug generation
  • Roadmap structure updates
  • STATE.md roadmap evolution tracking

</objective>

<context> Description: $ARGUMENTS

@.planning/ROADMAP.md @.planning/STATE.md </context>

<process>

1. Parse Arguments

Extract phase description from $ARGUMENTS. If empty, ask user for a description.

2. Validate State

pbr-tools roadmap analyze

Check that ROADMAP.md exists and has at least one milestone.

3. Calculate Next Phase Number

Read ROADMAP.md, find the highest integer phase number in the current milestone, add 1.

4. Generate Slug

SLUG=$(pbr-tools generate-slug "$ARGUMENTS")

5. Create Phase Directory and Update Roadmap

pbr-tools roadmap append-phase --goal "$ARGUMENTS"

Create `.planning/phases/{NN}-{slug}/` directory.

6. Update State

pbr-tools state record-activity "Added phase {NN}: {description}"

7. Commit

git add .planning/ROADMAP.md .planning/STATE.md .planning/phases/
git commit -m "docs: add phase {NN} — {slug}"

8. Report

Display: "Phase {NN}: {description} added to roadmap." Suggest: `/pbr:discuss-phase {NN}` or `/pbr:plan-phase {NN}` as next steps. </process>

Read more
@sienklogic
Ships withplan-build-run

Plan it. Build it. Run it. A Claude Code plugin for structured development with context-engineered agents.

1847 skills18 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
18
Star history of SienkLogic/plan-build-run on GitHub, a chart by star-history.com

Other commands on plan-build-run.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command