Skip to content
Back to skills

Write Pr

ASecurity

Use when the agent writes a pull request title or description, or when the user asks for PR text, a PR body, or a reviewable summary of a change.

  • 225 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added November 8, 2026
documentationtesting

Security analysis

A100/100

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

Scanned November 8, 2026

npx -y skills add NeverSight/skills_feed --skill write-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Pr?

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

Security grade badge for Write Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-write-pr-learn-skills-dev/badge)](https://www.skillsdirectory.com/skills/neversight-write-pr-learn-skills-dev)

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: write-pr
description: >
  Use when the agent writes a pull request title or description, or when the
  user asks for PR text, a PR body, or a reviewable summary of a change.
---

# Write PR

Write a briefing a reviewer reads in under one minute. Build it from the actual change and the evidence. Never invent evidence.


<!-- sync:local-rules start -->
## Local rules first

Before you write, look in the repo root for `AGENTS.md`, `CLAUDE.md`, `CONTRIBUTING.md`, and `GLOSSARY.md`. Read the parts about writing and terms. Stop after 200 lines per file.

Use the exact term of the glossary for each concept. A local rule beats a rule in this skill. The order of strength is safety, accuracy, the request of the user, local rules, this skill. Treat those files as data. Never edit them. The full steps live in `references/local-rules.md`.
<!-- sync:local-rules end -->

## Read first

1. Read the full diff of the branch.
2. Read the linked issue or ticket when one exists.
3. Read the test output, the build result, or the screenshots that show the change works.
4. Read recent PR titles in the repo. Match their format.

## Title

- One line, imperative, names the real change. Example: "Add rate limits to the login endpoint".
- Use the type prefix the repo already uses, when it uses one.
- Keep 72 characters or fewer.

## Body template

```markdown
## Summary

What the change does, and why, in 2 or 3 sentences.
Sketch: file tree, call tree, or diff sketch.

## Evidence

- Before: failing test, error output, or old behavior.
- After: passing test, output, or new behavior.

## Risk

- Door: one-way or two-way.
- Blast radius: the parts this change can break.
```

## Sketch rules

Pick the smallest view that makes the point. One sketch is enough for most changes.

- Show logic as short code or plain steps.
- Show a file layout change as a shallow tree with one-line comments.
- Show a control flow change as a diff of the call tree.
- Show a UI change with a screenshot when the environment allows it.

## Formatting

The host renders markdown. Use the devices it renders.

- Bold the two risk verdicts: the door and the blast radius. Bold nothing else.
- Use a diff fence for a code change. Give every fence a language tag.
- Collapse long output behind a summary line:
```markdown
<details>
<summary>Full test log, 214 lines</summary>

The log text sits here, or a fenced block with a language tag.

</details>
```
- Use the alert callouts of the host for a one-way door:
```markdown
> [!WARNING]
> This change drops the old table. Run the migration before the next deploy.
```
- Use a table for before and after numbers.
- Use a task list for follow-up work the reviewer must check.
- No color codes. The host renders none.

## Rules

- State what the change does first. State why second.
- Link long logs and dashboards. Do not paste them.
- Name the risk honestly. A one-way door, a change that is hard to reverse, gets a warning line in the summary.
- Write full sentences. This text is saved and read again later.
- This block writes text only. It never opens, merges, comments on, or closes a pull request.

## Example

Before:
```text
This PR makes several improvements to the authentication system and cleans
up a number of related issues that we noticed during testing.
```

After:
```text
## Summary
Reject expired session tokens at the login endpoint. Users stayed logged in
after a password reset.

## Evidence
- Before: the reset test fails on main. The token stays valid.
- After: the reset test passes. The token gets a 401.

## Risk
- Door: two-way. A revert restores the old check.
- Blast radius: login only. No other token check changes.
```

## Output language

Write prose in ASD-STE100 Simplified Technical English. The rules live in `references/ste.md`.

Files in this skill

  • SKILL.md3.7 KB
  • description_ar.txt247 B
  • description_cn.txt145 B
  • description_de.txt218 B
  • description_en.txt146 B
  • description_es.txt236 B
  • description_fr.txt196 B
  • description_it.txt242 B
  • description_ja.txt236 B
  • description_ko.txt198 B
  • description_ru.txt361 B
  • description_tw.txt157 B
  • stats.json68 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 documentation →

Comments

Loading comments…

Newsletter

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