Guide · Agent skill
How to use the GitHub PR Workflow agent skill: step by step
Updated · written with AI from the project's own documentation and checked against our catalogue data
The github-pr-workflow skill is a set of written guidance that tells an AI agent how to prepare a GitHub pull request from a feature branch. It covers branch cleanup, commit shape, the PR title and body, verification notes, screenshots for UI work and replies to review comments. This guide explains what the skill changes, how to install it, how to trigger it with plain requests, and what to check before you rely on it.
Quick start
- 1Download and unzip. Download the skill ZIP from this page and unzip it to get the github-pr-workflow folder containing SKILL.md.
- 2Place the folder. Move the folder into ~/.claude/skills/ for personal use, or into .claude/skills/ in a project. Alternatively, upload it in the Claude apps under Settings → Capabilities → Skills.
- 3Finish the change. Make sure the feature is functionally complete and tests, typecheck and lint pass locally.
- 4Ask for a PR. Tell the agent which base branch to target and ask it to prepare the pull request.
- 5Review the title and body. Check that the title is imperative and the body covers summary, implementation notes, verification and rollback.
- 6Handle review feedback. Ask the agent to reply to each comment and push fixes as new commits, then re-request review.
What the skill makes the agent do
Once installed, the agent follows a checklist for opening and maintaining a GitHub pull request. It tidies the branch and commits, writes a short imperative title under 70 characters, and fills in a structured body with four sections: Summary, Implementation notes, Verification and Risk and rollback.
It also guides how to add screenshots for UI changes and how to reply to reviewer comments, push fixes and re-request review. The skill is guidance only. It does not run anything itself.
- Branch hygiene: rebase or merge from the target base, squash WIP commits and remove debug prints and untracked TODO markers.
- Title: lead with the user-visible change and follow any issue prefix convention the repo uses.
- Body: Summary, Implementation notes, Verification and Risk and rollback. Risk and rollback can be skipped only for clearly trivial PRs such as typos or docs.
- Review: reply to every comment, push fixes as new commits during review and re-request review after pushing.
Install the skill from the ZIP
Download the skill ZIP from this page and unzip it. Put the resulting folder in one of two places. For a personal skill available across your projects, use ~/.claude/skills/. For a skill that only applies to one project, use .claude/skills/ inside that project.
If you use the Claude apps instead, open Settings, go to Capabilities and upload the skill under Skills.
- Personal install: ~/.claude/skills/
- Project install: .claude/skills/ in the project root
- Claude apps: Settings → Capabilities → Skills, then upload
Trigger the skill with natural requests
You do not need a special command. Ask the agent in plain language about the pull request task you are doing. The skill is written for three situations: opening a PR for a functionally complete change, responding to review comments, and bringing an older PR back into shape with stale conflicts, a missing description or missing verification.
Give the agent the context it needs, such as the base branch and what the change does, so the title and body can be specific.
- "Prepare a PR for this feature branch against main."
- "Write the PR title and body for these commits."
- "Reply to the review comments on my open PR and push fixes."
- "This PR has been open two days and has conflicts. Bring it back into shape."
What to check in the output
The agent should produce a title and body that match the template, and it should list the exact commands or steps it ran for verification. Check that the verification section is based on what actually happened. The skill asks for real commands and real screenshots rather than general claims, so any gaps should be filled in by you before you submit.
For UI work, the skill asks for screenshots of the golden path and one edge case, with dark and light mode tagged if the project supports both. For migrations it asks for a dry-run plan and reversal steps. For performance changes it asks for a before and after measurement.
- Verification lists commands or steps actually run, not vague claims.
- UI changes include screenshots of the main path and one edge case.
- Migrations include a dry-run plan and reversal steps.
- Performance changes include a before and after measurement.
Safety notes: scripts and network
This skill runs no scripts and uses no network access. It does not call the GitHub API. It is a text checklist, so the agent's normal access to git and GitHub is what does the work. You still need git installed, a GitHub account and access to the target repository.
Because the skill is only guidance, review anything the agent pushes or posts on your behalf, especially replies to reviewers and force-pushes.
- Runs scripts: no
- Uses network: no
- Requires git, a GitHub account and access to the repository
Tips for better results
Finish the change before asking for a PR. The skill says draft PRs that bounce on review create noise, so treat it as a tool for ready-to-review work. During review, push fixes as new commits and avoid amending or force-pushing unless the reviewer agrees.
- Name the base branch and any issue key so the agent can follow your prefix convention.
- Note deliberate test skips in your request so they appear in the PR body.
- Ask the agent to update the title and body if scope changed mid-review.
- Delete the branch after merge unless it is a long-lived integration branch.
What people use it for
- Opening a PR for a feature branch with a consistent title and structured body.
- Adding screenshots and verification notes to a UI change before review.
- Answering a long list of reviewer comments with one reply per comment and a clean push.
- Bringing a stale PR with conflicts and a missing description back into shape.
Frequently asked questions
How do I install the github-pr-workflow skill?
Download the skill ZIP from this page and unzip it. Put the folder in ~/.claude/skills/ for personal use or in .claude/skills/ inside a project. In the Claude apps, you can instead upload it under Settings → Capabilities → Skills.
What do I need to use it?
You need git, a GitHub account and access to the target repository. The skill itself runs no scripts and makes no network calls, so the agent's own access to git and GitHub does the work.
Is the github-pr-workflow skill free?
The skill is published under the MIT licence. This page does not list a price, so check the source repository for licence terms.
Does it work with GitLab or Bitbucket?
The skill is written for GitHub. For repositories on a non-GitHub forge, the file says to adapt to that forge's conventions rather than force GitHub-specific steps.
Will the agent open the pull request for me?
The skill is guidance only and does not run anything itself. Whether the agent can open the PR depends on the tools and access available in your agent setup.
Why does the skill say not to open draft PRs early?
The skill advises finishing the change first, because draft PRs that bounce on review add noise. Use it when the work is functionally complete.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use this skill if you are a software engineer or team who wants consistent PR titles, structured descriptions, evidence of verification and clean responses to review comments. Pick something else if your repository is not on GitHub, if you are new to git and need help with rebasing and commits, or if you want an agent that runs commands and calls the GitHub API for you.
Download the skill