/add-phase
Add phase to end of current milestone in roadmap
$ npx -y skills add SienkLogic/plan-build-run --agent claude-codeHow 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
/add-phase
Context preview
What this command does when you run it.
Add phase to end of current milestone in roadmap
Command definition
add-phase.mddescription: "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
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>
Plan it. Build it. Run it. A Claude Code plugin for structured development with context-engineered agents.
Repo: SienkLogic/plan-build-run
Other commands on plan-build-run.
- /add-todo
Capture idea or task as todo from current conversation context
Open command - /audit-fix
Run audit, prioritize findings, auto-fix via quick tasks, test, and commit.
Open command - /audit-milestone
Audit milestone completion against original intent before archiving
Open command - /audit
Review past Claude Code sessions for PBR workflow compliance and UX quality.
Open command - /autonomous
Run multiple phases hands-free. Chains discuss, plan, build, and verify automatically.
Open command - /backlog
Manage backlog items — ideas not ready for active planning. Add, review, promote, or remove.
Open command

