pr
Create a well-structured GitHub pull request that gives the reviewer full context: what issue is being addressed, what problem it solves, what changed, why…
Skill by OpalBolt
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/opalbolt-pr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pr
What's inside
- Skill name
pr- Description
- Create a well-structured GitHub pull request that gives the reviewer full context: what issue is being addressed, what problem it solves, what changed, why, and how to verify. Use this skill whenever you are about to run `gh pr create`, open a pull request, or produce a PR for completed work. Also use it at the end of any autonomous agent loop that resolves a GitHub issue — even if the user didn't explicitly ask for a PR.
- License
- MIT
- Instructions
- 139 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# PR Skill
You are about to open a pull request. A good PR lets the reviewer understand the work without
having to reverse-engineer the diff. Follow every step.
## Step 1 — Verify you are on a branch
```bash
git branch --show-current
```
If the output is `main`, **stop immediately**:
> You are on `main`. A pull request requires a feature branch. Create one for this work
> before opening a PR.
Do not proceed until you are on a non-main branch.
## Step 2 — Find the issue number
Every PR must reference a GitHub issue. Look in this order:
1. **Branch name** — extract from patterns like `feature/123-...`, `fix/123`,
`issue/123-slug`, `123-slug`, `GH-123`.
2. **Recent commits** — if the commits on this branch reference `#42`, that is likely the issue.
3. **Conversation or task context** — the user or task description may have stated it.
If you cannot find an issue number, **stop completely**:
> No GitHub issue found for this work. Please provide the issue number — every PR must
> trace back to an issue.
Do not invent a number. Do not use a placeholder. Do not proceed without a real issue number.
## Step 3 — Understand what changed
Run these commands before writing a single word of the PR:
```bash
git log main..HEAD --oneline # commits on this branch
git diff main..HEAD --stat # files changed, lines added/removed
git diff main..HEAD # full diff
gh issue view <number> # the problem statement and acceptance criteria
```
Read everything. The issue tells you the *problem*. The diff shows the *solution*.
The commit log shows the *sequence of decisions*. You need all three to write a good PR.
## Step 4 — Write the PR
### Title
Format: `type(scope): description (#issue)`
Same rules as commit messages:
- **type**: `feat`, `fix`, `docs`, `refactor`, `perf`, `test`, `chore`, `ci`, `build`
- **scope**: optional — use it when it meaningfully narrows the context
- **description**: lowercase, imperative mood ("add", "fix", not "added" or "fixes"), no trailing period
- **72 characters or fewer** — count them
```
feat(auth): add JWT refresh token rotation (#42)
fix(api): handle nil pointer in user lookup (#87)
chore: upgrade Go toolchain to 1.23 (#101)
```
### Body
Use this exact structure — every section, every time:
```
Closes #<issue>
## Problem
<What was broken, missing, or needed. Describe the "before" state: what happened, what
failed, what was absent. One to three sentences. Pull from the issue body if it explains
it well — don't reinvent it.>
## Changes
<Bullet list of what was changed. Files, components, behaviours. Focus on the what —
keep it scannable. Don't pad this with obvious things like "updated tests"; mention
the things a reviewer will actually want to navigate to.>
- ...
- ...
## Why
<The reasoning. Why this approach and not another? What constraint or insight drove the
design? If a simpler solution was rejected, say why. Be honest about trade-offs. This
is the section that ages best — six months from now, nobody will remember why, and this
is where they'll look.>
## How to verify
<Step-by-step instructions a reviewer can follow to confirm the changes work. Concrete
enough that someone unfamiliar can execute it. If there are tests, name them. If it's a
CLI command, write it out. If it requires setup, say so.>
1. ...
2. ...
```
Keep each section proportional to the change. A one-line fix doesn't need three
paragraphs. A significant refactor deserves real detail. Don't pad; don't omit.
## Step 5 — Create the PR
```bash
gh pr create \
--title "<title>" \
--body "$(cat <<'EOF'
Closes #<issue>
## Problem
<problem>From OpalBolt/Personal-AI-Marketplace, MIT.
More from OpalBolt/Personal-AI-Marketplace
- 0.598score
orchestrator
OpalBolt
Run a pre-sliced plan to completion, unattended.
SkillAFreshness: A★ 2Claude Code +9 - 0.557score
agent-writer
OpalBolt
Write or regenerate the root AGENTS.md context file for a project by introspecting the repo and interviewing the user for only what cannot be inferred.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
git-commit
OpalBolt
Write well-formed git commit messages following Conventional Commits, enforce issue references, and ensure commit bodies explain why — not what.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
issue
OpalBolt
Expand a rough idea into a well-structured, actionable issue — then create it in the right tracker (GitHub, Linear, Jira).
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
markdown-writer
OpalBolt
Write markdown that reads human, not AI slop — READMEs, docs, guides, comments, PR text.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
grill-with-docs
OpalBolt
Relentless interview that sharpens a plan or design while writing the domain docs — glossary and ADRs — as decisions land.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
jam-with-me
OpalBolt
Thinking-partner session that turns a rough idea into a concise idea bundle through open-ended conversation.
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
prototype
OpalBolt
Build a throwaway prototype to answer a design question.
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
grilling
OpalBolt
Grill the user relentlessly about a plan, decision, issue, or idea until nothing is silently assumed — rounds of frontier questions, each with a recommended…
SkillBFreshness: B★ 2Claude Code +9 - 0.532score
code-review
OpalBolt
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding…
SkillBFreshness: B★ 2Claude Code +9 - 0.531score
writing-for-agents
OpalBolt
Writing documents for agents.
SkillBFreshness: B★ 2Claude Code +9 - 0.529score
to-tickets
OpalBolt
Break a plan, spec, or the current conversation into tracer-bullet tickets with blocking edges, published to the repo's tracker.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 9, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from OpalBolt
- 0.598score
orchestrator
OpalBolt
Run a pre-sliced plan to completion, unattended.
SkillAFreshness: A★ 2Claude Code +9 - 0.557score
git-commit
OpalBolt
Write well-formed git commit messages following Conventional Commits, enforce issue references, and ensure commit bodies explain why — not what.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
agent-writer
OpalBolt
Write or regenerate the root AGENTS.md context file for a project by introspecting the repo and interviewing the user for only what cannot be inferred.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
issue
OpalBolt
Expand a rough idea into a well-structured, actionable issue — then create it in the right tracker (GitHub, Linear, Jira).
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
markdown-writer
OpalBolt
Write markdown that reads human, not AI slop — READMEs, docs, guides, comments, PR text.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
grill-with-docs
OpalBolt
Relentless interview that sharpens a plan or design while writing the domain docs — glossary and ADRs — as decisions land.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
pr skill. Agent Mart. https://agentmart.dev/skills/opalbolt-pr (last updated 2026-10-24)