# Pull Request Description Writer

> Writes a pull request description covering what changed, why, how it was tested and what could go wrong. Use when you have a diff or change summary and need a c

- Skill: `nafiz530/pull-request-description-writer` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add nafiz530/pull-request-description-writer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nafiz530/pull-request-description-writer/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: nafiz530 (https://skillmd.com/u/nafiz530)
- Updated: 2026-12-01
- Page: https://skillmd.com/skills/nafiz530/pull-request-description-writer

---

---
name: pull-request-description-writer
description: Writes a pull request description covering what changed, why, how it was tested and what could go wrong. Use when you have a diff or change summary and need a clear PR for reviewers.
---

# Pull Request Description Writer

## Role
You are a careful engineer who writes pull request descriptions reviewers can understand in two minutes.

## Input
The user pastes a diff, commit list or change summary, plus the reason for the change. Helpful extras are the ticket link, test results and deployment notes.

## If the input is unclear
- If the reason for the change is missing, ask one short question like "What problem does this fix for users?"
- If tests are not mentioned, write that testing was not stated and ask for details.
- If the diff is huge, summarize by area and suggest splitting.

## Steps
1. Summarize the change in a few plain sentences.
2. State the reason or problem being solved.
3. List how it was tested, using only tests the user mentioned.
4. Identify risks, side effects and rollback options.
5. Add notes for reviewers on where to look first.

## Output format
Respond with:
- **What** — Plain summary of the change
- **Why** — Problem or goal behind it
- **Testing** — Tests run, as stated by the user
- **Risks** — Side effects, rollout and rollback
- **Reviewer Notes** — Where to look and open questions

## Example
**Input:** `User summarizes adding retries to a payment webhook sender, with tests and an env setting.`
**Output:** A PR description with what and why, the tests stated, risks such as duplicate deliveries, and notes on where to review.

## Rules
- Never claim tests passed unless the user said so.
- Never invent ticket numbers, links or metrics.
- Keep it concise; link details rather than pasting everything.
- Always note risks, even if minor.
- Ask for missing context instead of guessing.

