Open a GitHub PR for the current branch. Generates a title and description from the diff, and respects the repo's PULL_REQUEST_TEMPLATE if one exists.
Ships in pr-workflow. 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.
Detect the base branch via git remote show origin | grep 'HEAD branch'. Run in parallel:
git diff <base> --name-only and git diff <base> to understand changesgit log <base>..HEAD --oneline to see commit historygit status to check for uncommitted changesgit log @{u}..HEAD --oneline 2>/dev/null to check if the branch needs pushing.github/PULL_REQUEST_TEMPLATE.md or .github/PULL_REQUEST_TEMPLATE/ directoryIf there are uncommitted changes, ask the user whether to commit them first or proceed without them.
If the branch needs pushing, push it with git push -u origin HEAD. Never force-push. Never push to the main/master branch.
Review all changes (all commits since base) and draft:
Keep it lean:
Build the PR body:
Create the PR using gh pr create with a HEREDOC for the body:
gh pr create --title "the pr title" --body "$(cat <<'EOF'
<body content here>
EOF
)"
Output the PR URL when done.
What SKILL.md sets; muted values are Claude Code's defaults
/pr-workflow:pr-openfrom pr-workflow
npx claudepluginhub driangle/ai-powers --plugin pr-workflow14 skills in this plugin
/change-recapRecap what changed in an area of the code over a timeframe — new features, improvements, fixes and under-the-hood work — from the pull requests merged on GitHub in that window, grouped by initiative and project where the issue tracker records them, enriched with the ticket updates and Slack threads from the same window (confirmations, rollouts, problems after merge, follow-ups), and credited to who built and reviewed each change, written so developers and managers can both read it, as an HTML page that can be published as a Claude Artifact. Typically run on Fridays for the week's recap. Use whenever someone asks what changed, shipped, got merged or happened in a repo, service, folder, product area or team this week, last week, this sprint or since a date, asks for a weekly or Friday recap, a "what's new" or a changelog-style summary of recent work, even if they don't say "recap"./commitCommit all uncommitted changes with an auto-generated conventional commit message. Use when the user asks to commit, save changes, or invokes /commit./commit-msgGenerate a one-line conventional commit message from staged changes. Use when the user asks for a commit message or invokes /commit-msg.