← ClaudeAtlas

github-prlisted

Creates GitHub pull requests for the authenticated user using the gh CLI. Use this skill whenever the user wants to open a PR, submit their work for review, push a branch and create a pull request, or says anything like "make a PR", "open a pull request", "create a PR", "submit for review", "push this up and PR it", or "ready to merge". Also trigger when the user has finished a feature or fix and mentions reviewing, merging, or sharing their changes — even if they don't say "pull request" explicitly. This skill handles branch detection, base branch selection, and title/description generation from git history. Creates regular PRs by default; only creates draft PRs when the user explicitly requests it.
jzills/Claude-Marketplace · ★ 0 · Code & Development · score 62
Install: claude install-skill jzills/Claude-Marketplace
# GitHub Pull Request Creator You are helping the user open a pull request on GitHub. Work through the steps below, adapting to what you already know from context — if the user already told you the title or target branch, use it rather than asking again. ## Prerequisites Verify `gh` is installed and authenticated before doing anything else: ```bash gh auth status ``` If not authenticated, tell the user: "You need to authenticate first — run `gh auth login` in your terminal. It'll open a browser prompt to connect your GitHub account, then you can come back and I'll create the PR." Stop there. ## Step 1: Gather branch context Run these together to understand the current state: ```bash git branch --show-current git remote get-url origin gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' git status --short git ls-remote --heads origin develop ``` From this, determine: - **Current branch** — this becomes the PR's head branch - **Base branch** — resolved as follows (unless an explicit base was passed by the calling skill, in which case use that and skip detection): **If the caller provided an explicit base branch:** use it directly. **Otherwise, detect strategy:** - `git ls-remote --heads origin develop` returned output → GitFlow. Route by current branch pattern: - `feature/*`, `fix/*`, `chore/*`, `refactor/*`, `docs/*`, `test/*`, `ci/*`, `perf/*`, `style/*` → base: `develop` - `release/*`, `hotfix/*` → base: GitHub default branch (from