Skip to content
Back to skills

Pr Writing

ASecurity

Use whenever writing or updating a pull request description.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 15, 2026
ai-agentsgotestingapiperformance

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add AdiRishi/dotagents --skill pr-writing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr Writing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pr Writing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adirishi-pr-writing/badge)](https://www.skillsdirectory.com/skills/adirishi-pr-writing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pr-writing
description: Use whenever writing or updating a pull request description.
---

# PR writing

A reviewer should understand the change, see that it works, and be able to try it within a minute. Most of their time goes into picturing what the author already saw: the page they opened, the command they ran, the test that went green. Put that in the description. Prose that describes a change is a claim, not evidence.

## 1. Open with the problem

Open the description with a simple explanation of the problem based on the
user's original prompt, then briefly explain the solution. Do not lead with an
implementation inventory:

BAD

> ❌ Removed implicit workspace carry-over from every "new thread" entry point (cmd+n / cmd+shift+o, sidebar v1/v2 buttons, command palette). New threads inherit only the project from context; branch, worktree, and env mode always come from the configured defaults. Deleted buildContextualThreadOptions, startNewThreadInProjectFromContext, and the v1 sidebar's seed-context machinery.

GOOD

> ✅ My "new worktree" default was ignored when starting new threads on existing worktrees. Super unintuitive. Now your preferences always apply.

Keep the opening short and easy to read. Put technical details in the details section.

## 2. Say how to try it

Right after the opening, give the fastest way to try the change, ready to copy and introduced by a plain sentence. Give the reviewer something they can paste or click, not a description of how to set things up.

- **Page or UI:** the preview deployment URL of the changed page itself, not the deployment root. Take it from the deployment bot comment or the deployment status, then add the path.
- **Package or CLI:** one command that runs the pull request build. Turn the bot's install comment (pkg.pr.new and similar) into `npx https://pkg.pr.new/<package>@<pr> <command>`; use install-then-run only when the package has no command to run.
- **API:** a snippet someone can paste.
- **No preview or PR build yet:** the local command, and say the link will follow.

Open each link once to check it serves the change.

## 3. Add details that help the review

After the opening, explain what the reviewer needs to know beyond the problem and solution. Group related changes by behavior or area, not by file or commit.

Include details that explain a non-obvious implementation decision, affect compatibility or deployment, or identify a limitation. Describe the consequence for the reviewer, rather than listing code changes:

BAD

> X Added a status column, updated the job queries, regenerated the schema, and changed the worker.

GOOD

> ✅ Existing jobs start with a pending status. Deploy the migration before the new worker. Older workers ignore the new column, so they can continue running during deployment.

Say what CI doesn't show, in plain sentences: a check that failed, checks you ran yourself because the repository has no CI for them, manual checks (a real device, a real project, a browser), and what nobody verified yet. Don't restate checks CI runs and shows green, such as lint, typecheck or tests: the reviewer already sees them on the pull request.

Use a short paragraph for one concern. Use bullets or subheadings when several concerns need separate explanations. Omit this section if the opening and evidence already give the reviewer enough context.

Keep technical explanations here. The opening must remain a simple explanation of the problem and solution.

## 4. Show it, with evidence that fits the change

| Change | Evidence |
|---|---|
| UI | Before and after screenshots of the same element, same viewport and crop. A short video for motion, hover, or a multi-step flow. A phone width when layout is involved. |
| CLI or build | The real output of the same command before and after, exit code included. Never retype or tidy it. |
| Bug fix | The input and the result before and after, and the regression test that failed first. |
| Performance | What you measured and how (machine, runs, inputs), the numbers on both sides, and how much they vary between runs. |
| AI or agent behaviour | The same set of real prompts on both sides, how answers were graded, time and cost per answer, and where the grading is unreliable. |
| New API or feature | The code someone would write to use it. A pure addition has no "before": show it on its own. |
| Anything else | A small table, a diagram, or an HTML page comparing both versions. |

Every UI change needs the screenshots or video from the UI row. Screenshots and recordings you captured while testing any other change go in the PR as well. Use the `before-and-after` skill to capture and lay them out.

Files in this skill

  • SKILL.md3.1 KB
  • agents/openai.yaml118 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.