rolandtolnay/llm-toolkit/create-pr

Claude Code and agent skill by rolandtolnay/llm-toolkit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Open or update a pull request whose description lets a reviewer understand the change without reading the diff. Use when changes are ready to ship.

Install

npx vskill@latest install rolandtolnay/llm-toolkit/create-pr

SKILL.md

The same SKILL.md was published earlier as rolandtolnay/llm-toolkit/create-pr.

Open a pull request against the default base branch, or update the one this branch already has, with a description a reviewer can rely on in place of the diff: what is different in the system once this merges, why, what was assumed, and how careful the merge needs to be.

Invoking this skill is the go-ahead for the whole flow: committing what the branch needs, pushing, capturing screenshots and uploading them to a secret gist, and opening or updating the PR with the description you write. Ask first in two cases only: before stashing or switching branches with uncommitted work, since that work is easy to lose (propose the new branch name in that same question), and before capturing screenshots that would show real customer data. If the branch is the base branch with no changes, say there is nothing to PR and stop. Arguments carrying commit instructions ("use the last 3 commits", "cherry-pick abc123") override the default landing choice.

What good looks like

A reviewer who reads only the description knows what changed for the people who use the system and for the developers who work in it, and why. They can spot a wrong assumption or a missed case before opening the diff, and they know how much care the merge needs. They read to the end because nothing in it is filler: every line is something a reviewer would act on or could disagree with. A line that fails that test is left out however true it is, because each line a reader learns to skip makes them trust the rest less. What did not change passes the test only when a reader would otherwise assume it did. For the same reason the description has no test plan, file inventory or ticket list: the author is expected to have tested the change, and the diff already lists the files.

Every claim comes from the diff, the conversation, or the ticket: when the rationale cannot be recovered, describe what the change does and flag the missing why rather than inventing one, and add no metrics or outcomes the PR does not contain.

Land the change

Inspect the repo: the current branch, staged versus unstaged work, the default base branch (git symbolic-ref --short refs/remotes/origin/HEAD, falling back to origin/main), commits and diff stat against base, the recent commit-message style, and whether the branch already has an open PR. Get the change onto a branch ahead of base without losing uncommitted work: a feature branch already ahead takes its uncommitted changes as a commit and a push; uncommitted work on the base branch, or work to isolate off a busy branch, moves to a new branch cut from the fetched base. Match the repo's existing commit style.

Gather the why

Get just enough to explain the motivation, the problem, and any notable alternative considered. The current conversation is often enough; reach further only when the why is still thin:

  • Past sessions for this project, if you can search them, for multi-session work or a fresh "just make a PR" invocation.
  • The Linear ticket plus its parent and blocking tickets, whenever a ticket ID appears in the branch, commits, conversation, or arguments; the ticket often holds context the conversation never mentioned.
  • The driving PRD, if one exists (often under etc/prd/): it states the problem, the solution, and the decisions this change implements.
  • The project's domain docs: CONTEXT.md (or a root CONTEXT-MAP.md) for the canonical terms, and relevant ADRs under docs/adr/ for why a non-obvious approach was chosen.

Stop gathering once you can state why the change exists.

Screenshots

A change to what a user sees in a web or mobile app is shown in the description; a change with no visible effect needs no screenshots. Reuse screenshots from this session when they show the branch's final state. Otherwise capture them from this branch before writing: agent-browser for a web app, the simulator or emulator the project already uses for a mobile app. Two to four shots of the changed states are usually enough, with a before-and-after pair only where an existing screen changed.

Use seeded or fictional data. Host the images in a secret gist on the user's GitHub account, one gist per PR or stack, and link the raw URLs. gh gist create refuses binary files, so create the gist with a placeholder text file, clone it over HTTPS with gh auth git-credential as the credential helper, then commit and push the images. A retake goes in as a new file so links already posted keep working.

Screenshots never block the PR. If the app will not run or the state cannot be reached, open the PR without them and end your reply by saying they are missing and what stopped you.

Write the description

