thinking-partner
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and think more clearly. Use this…
Save your current session state for later resumption.
$ npx -y skills add SienkLogic/plan-build-run --skill pause --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/pauseContext preview
The summary Claude sees to decide when to auto-load this skill.
Save your current session state for later resumption.
name: pause description: "Save your current session state for later resumption." allowed-tools: Read, Write, Bash, Glob argument-hint: "[reason]"
**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 ► PAUSING SESSION ║ ╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
You are running the **pause** skill. Your job is to capture the current session state so the user can resume exactly where they left off in a future conversation. This creates a `.continue-here.md` handoff file with everything the next session needs.
This skill runs **inline** (no Task delegation).
---
**Capture everything the next session needs to hit the ground running.** The resume skill will read this file cold, with zero prior context. Write it as if you're handing off to a colleague who has never seen this project.
---
**Flag: `--checkpoint`**
If `$ARGUMENTS` contains `--checkpoint`:
Read the following files to understand where things stand:
1. **`.planning/STATE.md`** — Current position
╔══════════════════════════════════════════════════════════════╗
║ ERROR ║
╚══════════════════════════════════════════════════════════════╝
No Plan-Build-Run project state found. Nothing to pause.
**To fix:** Run `/pbr:new-project` to initialize a project first.2. **`.planning/config.json`** — Project settings
3. **`.planning/ROADMAP.md`** — Phase overview
From STATE.md, get the current phase number and find its directory: 1. List directories in `.planning/phases/` 2. Match the current phase number to a directory 3. If no match: use the most recently modified phase directory
Collect the following information:
Scan the current phase directory for SUMMARY.md files:
Also check git log for recent commits:
git log --oneline -20 --since="8 hours ago"
This gives a reasonable window for "this session's work."
Scan for plan files without corresponding SUMMARY.md files:
Check for:
From STATE.md blockers section and any:
Determine the logical next action (same routing logic as `/pbr:progress`):
Reflect on the current approach:
**CRITICAL: Write pause state NOW before displaying confirmation. Do NOT skip this step.**
Write the handoff file to the current phase directory:
**Path:** `.planning/phases/{NN}-{phase-name}/.continue-here.md`
**Content:**
Read `${CLAUDE_SKILL_DIR}/templates/continue-here.md.tmpl` for the handoff file format. Fill in all `{variable}` placeholders with actual session data gathered in Steps 1-3. Fill in all XML sections. The `<context>` section should capture your understanding of the current approach and reasoning -- not just facts. Think of it as a message to your future self explaining what was going on.
**CRITICAL: Write HANDOFF.json NOW, alongside .continue-here.md. Do NOT skip this step.**
After writing `.continue-here.md`, also create `.planning/HANDOFF.json` with structured state for machine consumption:
1. Read current STATE.md for phase/plan/status 2. Read current plan file to get task progress (current task, total tasks) 3. Check for uncommitted files via `git status --short` 4. Read the HANDOFF.json template: `${CLAUDE_PLUGIN_ROOT}/templates/HANDOFF.json.tmpl` 5. Fill in all fields from the template with actual session data:
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.