matiinchauspe/yunque/yun-write-pr
Claude Code and agent skill by matiinchauspe/yunque
- community
Checking that the SKILL.md file is still in the repository.
Write a pull request title and body that show the change — its ticket, its shape, the evidence it works, and how dangerous it is to merge.
Install
npx vskill@latest install matiinchauspe/yunque/yun-write-prSKILL.md
The same SKILL.md was published earlier as matiinchauspe/yunque/yun-write-pr.
yun-write-pr
A PR body is read by a reviewer deciding whether to merge. Give them why the change exists, its shape, the evidence it works, and the merge danger — nothing they would have to dig for.
Steps
- Read the change whole. The commits between base and head (
<base>...<head>): a PR number
brings its own base and head; a base ref pairs with HEAD; with no argument, HEAD against its merge base with the mainline. Uncommitted changes are not in the PR: leave them out of the body. Read too the spec or ticket the work closes, where the branch or the conversation references one, fetched through skills/_shared/artifact-convention.md; one that cannot be fetched is noted for the hand-over, never a reason to stop — the commits are enough to write from. Done when you can say in one sentence why the change exists, and which changed files the Summary will show and which are noise.
- Take the repo's form. Look for a PR template the forge reads (
.github/pull_request_template.md
or the forge's equivalent) and a title convention or language the repo declares — a PR-title check in its CI, or its agent instructions or conventions doc asking for one. A declared template wins: the sections below fill it — they never replace it. A declared title convention or language wins over The title below. Domain things go by their canonical term: consult the domain model through skills/_shared/domain-convention.md.
- Write the title and the body. Both forms and their rules are below. No preamble.
- Hand it over. If the user asked to publish it, do so through the forge's own tooling, and
read the branch's PR state from the forge before pushing. A PR still open → push, then replace its title and body. No PR, or one merged or closed → push and open a new one with this title and body, on purpose: a merged PR's deleted branch is recreated by the push, and the close names the old PR beside the new one. Otherwise hand both back as text.
The title
<ticket ID> <description> — or the description alone when there is no ticket. One form: the ID is a prefix that appears only when it exists.
Ticket ID — only a tracker ID a reviewer can open (RES-87, #42), written in the tracker's canonical form: the ticket step 1 fetched, else the one the branch name carries (minchauspe/res-87-… → RES-87), else one named in the conversation. A ticket on artifact-convention's file floor is numbered locally and resolves for nobody else, so it leaves the title as one with no ticket. The ID is always one that exists — no placeholder, and no ticket opened just to have one.
Description — the outcome of the change, imperative, sentence case, no trailing period, about 72 characters at most. In English, unless the repo declares another language. It starts at the outcome itself: a conventional-commit prefix (feat:, fix(scope):) in the repo's history is habit, not a declaration, so it stays in the commits.
The template
Header — links a reviewer can open: a tracker URL, a published spec. Never a local path — a .yun/ file resolves for nobody else, and a public PR leaks what it names. No such link, no line. Then the why — exactly one sentence: the problem this solves, or what it makes possible.
Summary — the smallest view from `../yun-show-me/VISUALS.md` that makes the change clear, aimed at the diff: a diff of the shape usually says it fastest, and a changed schema, endpoint or key type goes first as a contract. One short sentence beside each view; one view, sometimes two.
Evidence — proof the change works, as a before and an after, ranked:
- A screenshot — when the change is visual and the environment can take one.
- An execution — the test that failed and now passes (named, or as pseudocode), the
command output that changed.
- None — then the section says so in those words, and names what was left unverified.
Report only runs you can point at: one made in this session, one recorded in the ticket's log, or the ticket's done-signal — else the repo's tests — re-run now for the after. An after with no before is a claim, not evidence.
Merge Danger — the door: a two-way door walks back cheaply (a revert restores the world); a one-way door does not — a destructive migration, a published API, a rewritten history, data sent somewhere. The blast radius: everything the merge can reach — consumers that break, layout that shifts, a flow that degrades on mobile — in one word, then the ramifications.
Close by stating the verdict
State the PR's link and its title, or that both were handed back as text, and the door in one line — two-way, blast radius: local. A reviewer reads that line first; the body exists to justify it. Then name what the body could not cover: uncommitted changes left out, a ticket that could not be fetched.
Attribution
Adapted for this workspace from Matt Pocock's `pr` (github.com/mattpocock/skills, MIT), whose Summary menu comes from Dex Horthy's `show-me` (github.com/humanlayer/skills, MIT); the header of links, the one-sentence why and the contract view come from Dex Horthy's `visual-pr` (same repo). Changes: the visual menu is read from yun-show-me's VISUALS.md instead of copied in; the repo's own PR template is honoured; the title has its own rule — a tracker ID first when one exists, no conventional prefix, English unless the repo declares otherwise — where Matt's says nothing of titles; the glossary is reached through skills/_shared/domain-convention.md; Evidence gained a third rung that says plainly when nothing was run; and the skill can open the PR, not only draft its body.
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
- SKILL.md in the repositoryCheckingskills/yun-write-pr/SKILL.md
Popularity
- 7-day trend score
- 5
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
[](https://verified-skill.com/skills/matiinchauspe/yunque/yun-write-pr)