thinking-partner
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and…
Pick up where you left off. Restores context and suggests next action.
Claude Code
$ npx -y skills add SienkLogic/plan-build-run --skill resume --agent claude-code
Codex
$ npx skills add SienkLogic/plan-build-run --skill resume -a codex -y
Cursor
$ npx skills add SienkLogic/plan-build-run --skill resume -a cursor -y
Gemini CLI
$ npx skills add SienkLogic/plan-build-run --skill resume -a gemini-cli -y
GitHub Copilot
$ npx skills add SienkLogic/plan-build-run --skill resume -a github-copilot -y
OpenCode
$ npx skills add SienkLogic/plan-build-run --skill resume -a opencode -y
Windsurf
$ npx skills add SienkLogic/plan-build-run --skill resume -a windsurf -y
name: resume description: "Pick up where you left off. Restores context and suggests next action." allowed-tools: Read, Write, Bash, Glob, Grep, AskUserQuestion argument-hint: "[--from <file>]"
**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 ► RESUMING SESSION ║ ╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
You are running the **resume** skill. Your job is to find the last pause point, restore context for the user, and suggest the next action so they can continue seamlessly.
This skill runs **inline** (no Task delegation).
---
**Get the user back to work in under 30 seconds.** Read the handoff, show what matters, and suggest the next command. Don't make them re-discover their own project state.
---
When resuming, scan for conditions in this priority order. Handle the HIGHEST priority item first:
1. 🔴 UAT-BLOCKER (diagnosed) → Fix must come first 2. 🟡 Interrupted agent → Resume agent from checkpoint 3. 🟡 .continue-here checkpoint → Resume from checkpoint 4. 🟡 Incomplete plan → Complete plan execution 5. 🟢 Phase complete → Transition to next phase 6. 🟢 Ready to plan/execute → Normal workflow
Before presenting the standard resume view, check:
1. **UAT Blockers**: Search for VERIFICATION.md files with `status: gaps_found` in any phase. If found and gaps are marked as blocking, surface them first: "Phase {N} has {count} blocking verification gaps. These should be fixed before continuing."
2. **Interrupted Agents**: Check for `.checkpoint-manifest.json` files in phase directories with `checkpoints_pending` entries. These indicate a build was interrupted mid-checkpoint.
3. **Stale .continue-here.md**: If the file references commits that don't exist in git log, warn about state corruption.
On every resume, reconcile STATE.md claims against filesystem reality:
pbr-tools state check-progress
Parse the JSON output:
If the CLI fails, display a branded ERROR box: "Failed to check state consistency." and proceed with resume (non-blocking — state reconciliation is advisory).
---
Read `.planning/STATE.md` for the last known position.
**Extract from frontmatter:**
**If `session_last` exists in frontmatter**, display it immediately before any other output:
Last session: {session_last}
Stopped at: {session_stopped_at}This gives the user instant context before the full resume analysis runs.
**Also extract from body:**
**CRITICAL -- DO NOT SKIP: After successful resume**, clear `session_stopped_at` from STATE.md frontmatter (set to empty string or remove) to indicate the session has been resumed. Keep `session_last` and `session_resume` intact for reference.
**If STATE.md doesn't exist:**
**Before searching for .continue-here.md**, check for structured state files:
Check if `.planning/HANDOFF.json` exists:
Check if `.planning/WAITING.json` exists:
Project is in WAITING state
Reason: {reason}
Waiting since: {created_at}
Expected duration: {expected_duration}Check if `.planning/.autonomous-state.json` exists:
Autonomous Run Detected
Started: {started_at}
Completed phases: {completed_phases list, or "none"}
Current phase: {current_phase}
{If branch_state non-empty:}
Active branch: {branch for current_phase, if present}Plan it. Build it. Run it. A Claude Code plugin for structured development with context-engineered agents.
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and…
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.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.