thinking-partner
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and think more clearly. Use this…
Create a rich PR from planning artifacts (SUMMARY one-liners, requirement coverage, verification status).
$ npx -y skills add SienkLogic/plan-build-run --skill ship --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/shipContext preview
The summary Claude sees to decide when to auto-load this skill.
Create a rich PR from planning artifacts (SUMMARY one-liners, requirement coverage, verification status).
name: ship description: "Create a rich PR from planning artifacts (SUMMARY one-liners, requirement coverage, verification status)." allowed-tools: Read, Bash, Glob, Grep, AskUserQuestion argument-hint: "[--base <branch>] [--draft]"
**STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Begin executing Step 1 immediately.**
**References:** `@references/ui-brand.md`
You are the orchestrator for `/pbr:ship`. This skill generates a rich pull request from PBR planning artifacts -- SUMMARY one-liners, verification status, and requirement coverage. It uses `gh pr create` to open the PR.
**Before ANY tool calls**, display this banner:
+--------------------------------------------------------------+ | PLAN-BUILD-RUN > SHIP | +--------------------------------------------------------------+
Then proceed to Step 1.
1. Parse `$ARGUMENTS` for optional flags:
2. Verify `gh` CLI is available: `gh --version` 3. Verify git working tree is clean. If uncommitted changes exist, warn:
WARNING: You have uncommitted changes. Commit or stash before shipping.
**CRITICAL -- DO NOT SKIP**: Present the following choice to the user via AskUserQuestion before proceeding: Use AskUserQuestion (pattern: yes-no): question: "Continue with uncommitted changes?" If "No": stop. 4. Verify current branch is NOT the default branch:
git rev-parse --abbrev-ref HEAD
If on main/master, warn and stop: "You are on the default branch. Create a feature branch first."
1. Read `.planning/STATE.md` to get current phase info (phase number, slug, status) 2. Find the current phase directory: `.planning/phases/{NN}-{slug}/` 3. Read all `SUMMARY-*.md` files in the phase directory:
4. Read `VERIFICATION.md` in the phase directory (if exists):
5. Read `.planning/ROADMAP.md`:
6. Compute git stats:
git diff --stat $(git merge-base HEAD main)..HEAD git log --oneline $(git merge-base HEAD main)..HEAD | wc -l
Build the PR body with these sections:
## Summary
{Phase goal from ROADMAP.md}
{For each SUMMARY file: "- **Plan {NN}**: {one-liner status}" }
## Requirements
| REQ-ID | Description | Status |
|--------|-------------|--------|
{For each requirement mapped to this phase}
## Verification
- **Score**: {score from VERIFICATION.md or "Not verified"}
- **Status**: {status}
- **Must-haves**: {pass_count}/{total_count} passing
## Changes
- **Commits**: {commit_count}
- **Files changed**: {file_count}
- **Insertions**: +{insertions}
- **Deletions**: -{deletions}
---
Generated with [Plan-Build-Run](https://github.com/pibster/plan-build-run)1. Generate a PR title from the phase: `feat({phase-slug}): {phase goal summary}`
2. Run `gh pr create`:
gh pr create --title "{title}" --body "$(cat <<'PREOF'
{generated body}
PREOF
)"3. Capture and display the PR URL
PR created: {url}
Title: {title}
Base: {base branch}
Status: {draft or ready}
Commits: {count}
Files: {count}After displaying the PR result, always present a NEXT UP routing block:
╔══════════════════════════════════════════════════════════════╗ ║ ▶ NEXT UP ║ ╚══════════════════════════════════════════════════════════════╝ **PR created** — continue to the next phase or track progress `/pbr:continue` **Also available:** - `/pbr:status` — see overall project status - `/pbr:milestone` — if this was the last phase, complete the milestone <sub>`/clear` first → fresh context window</sub>
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.