بنقرة واحدة
ship
Create a rich PR from planning artifacts (SUMMARY one-liners, requirement coverage, verification status).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a rich PR from planning artifacts (SUMMARY one-liners, requirement coverage, verification status).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run multiple phases hands-free. Chains discuss, plan, build, and verify automatically.
Start a new project. Deep questioning, research, requirements, and roadmap.
Execute all plans in a phase. Spawns agents to build in parallel, commits atomically.
Configure settings: depth, model profiles, features, git, and gates.
Execute the next logical step automatically. No prompts, no decisions — just do it.
Systematic debugging with hypothesis testing. Persistent across sessions.
| 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.
$ARGUMENTS for optional flags:
--base <branch> -- target branch for the PR (default: repo default branch)--draft -- create as draft PRgh CLI is available: gh --versionWARNING: 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.git rev-parse --abbrev-ref HEAD
If on main/master, warn and stop: "You are on the default branch. Create a feature branch first.".planning/STATE.md to get current phase info (phase number, slug, status).planning/phases/{NN}-{slug}/SUMMARY-*.md files in the phase directory:
status from frontmatter## Task Results)commits arrays from frontmatterVERIFICATION.md in the phase directory (if exists):
score and status from frontmatter.planning/ROADMAP.md:
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)
feat({phase-slug}): {phase goal summary}
gh pr create:
gh pr create --title "{title}" --body "$(cat <<'PREOF'
{generated body}
PREOF
)"
--base {branch} if --base flag was provided--draft if --draft flag was providedPR 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>
gh not installed: "Install GitHub CLI: https://cli.github.com/"gh error output and suggest fixes