Combine the diff, the gathered why, and any arguments passed in. The lead and the first line of Risk are always present; every other part appears only when it has a line that passes the test above, so a one-file fix is a lead paragraph and one sentence of Risk. A large change still fits in about 450 words, not counting screenshots: name each capability or convention in a sentence or two and leave its details to the screenshots and the code. A description that runs longer is narrating the diff.

> [!IMPORTANT]
> [Only when the merger must do something first: a merge order nothing enforces, such as another repository's PR that has to land first, or a step that needs someone with more access (an environment setting, a secret, infrastructure to enable).]
[Lead, no heading. Two to four sentences: what is different once this merges, for whom, and why. Link the ticket inline where it adds context, "[ENG-123](url)", along with a parent or blocking issue when it explains the why.]
[Screenshots, when the change is visible: a table of images, each with a one-line caption saying what to notice, then one line saying the data is seeded.]
## What changes
[A short list of what is affected, as the people using the system and the developers working in the repo will notice it: behaviour, capabilities, a new or extended domain concept defined in a clause, a new convention, a step a developer now needs to run it. Plain sentences, the way you would tell a colleague, without audience labels. A file path appears only where a developer needs it to find something new.]
## Assumptions and trade-offs
[Claims a reviewer could dispute in a way that would change the code or the product: an assumption about data or behaviour, something given up and why, a deliberate departure from the ticket or the design, a known gap, with its follow-up ticket when one exists. One claim per bullet: a bold phrase that names it, then the reason and the cost. Product decisions first, then technical trade-offs, then gaps. How the code works and what matches existing behaviour are not claims.]
## Risk
[First line: the level in bold (**Low.**, **Medium.** or **High.**), then what could go wrong and for whom, and what a revert does not undo, or that a revert undoes all of it. Bullets follow only for an invariant or a blast radius that is costly to get wrong and that the rest of the description does not already make obvious, including a cost that grows without a code change and a known untested area. Each is a bold phrase, the rule that must hold, what happens when it breaks, and the file in parentheses. A bullet saying a feature must work tells the reviewer nothing and makes the real ones look routine, so a Low change usually ends at the first line. A trade-off already stated above is not repeated here.]
[Footer, stacked PRs only: one line saying where this PR sits in the stack: what it builds on and what follows it.]

The risk level follows from reversibility and blast radius, never diff size. Low: the change is read-only, or a revert fully undoes it. Medium: it writes something a revert does not undo (stored records, sent messages, a migration, released money), or it changes sign-in or permissions. High: a mistake costs money or data at scale and nothing guards against it. The description states the level, not this rubric.

In a stack, state a decision that spans several PRs once, in the lowest PR where it applies.

Draft the description the way you would explain the change to a colleague, then humanize it with the humanize-text skill, passing the audience as its context and an output file in a fresh temporary directory so the body reaches gh from disk. Read the rewrite once against the draft: the headings and bold phrases still say what the draft said, and no lead-in sentence or judgement was added. Fix such a difference, or a factual error, with a targeted edit rather than another humanization pass, which would rewrite everything else as well.

Create or update

For a new PR, push if needed, then create it against the base branch, passing the humanized description file with --body-file rather than reproducing it in shell arguments:

bash
gh pr create --title "<title>" --body-file "<humanized-description-path>" --base "<base>"

When the branch already has an open PR, update its description instead. Start from the live body, since it may have been edited on GitHub. Rewrite only the sections the new commits make false or incomplete, humanize only those, and splice them into the live body, so text reviewers have already read does not drift. Keep the screenshots that still show the current state and retake the rest. Publish with gh pr edit --body-file.

Check that the PR's body is the description and not empty or a receipt, then return the PR URL.

Success criteria

  • The why is sourced from the conversation, and from past sessions, Linear, the PRD, or domain docs when the conversation was thin
  • The description leads with what is different and why, and every line after it is something a reviewer would act on or could disagree with
  • A visible change carries screenshots, or the reply says why they are missing
  • The description was drafted first, humanized once, and changed afterwards only by targeted fixes
  • The PR exists with the humanized body and its URL is returned

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
3

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rolandtolnay/llm-toolkit/create-pr/badge)](https://verified-skill.com/skills/rolandtolnay/llm-toolkit/create-pr)

Something wrong with this skill or its page? Tell us.