PR Create & CI Green
Turns your current work into a GitHub pull request, then monitors and fixes CI until every check passes.
Dev & CodingIntermediate★ 490⑂ 47AI score 9/10Last updated: Aug 28, 2026
What it does
- Inspects current git state (uncommitted work, feature branch, existing PR) and enters the workflow at the right step.
- Commits with conventional-commit messages; any rebase or merge with the base branch requires your explicit confirmation.
- Drafts the PR title and body for your approval, then runs discoverable local lint/build/type/test checks to catch failures early.
- Opens the PR as a draft with
gh pr create --draft, watches CI, reads the tail of failed logs, fixes, commits and pushes — repeating until green. - On success it runs
gh pr ready, adds the reviewer, never merges, and reports the PR link plus a per-run CI history.
Who it's for
- Developers on GitHub + GitHub Actions who spend too long babysitting CI.
- Teams with commit/PR conventions documented in CLAUDE.md or AGENTS.md.
- Anyone who wants automation up to the review step but keeps merges manual.
Examples
- "open pull request for these changes" → branch, commit, draft PR, CI monitoring in one pass.
- "create pr --reviewer Jane Doe" → resolves the GitHub handle from collaborators, confirms it, requests review only after CI passes.
- CI fails on lint → inspects the last 40 log lines, runs the project formatter, commits the fix, pushes and re-watches the run.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/posit-dev/skills/HEAD/github/pr-create/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the github/pr-create folder from the GitHub repo posit-dev/skills into my ~/.claude/skills/pr-create/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/posit-dev/skills.git /tmp/posit-skills && mkdir -p ~/.claude/skills && cp -r /tmp/posit-skills/github/pr-create ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Prerequisites: install
gitand the GitHub CLI (gh), then authenticate withgh auth login. - Clone the repo:
git clone https://github.com/posit-dev/skills.git /tmp/posit-skills - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/posit-skills/github/pr-create ~/.claude/skills/ - Restart Claude Code, open a git repo with changes, and type "create pr" to trigger the skill.
- Optional: document your lint/test commands and commit/PR conventions in the project's CLAUDE.md or AGENTS.md so the skill follows your team's rules.
View source on GitHub ↗License: MIT