Skip to content
Development
Command

/remove-phase

Remove a future phase from roadmap and renumber subsequent phases

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

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/remove-phase

Context preview

What this command does when you run it.

Remove a future phase from roadmap and renumber subsequent phases

Command definition

remove-phase.md
description: "Remove a future phase from roadmap and renumber subsequent phases"
argument-hint: "<phase-number>"
allowed-tools:
  - Read
  - Write
  - Bash
  - Glob

<objective> Remove an unstarted future phase from the roadmap and renumber all subsequent phases to maintain a clean, linear sequence.

Purpose: Clean removal of work you've decided not to do, without polluting context with cancelled/deferred markers. Output: Phase deleted, all subsequent phases renumbered, git commit as historical record. </objective>

<context> Phase: $ARGUMENTS

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

<process>

1. Validate Phase Number

Parse $ARGUMENTS as phase number. Error if empty.

2. Check Phase Status

pbr-tools phase-info $ARGUMENTS

Verify the phase exists and has NOT been started (no PLAN.md or SUMMARY.md files). Refuse to remove completed or in-progress phases.

3. Confirm Removal

Display phase details and ask for confirmation: "Remove Phase {N}: {name}? This will renumber all subsequent phases."

4. Remove Phase

pbr-tools phase remove $ARGUMENTS
pbr-tools roadmap remove-phase $ARGUMENTS

5. Update State

pbr-tools state record-activity "Removed phase {N}: {name}"

6. Commit

git add .planning/
git commit -m "docs: remove phase {N} — {name}"

7. Report

Display updated phase list and suggest `/pbr:progress` to review. </process>

Read more
Ships withplan-build-run

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

Get the whole plugin, auto-invoked
Stats
17
Stars
1
Views
5
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
4mo ago
Last commit
5mo ago
Created

Repo: SienkLogic/plan-build-run