Skip to content
Development
Command

/insert-phase

Insert urgent work as decimal phase (e.g., 72.1) between existing phases

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

Command definition

insert-phase.md
description: "Insert urgent work as decimal phase (e.g., 72.1) between existing phases"
argument-hint: "<after> <description>"
allowed-tools:
  - Read
  - Write
  - Bash

<objective> Insert a decimal phase for urgent work discovered mid-milestone that must be completed between existing integer phases.

Uses decimal numbering (72.1, 72.2, etc.) to preserve the logical sequence of planned phases while accommodating urgent insertions.

Purpose: Handle urgent work discovered during execution without renumbering entire roadmap. </objective>

<context> Arguments: $ARGUMENTS (format: <after-phase-number> <description>)

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

<process>

1. Parse Arguments

Extract after-phase-number and description from $ARGUMENTS. Error if either is missing.

2. Calculate Decimal Phase Number

Find existing decimal phases after the target number to determine next available decimal (e.g., if 3.1 exists, use 3.2).

3. Generate Slug

SLUG=$(pbr-tools generate-slug "{description}")

4. Create Phase

pbr-tools roadmap insert-phase {after} --goal "{description}"

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

5. Update State

pbr-tools state record-activity "Inserted phase {NN.D}: {description}"

6. Commit

git add .planning/
git commit -m "docs: insert phase {NN.D} — {slug}"

7. Report

Display: "Phase {NN.D}: {description} inserted after phase {NN}." Suggest: `/pbr:plan-phase {NN.D}` as next step. </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