selamy-labs/agent-skills/pull-request-writing
Claude Code and agent skill by selamy-labs/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when opening or updating a pull request title and description so a reviewer who has not read the agent conversation can understand and verify the change.
Install
npx vskill@latest install selamy-labs/agent-skills/pull-request-writingSKILL.md
The same SKILL.md was published earlier as selamy-labs/agent-skills/pull-request-writing.
Pull Request Writing
Write the PR for a reviewer who has not read the agent conversation. The title and body must carry the whole story: what behavior changes, why, and what evidence backs it.
The recipe
- Title names the concrete behavior and component. Follow this repository's title convention (check CI: conventional-commit title, allowed type, scope rules). Name what changes and where: the behavior plus the component or area. Leave out worker IDs, hashes, acceptance labels, vague verbs ("fix", "update"), and praise.
- Lead the body with problem then behavior. First paragraph: the trigger or failure in plain words. Second: what now happens instead. Add one concrete before/after or trigger example when the change is hard to picture without it. If the repository ships a PR template, fill its sections rather than replacing them; fit the recipe into the template's shape, and keep any required checklist honest rather than ticking it by default.
- Describe the implementation briefly, scaled to the change. A small change gets one or two sentences plus rationale. A larger change gets one short paragraph per part: what changed, what it connects to, and why this shape was chosen.
- State the validation honestly. Name the checks actually run (build, tests, linters, repo-specific scanners), their scope, and their outcome. Name material limits, risks, and dependencies too. Keep delivered source separate from deployed proof: a merged change is not the same as a verified running system.
- Keep links and receipts compact. Put issue and spec links plus required review evidence in one short validation section. Link to operational output (logs, run pages, dashboards) instead of pasting it inline.
- Rewrite the title and body when the scope changes. A title that fit the first diff but not the final one misleads every later reader.
- Describe the entire final diff, not the last fix. Review the whole PR against its base including every inherited commit. A correction-only diff is not the PR scope: the title and body must name all material final changes, the hosted validation actually run on the final head, and remaining limits — never only the last one-line fix. A narrower follow-up description that omits inherited scope contradicts this rule; keep every inherited change in scope.
For a stacked PR, compare against its immediate parent's branch. Describe that complete incremental diff and link the prerequisite and stack; do not present lower layers as new changes in every child. Separately name cumulative integration checks, their tested heads/bases, and the intended merge prefix. Refresh the description and evidence after restacking.
- Keep lasting norms in the canonical spec package. Requirements, behavior, architecture decisions, and normative tool or quality rationale belong in the existing spec structure (spec, plan, contracts, tasks), updated in place. Do not publish standalone rationale reports, selection notes, parallel design documents, or status histories beside it. This is not authority for blanket deletion: preserve legitimate user, API, and reference docs. Before publication, verify each new normative document belongs to the canonical structure and its links resolve. Attempt details, run pages, and review receipts stay linked from the PR, not duplicated into lasting docs. Use generic examples only; keep private project names, paths, and receipts out of public prose.
Mechanics
- Write readable Markdown with real newlines. Build API calls with structured arguments or a body file (
gh --body-file); never interpolate free text into a shell string. - After saving, read back the rendered title and body and confirm they show what was intended.
- Review the description alongside the code before merge, the same as the diff itself.
Short example
Title: fix(auth): reject expired session tokens at the API boundary
Body:
Complex example
Title: feat(sync): retry failed uploads with backoff and keep local order
Body:
Pairs with
radical-brevity: make a final meaning-preserving cut after the required context and evidence are in place.gate-before-push: run the repository's own gates locally first so the described validation is already green.github-pr-shepherding: classify the PR from GitHub state and drive it to merged or explicitly blocked.stacked-diff-discipline: keep each layer small, document its parent and native stack, and distinguish incremental review from cumulative validation.evidence-claim-boundaries: decide what a given piece of evidence actually supports before you claim it in the validation section.
DONE means
A reviewer who never saw the agent conversation can state the behavior change, the rationale, and the validation from the title and body alone; the title satisfies the repository's title check; and the validation section names the checks run, their outcome, and material limits — without pasted operational output or claims beyond what was verified.
Sources: repository title/commit gating practice; conventional-commit release gating; shift-left test evidence.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pull-request-writing/SKILL.md
Popularity
- Repository forks
- 3
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 4 Nov 2026, 28 days ago.
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/selamy-labs/agent-skills/pull-request-writing)