/blueprint:prfrom blueprint
Create a Pull Request with plan context, GitHub Issues integration, and proper base branch detection. Use this skill whenever the user says "/pr", "create a PR", "open a pull request", "make a PR", "create pull request", or any request to create a PR for the current branch. Also triggers on "open PR", "submit PR", "PR for this branch", "push and create PR", "I'm ready for a PR", or "let's open a pull request for this". ALWAYS runs /ship first and detects the correct base branch (feature→{staging_branch}→main flow).
Ships in blueprint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read blueprint/.config.yml → language. If auto, detect from the user's messages. All generated content MUST be in the detected language. Skill instructions stay in English — only output changes.
Create a Pull Request to base branch with descriptive summary.
/plan → /plan-review → /plan-approved → /plan-check → /pr → /review → /address-pr → /finish
/ship at Step 1. NEVER create a PR with uncommitted changes.main directly (unless from the staging branch).~/.blueprint/bin/blueprint meta
Use plan_file from JSON output to check if a plan exists. If a plan file exists, check if /plan-check was run:
grep -q "Plan vs Implementation\|Plan check[:\—–-]" "$PLAN_FILE" 2>/dev/null
/plan-check first."/quick task. Continue.Run: echo "🔷 BP: pr [1/2] shipping changes before PR"
Run /ship first to commit and push all current changes. DO NOT skip this.
CRITICAL: PRs NEVER target main directly. Always go through the staging branch first.
CURRENT_BRANCH=$(git branch --show-current)
STAGING_BRANCH=$(grep 'staging_branch:' blueprint/.config.yml 2>/dev/null | awk '{print $2}')
STAGING_BRANCH=${STAGING_BRANCH:-staging}
if [ "$CURRENT_BRANCH" = "$STAGING_BRANCH" ]; then
BASE_BRANCH="main"
elif git show-ref --verify --quiet refs/heads/$STAGING_BRANCH || git show-ref --verify --quiet refs/remotes/origin/$STAGING_BRANCH; then
BASE_BRANCH="$STAGING_BRANCH"
else
BASE_BRANCH="main"
fi
Flow: feature/* → {staging_branch} → main
~/.blueprint/bin/blueprint context "$BASE_BRANCH"
Read plan file from blueprint/live/ if exists. Extract GitHub issue numbers from plan header.
Run: echo "🔷 BP: pr [2/2] creating pull request"
Title format: <emoji> <type>: <description> — MUST be under 70 characters total.
Before composing the PR body, check the plan frontmatter for an issue: field:
# Read issue number(s) from plan frontmatter
ISSUE_REF=""
if [ -n "$PLAN_FILE" ]; then
ISSUE_RAW=$(grep '^issue:' "$PLAN_FILE" | sed 's/^issue: *//')
if [ -n "$ISSUE_RAW" ] && [ "$ISSUE_RAW" != "null" ]; then
# Handle array format: [42, 43] or single number: 42
if echo "$ISSUE_RAW" | grep -q '\['; then
# Array — extract numbers and build "Closes #N" for each
ISSUE_REF=$(echo "$ISSUE_RAW" | tr -d '[]' | tr ',' '\n' | sed 's/ //g' | while read -r n; do echo "Closes #$n"; done | paste -sd ', ' -)
else
ISSUE_REF="Closes #$ISSUE_RAW"
fi
fi
fi
If ISSUE_REF is non-empty, include it in the References section of the PR body.
PR_URL=$(gh pr create --base "$BASE_BRANCH" --title "<emoji> <type>: <title>" --body "$(cat <<'EOF'
## Summary
[What and why — 1-3 bullet points]
## Changes
- [Change 1]
- [Change 2]
## Technical Notes
[Important details, patterns, decisions]
## Test Plan
- [ ] [How to verify change 1]
- [ ] [How to verify change 2]
## References
[ISSUE_REF if present, e.g. Closes #42]
EOF
)")
echo "$PR_URL"
Important: When composing the actual PR body, replace [ISSUE_REF if present] with the real $ISSUE_REF value. If there is no issue, omit the line entirely.
Display the PR URL to the user after creation.
STOP. You MUST use AskUserQuestion tool here.
Use $ARGUMENTS for any additional context.
What SKILL.md sets; muted values are Claude Code's defaults
27 skills in this plugin
/address-prFetch PR review comments, categorize feedback, implement fixes, and push. Use this skill whenever the user says "/address-pr", "address review", "fix review comments", "handle PR feedback", or any request to implement fixes based on PR review feedback. Also triggers on "fix the review", "address feedback", "implement review changes", "implement the requested changes", or "handle review comments". Fetches real comments via blueprint pr-review.
/backlogCapture, manage, and promote pre-planning ideas before they become full plans. Use this skill whenever the user says "/backlog", "add to backlog", "backlog idea", "capture this idea", "save this for later", "I had an idea", or any request to manage the idea backlog. Also triggers on "list ideas", "promote idea", "backlog list", "drop idea", "mark done", "what's in the backlog", "show me the ideas", "pending ideas", or any request to add/view/promote/done/drop items in blueprint/backlog/. The backlog is the pre-planning stage — ideas live here until promoted to /plan. Even if the user doesn't explicitly say "backlog", trigger when they describe wanting to capture a feature idea, task, or improvement for later without implementing it now. This skill is the gateway to the SDLC — nothing gets planned or built without first passing through the backlog.
Other plugins' skills for the same job
Generated from the plugin's indexed repository (skaisser/blueprint-plugin) — no native marketplace selected
npx claudepluginhub p/skaisser-blueprint