thinking-partner
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and think more clearly. Use this…
Reconfigure an existing Plan-Build-Run project (models, features, CLAUDE.md).
$ npx -y skills add SienkLogic/plan-build-run --skill setup --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/setupContext preview
The summary Claude sees to decide when to auto-load this skill.
Reconfigure an existing Plan-Build-Run project (models, features, CLAUDE.md).
name: setup description: "Reconfigure an existing Plan-Build-Run project (models, features, CLAUDE.md)." allowed-tools: Read, Write, Bash, Glob, AskUserQuestion argument-hint: "[--models] [--features] [--hooks]"
**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 tokens. Begin executing Step 1 immediately.**
**Before ANY tool calls**, display this banner:
╔══════════════════════════════════════════════════════════════╗ ║ PLAN-BUILD-RUN ► RECONFIGURE ║ ╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
You are running the **setup** skill in **reconfigure mode**. This wizard lets existing Plan-Build-Run projects change model profiles, workflow features, and CLAUDE.md integration. It does NOT re-initialize or overwrite project state.
---
Check if `.planning/config.json` exists.
**If `.planning/config.json` does NOT exist:** Display:
No Plan-Build-Run project found in this directory. /pbr:setup is for reconfiguring existing projects. To start a new project, run: /pbr:new-project /pbr:new-project includes everything /pbr:setup used to do, plus deep requirements gathering and roadmap creation.
Stop. Do not proceed further.
**If `.planning/config.json` exists:**
Current configuration:
- Model profile: {derived from models block — balanced/quality/budget or custom}
- Depth: {depth}
- Mode: {mode}
- Auto-continue: {features.auto_continue}
- TDD mode: {features.tdd_mode}
- Git branching: {git.branching}---
Note: These profiles control agent models, not the orchestrator. The orchestrator uses your Claude Code session model. For cost optimization, consider running your session on Sonnet -- agents with `inherit` will follow. See `references/model-profiles.md` for details.
Use AskUserQuestion: question: "Which model profile should agents use?" header: "Models" options:
description: "Sonnet for most agents, Haiku for synthesizer. Good quality/cost tradeoff."
description: "Opus for executor and planner, Sonnet for others. Best results, highest cost."
description: "Haiku for most agents. Fastest and cheapest, but lower quality."
description: "Leave model settings unchanged."
Apply the selected profile to the models block in config.json:
---
Use AskUserQuestion: question: "Which workflow features do you want enabled?" header: "Features" multiSelect: true options:
description: "Automatically chain commands (build → review → next phase) without prompting"
description: "Write tests before implementation in executor agents"
description: "Require verification AND review to pass before advancing phases"
description: "Create a branch per phase for cleaner PR history"
Apply selections (others unchanged):
---
Check if a `CLAUDE.md` file exists in the project root.
**If it exists**: Read it. If it does NOT already contain a "Plan-Build-Run" section, offer to append the integration block. **If it does NOT exist**: Offer to create `CLAUDE.md` with the integration block.
Use AskUserQuestion: question: "Update CLAUDE.md with Plan-Build-Run integration notes?" header: "CLAUDE.md" options:
description: "Add or update the Plan-Build-Run section in CLAUDE.md"
description: "Skip — leave CLAUDE.md as-is"
If "Yes", append/create:
## Plan-Build-Run This project uses [Plan-Build-Run](https://github.com/SienkLogic/plan-build-run) for structured development. - Project state: `.planning/STATE.md` (source of truth for current phase and progress) - Configuration: `.planning/config.json` - Run `/pbr:progress` to see current project state and suggested next action. **After compaction or context recovery**: Read `.planning/STATE.md` (especially the `## Session Continuity` section) before proceeding with any work. The PreCompact hook writes recovery state there automatically.
---
Manage Claude Code platform settings that PBR recommends for optimal token usage.
**Read `.planning/config.json`** (already loaded in Step 1). Check for a `platform_settings` block:
**Check for existing `.claude/settings.json`**:
**Compute the merge**:
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.