
Git PR
Guides an agent through writing PR titles, bodies and gh CLI pull request steps
Git PR is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 12
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Git PR
This skill sets conventions for opening or revising GitHub pull requests in the Skill-Madness repository. It covers a title pattern built on the same type prefixes used for commits, a body layout with summary, changes and test plan sections, and guidance on flagging migration or deployment-ordering risks for reviewers.
The workflow has the agent push the branch with upstream tracking, check whether a PR already exists before creating one, and avoid duplicates by editing an open PR instead. It also covers merged branches, where the work is treated as already shipped, and lookup failures, which are reported rather than assumed to mean no PR exists. PR creation and editing go through the gh CLI with the body passed in a heredoc, and the skill ends with a pre-push checklist.
It relies on Bash and Read tools and the gh command-line client being available and authenticated. It includes no scripts or reference files.
When your agent uses it
PR title format, body structure and the gh CLI workflow for creating or updating pull requests in this repo. Use when opening a PR, writing or updating a PR description, or preparing changes for review, and whenever you're about to run `gh pr create`. Trigger on "create a PR", "open a PR", "PR description", "ready for review".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- Asks for: Read, Bash(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madnessOr copy only this skill to ~/.claude/skills/git-pr:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/git-pr &&
cp -R "$tmp/skills/git/git-pr" ~/.claude/skills/git-pr &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/git-pr inside it instead.
Copy the skill folder to ~/.agents/skills/git-pr to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/git-pr &&
cp -R "$tmp/skills/git/git-pr" ~/.agents/skills/git-pr &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/git-pr inside it instead.
Copy the skill folder to ~/.cursor/skills/git-pr to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/git-pr &&
cp -R "$tmp/skills/git/git-pr" ~/.cursor/skills/git-pr &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/git-pr inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/git/git-prOr copy the folder to ~/.gemini/skills/git-pr yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/git-pr:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/git-pr &&
cp -R "$tmp/skills/git/git-pr" ~/.copilot/skills/git-pr &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/git-pr inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.gitThen copy Skill-Madness/skills/git/git-pr into your agent's skills folder as git-pr. Agents that support SKILL.md read one folder per skill.
What it does
- Title format rules
- Defines a type-prefixed, sentence-case title pattern with a length guideline for PRs.
- PR body template
- Provides a Summary, Changes and Test plan structure that scales to the size of the change.
- Existing PR detection
- Checks for an open or merged PR on the branch before creating a new one to avoid duplicates.
- gh CLI workflow
- Shows the commands for pushing, creating, editing and checking pull requests with gh.
- Pre-push checklist
- Lists final checks on title, body, test plan and CI status before review.
Good for
- Open a pull request for my current branch
- Write a PR description summarizing these changes
- Update the title and body of an existing pull request
- Check whether this branch already has a PR before pushing
Git PR FAQ
What tools does Git PR need?
It is set to use the Read and Bash tools, and its workflow relies on the gh CLI.
Does Git PR create duplicate pull requests?
No. It instructs the agent to check for an existing PR first and to edit it instead of creating another one.
What happens if the branch's PR was already merged?
The agent should note that the work has shipped and should not create a new PR.
How do I install Git PR in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/git-pr to use it in all your projects, or to .claude/skills/git-pr in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.
Does Git PR run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Git PR?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Git PR?
The closest alternatives to Git PR are PR writer, PR, Make PR, Make PR easy to review and Code review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ivy00johns/Skill-Madness

Finds merged and stale git branches, then deletes them only after your confirmation
- Open source
- 12 GitHub stars
- Developer tools

Finds and removes git worktrees whose changes are already merged into main
- Open source
- 12 GitHub stars
- Developer tools

Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts
- Open source
- 12 GitHub stars
- Developer tools

Runs a single-skill quality review covering structure, triggering and output checks
- Open source
- 12 GitHub stars
- Developer tools

Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes
- Open source
- 12 GitHub stars
- Developer tools

Applies planned edits to SKILL.md files, validates them, and offers to sync
- Open source
- 12 GitHub stars
- Developer tools





