/ratchet-github:pr-descriptionfrom ratchet-github
Use when opening or updating a pull request, writing its title or body, or reviewing a description. Write a pull request description a reviewer can act on without opening the diff - the problem, the change, the impact, and before/after evidence.
Ships in ratchet-github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read every applicable AGENTS.md first. Repository-local policy overrides these defaults. Use the
repository's pull request template when it has one, and fit these points into it.
A description is read by a reviewer deciding what to check, and later by someone asking why the code is this way. Build it from the final diff, not from the plan.
Refs #N, what
remains, no closing keyword; N is an open issue, not a pull request). When it closes and
refs none, say why in one plain line: the person asked for it directly in this session (an
interactive session only; never invent an issue), or a scheduled or automated run produced it
(name the run). A later sweep can then tell why it exists. See
related issues.status-reports' "Record who decided".When the change alters what a command, endpoint, screen, or job does, show one real run of it from the point of view of a customer or user: what they had, what they did, and what they got back, before and after the change.
foo and bar: that shows
a code path ran, not that the feature does what its user needs. Replace anything private.Use a table whenever the change moves something a reader can compare.
| Kind of change | Columns |
|---|---|
| Behavior | Case, before, after |
| Performance | Measure, before, after, how it was measured |
| API or schema | Field or endpoint, before, after, who must change |
| Flag or config | Flag, default, what it turns on, the paths it gates |
| User interface | State, before and after screenshots |
sequenceDiagram of the new flow.
Use a flowchart for decision logic.<details> block.
Keep the problem, the main table, and material risks outside it. Leave a blank line after
</summary> and before </details>, or the Markdown inside does not render.Read examples when choosing between a table, a diagram, and prose.
Add a short section only when a CI failure was traced to a local check that was skipped, or one that passed locally in a different scope. Link the first failing run and its commit, say what was run locally and why it missed the failure, and name the correction. Keep the section after CI turns green. An outage or a failure that can only happen in CI is not a gap; do not record one.
Say plainly what was not done or not verified. A known gap stated in the description costs less than one found in review.
When an agent wrote the change, end the description with a collapsed "Provenance" block. A reviewer weighs a change by what produced it and where it was checked, and a later reader can find the session that holds the reasoning.
Leave out the machine's hostname, the account's username, and absolute paths: they are private
detail, and say nothing a reviewer needs. A repository that wants them says so in its
AGENTS.md.
<details>
<summary>Provenance</summary>
Verified in: a local checkout of `main`, PostgreSQL 18, a prepared fixture. Not production data.
Agent: Claude (model as it reports itself: Sonnet 5.5), session `orders-cursor-api`
Harness: Claude Code CLI
Worktree: `orders-cursor-api`
</details>
When work is split across pull requests, say in each description what the other parts are and in
what order they land; whether to split or stack is in the pull-requests skill. How to post the
body and check it afterward is in pull requests, "Post a body".
Say what changes, in the imperative, in under about 70 characters: "Fix the retry on a timed-out upload". Not the ticket number alone, and not a vague verb such as "Update".
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jongleberry/ratchet-stack --plugin ratchet-github11 skills in this plugin
/dependabotUse when writing or reviewing dependabot.yml or a workflow that runs on Dependabot pull requests, when asked to trigger, re-run, or force a Dependabot run, or when a Dependabot pull request has a conflict, a stale lockfile, or a failing bump. Configures coverage, grouping, cooldowns, and secrets, starts an update check on demand, and repairs a Dependabot pull request./git-commit-checklistUse before every git commit, before a rebase, reset, or force push of a branch another person or agent may push to, when a rebase or merge conflicts in a lockfile, a generated file, or source, when a stacked branch's base has merged, and when git fails on a .lock file. Check scope, staged content, and message, resolve conflicts without taking a side, and force-push or clear a lock safely./github-actions-authoring