/github:create-pull-requestfrom github
Creates a GitHub pull request using gh CLI with proper branch checks, commit-based title generation, and browser preview.
Ships in github. 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.
Use the code:cli, git:git-workflow, and git:commit skills when available. Only create a PR when the user has explicitly asked for one.
git fetch "${UPSTREAM_REMOTE:-upstream}"
git merge-base --is-ancestor "${UPSTREAM_REMOTE:-upstream}/${UPSTREAM_BRANCH:-main}" HEAD
A non-zero exit means the branch is behind. Offer to rebase with the git:git-rebase skill rather than opening a stale PR.
Count the commits the branch adds with git rev-list --count "${UPSTREAM_REMOTE:-upstream}/${UPSTREAM_BRANCH:-main}..HEAD".
"$(git log -1 --pretty=%s)", so it matches exactly.Always pass an explicit empty body so gh doesn't prompt or auto-fill. When a browser is available, use --web to open the prefilled page for final review. On a headless system, drop --web.
For a single-commit branch, read the title from git:
gh pr create --web --title "$(git log -1 --pretty=%s)" --body ""
For a multi-commit branch, pass the summary title you wrote:
gh pr create --web --title "Summary of the branch in commit message style" --body ""
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/code-review-botAddress the user's review comments on a pull request, reply in each comment's thread as the repository's GitHub App bot, and keep watching the pull request for more feedback. Use when the user says they left comments or feedback on a PR, asks you to reply as a bot, or asks you to watch a PR for feedback./ghaDebug and fix failing GitHub Actions checks for the current commit. Use when asked to fix CI, GHA, or GitHub Actions failures.npx claudepluginhub motlin/claude-code-plugins --plugin githubOther plugins' skills for the same job