Contributor-First PR Merge
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
$ npx skills add cline/cline --skill create-pull-request -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install cline/cline create-pull-request --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/create-pull-request .claude/skills/create-pull-request && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "create-pull-request" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/create-pull-request into .claude/skills/create-pull-request/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-pull-request", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/cline/cline/tree/main/.agents/skills/create-pull-requestType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add cline/cline --skill create-pull-request -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install cline/cline create-pull-request --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/create-pull-request .agents/skills/create-pull-request && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "create-pull-request" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/create-pull-request into .agents/skills/create-pull-request/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-pull-request", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cline/cline --skill create-pull-request -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install cline/cline create-pull-request --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/create-pull-request .cursor/skills/create-pull-request && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "create-pull-request" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/create-pull-request into .cursor/skills/create-pull-request/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-pull-request", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/cline/cline.git --path .agents/skills/create-pull-request--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add cline/cline --skill create-pull-request -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install cline/cline create-pull-request --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/create-pull-request .gemini/skills/create-pull-request && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "create-pull-request" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/create-pull-request into .gemini/skills/create-pull-request/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-pull-request", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install cline/cline create-pull-requestInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add cline/cline --skill create-pull-request -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/create-pull-request .github/skills/create-pull-request && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "create-pull-request" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/create-pull-request into .github/skills/create-pull-request/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-pull-request", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add cline/cline --skill create-pull-request -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install cline/cline create-pull-request --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/cline/cline.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/create-pull-request .opencode/skills/create-pull-request && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "create-pull-request" agent skill from https://github.com/cline/cline/tree/main/.agents/skills/create-pull-request into .opencode/skills/create-pull-request/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "create-pull-request", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
create-pull-requestOpens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.
Before it creates anything, the agent checks that the GitHub CLI is installed and logged in, that you are on a feature branch rather than main or master, and what state the working directory is in. If uncommitted changes exist, it asks whether to commit them into the PR, stash them or discard them.
It then finds the base branch, lists the commits that are not on it yet and reads the diff summary to judge how big the change is and what kind it is. Details a PR needs are taken from commit messages, the branch name and the changed files where possible: the related issue number, what problem the change solves, the type of change and how it was tested. Anything still missing is put to you as a question, and the project's PR template is applied when the PR is written.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6354d20. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghbrewFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
cli.github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Create Pull Request loads about 1.6k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 771 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from cline/cline at commit 6354d20, republished under its Apache-2.0 licence (© cline). 771 words, ~1,556 tokens.
.claude/skills/create-pull-request/SKILL.md (or your agent's skills folder).This skill guides you through creating a well-structured GitHub pull request that follows project conventions and best practices.
Before proceeding, verify the following:
gh CLI is installedgh --versionIf not installed, inform the user:
The GitHub CLI (
gh) is required but not installed. Please install it:
- macOS:
brew install gh- Other: https://cli.github.com/
gh auth statusIf not authenticated, guide the user to run gh auth login.
git statusIf there are uncommitted changes, ask the user whether to:
git branch --show-currentEnsure you're not on main or master. If so, ask the user to create or switch to a feature branch.
git remote show origin | grep "HEAD branch"This is typically main or master.
git log origin/main..HEAD --oneline --no-decorateReview these commits to understand:
git diff origin/main..HEAD --statThis shows which files changed and helps identify the type of change.
Before creating the PR, you need the following information. Check if it can be inferred from:
fix/issue-123, feature/new-login)If any critical information is missing, use ask_followup_question to ask the user:
#123, fixes #123, or closes #123 in commit messagesIf the issue number is not found:
I couldn't find a related issue number in the commit messages or branch name. What GitHub issue does this PR address? (Enter the issue number, e.g., "123" or "N/A" for small fixes)
Before creating the PR, consider these best practices:
Rebase on latest main (if needed):
git fetch origin
git rebase origin/mainSquash if appropriate: If there are many small "WIP" commits, consider interactive rebase:
git rebase -i origin/mainOnly suggest this if commits appear messy and the user is comfortable with rebasing.
Ensure all commits are pushed:
git push origin HEADIf the branch was rebased, you may need:
git push origin HEAD --force-with-leaseIMPORTANT: Read and use the PR template at .github/pull_request_template.md. The PR body format must strictly match the template structure. Do not deviate from the template format.
When filling out the template:
#XXXX with the actual issue number, or keep as #XXXX if no issue exists (for small fixes)Use a temporary file for the PR body to avoid shell escaping issues, newline problems, and other command-line flakiness:
Write the PR body to a temporary file:
/tmp/pr-body.mdCreate the PR using the file:
gh pr create --title "PR_TITLE" --body-file /tmp/pr-body.md --base mainClean up the temporary file:
rm /tmp/pr-body.mdFor draft PRs:
gh pr create --title "PR_TITLE" --body-file /tmp/pr-body.md --base main --draftWhy use a file? Passing complex markdown with newlines, special characters, and checkboxes directly via --body is error-prone. The --body-file flag handles all content reliably.
After creating the PR:
gh pr edit --add-reviewer USERNAMEgh pr edit --add-label "bug"No commits ahead of main: The branch has no changes to submit
Branch not pushed: Remote doesn't have the branch
git push -u origin HEADPR already exists: A PR for this branch already exists
gh pr viewMerge conflicts: Branch conflicts with base
Before finalizing, ensure:
gh CLI is installed and authenticated© cline, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/create-pull-request of cline/cline.
Open the folder on GitHubat commit 6354d20
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in cline/cline, which our catalogue first saw on October 7, 2026.
Create Pull Request next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Create Pull Request this skillcline/cline | 70k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Contributor-First PR MergeHKUDS/OpenHarness | 16k | 1 repos | ~847 | Automated safety check: Pass | MIT | |
| Creating Description For Gh PRredis/jedis | 12k | — | ~838 | Automated safety check: Pass | MIT | |
| Create Pull Request with Work Item IDmakeplane/plane | 60k | — | ~824 | Automated safety check: Pass | AGPL-3.0 | |
| React Router Pull Request Creatorremix-run/react-router | 57k | — | ~2.5k | Automated safety check: Pass | MIT | |
| Pascal Editor PR Openerpascalorg/editor | 25k | — | ~619 | Automated safety check: Pass | MIT |
HKUDS/OpenHarness
Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.
redis/jedis
Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.
makeplane/plane
Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.
remix-run/react-router
Packages finished React Router work into a draft pull request: branch, commit, push, a written PR body and the right GitHub labels.
pascalorg/editor
Opens or refreshes a pull request on pascalorg/editor from the current branch, describing only what the branch's commits and diff actually contain.
ansible/ansible
Creates backports of a merged Ansible devel pull request onto the right stable branches by cherry-picking its merge commit onto new backport branches.
cline/cline
Reference for building AI agents with the Cline SDK: the Agent runtime, ClineCore sessions, custom tools, plugins, events, providers, scheduling and multi-agent teams.
cline/cline
Helps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing.
cline/cline
Guides publishing a one-time What's new dialog in the Cline desktop app: deciding if one is due, picking highlights from the changelog and editing one content file.
cline/cline
Covers preparing, tagging and publishing a Cline desktop app release on the stable, beta or nightly channel through the desktop-publish GitHub workflow.
cline/cline
Validates and publishes the standalone @cline/ui npm package through its own release workflow, separate from the Cline SDK runtime packages.
cline/cline
Walks through releasing the Cline CLI package to npm: release notes, version bump, matching git tag, and either the GitHub workflow or a local publish.
Categories
Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs. Before it creates anything, the agent checks that the GitHub CLI is installed and logged in, that you are on a feature branch rather than main or master, and what state the working directory is in. If uncommitted changes exist, it asks whether to commit them into the PR, stash them or discard them.
Create Pull Request fits situations like: opening a pull request for a finished feature branch; submitting a bug fix for review with the issue number linked; checking whether recent commits should be squashed before a PR goes out.
Run `npx skills add cline/cline --skill create-pull-request -a claude-code`. Or copy the skill folder (.agents/skills/create-pull-request in cline/cline) into .claude/skills/create-pull-request in your project. Claude Code loads it when a task matches its description.
Run `npx skills add cline/cline --skill create-pull-request -a codex`. Or copy the skill folder (.agents/skills/create-pull-request in cline/cline) into .agents/skills/create-pull-request in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cline/cline --skill create-pull-request -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-pull-request, .gemini/skills/create-pull-request, .github/skills/create-pull-request and .opencode/skills/create-pull-request in your project.
Going by SKILL.md and its folder, Create Pull Request needs the command-line tools its instructions call (git, gh and brew). Our summary lists: GitHub CLI (`gh`), installed and logged in with `gh auth login`; A Git repository with a feature branch and a remote named origin.
SKILL.md names 1 domain. As links in the text: cli.github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Create Pull Request is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Create Pull Request: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Creating Description For Gh PR (redis/jedis, 12k stars), Create Pull Request with Work Item ID (makeplane/plane, 60k stars) and React Router Pull Request Creator (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
cline (a GitHub organization) maintains it in cline/cline, which has 69,954 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.
Source: cline/cline on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.