thinking-partner
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and think more clearly. Use this…
Manage milestones: new, complete, audit, gaps.
$ npx -y skills add SienkLogic/plan-build-run --skill milestone --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/milestoneContext preview
The summary Claude sees to decide when to auto-load this skill.
Manage milestones: new, complete, audit, gaps.
name: milestone description: "Manage milestones: new, complete, audit, gaps." allowed-tools: Read, Write, Bash, Glob, Grep, Task, AskUserQuestion argument-hint: "new|complete|audit|gaps [version]"
<!-- markdownlint-disable MD012 MD046 -->
**STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~7,600 tokens. Begin executing Step 1 immediately.**
**Before ANY tool calls**, display this banner:
╔══════════════════════════════════════════════════════════════╗ ║ PLAN-BUILD-RUN ► MILESTONE ║ ╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
You are running the **milestone** skill. Milestones represent significant project checkpoints — a set of phases that together deliver a cohesive chunk of functionality. This skill handles the full milestone lifecycle: creation, completion, auditing, and gap analysis.
This skill runs **inline** for most subcommands, but spawns agents for `audit`.
---
Reference: `skills/shared/context-budget.md` for the universal orchestrator rules. Reference: `skills/shared/agent-type-resolution.md` for agent type fallback when spawning Task() subagents.
Additionally for this skill:
---
Before any phase-modifying operations (archiving phases, updating ROADMAP.md/STATE.md/PROJECT.md), acquire a claim:
acquireClaim(planningDir, sessionId)
If the claim fails (another session owns this project), display: "Another session owns this project. Use `/pbr:progress` to see active claims."
On completion or error (including all exit paths), release the claim:
releaseClaim(planningDir, sessionId)
**Milestones are the rhythm of the project.** They force you to step back, verify everything works together, and create a clean snapshot before moving on. Never skip the audit — integration issues hide at milestone boundaries.
---
Parse `$ARGUMENTS` for the subcommand and optional version:
$ARGUMENTS format: {subcommand} [{version/name}]
Examples:
"new" → subcommand=new, arg=none
"new User Auth" → subcommand=new, arg="User Auth"
"complete v1.0" → subcommand=complete, arg="v1.0"
"complete 1.0" → subcommand=complete, arg="v1.0" (auto-prefix v)
"preview v1.0" → subcommand=preview, arg="v1.0"
"audit v1.0" → subcommand=audit, arg="v1.0"
"audit" → subcommand=audit, arg=current milestone
"gaps" → subcommand=gaps, arg=most recent audit**If no subcommand recognized:** Show usage:
Usage: /pbr:milestone <subcommand> [version] Subcommands: new [name] — Start a new milestone cycle complete [ver] — Archive completed milestone preview [ver] — Dry-run of complete (show what would happen) audit [ver] — Verify milestone completion gaps — Create phases to close audit gaps
**CRITICAL — After parsing the subcommand, run init command before any manual state reads:**
node plugins/pbr/scripts/pbr-tools.js init milestone
Store the JSON result as `blob`. This single call replaces multiple file reads across all subcommands:
If `blob.error` is set, display the error banner and stop (no project found).
---
Start a new milestone cycle with new phases.
1. **Read current state from init blob:**
2. **Get milestone details** via AskUserQuestion:
3. **Determine phase numbering:**
4. **Mini roadmap session:** Run a condensed version of the `/pbr:new-project` questioning flow:
a. Ask about major components needed (via AskUserQuestion):
b. For each area, ask:
c. Generate phases from the areas:
5. **Update ROADMAP.md:** Append new milestone section:
--- ## Milestone:
Plan it. Build it. Run it. A Claude Code plugin for structured development with context-engineered agents.
Repo: SienkLogic/plan-build-run
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and think more clearly. Use this…
Run audit, prioritize findings, auto-fix via quick tasks, test, and commit.
Review past Claude Code sessions for PBR workflow compliance and UX quality.
Run multiple phases hands-free. Chains discuss, plan, build, and verify automatically.
Manage backlog items — ideas not ready for active planning. Add, review, promote, or remove.
Start a new project. Deep questioning, research, requirements, and roadmap.