pr-describe
/pr-describe
Write a pull request title and description from the actual diff and commits, including a risk line and how to test. Use when the user asks to write, draft, fill in or improve a PR description, open a PR, or summarise a branch for reviewers.
- Author
- gourav-banerjee7 ↗
- Repository
- agent-toolkit ↗
- Licence
- MIT
- Last repository change
- 10.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Write a pull request title and description from the actual diff and commits, including a risk line and how to test. Use when the user asks to write, draft, fill in or improve a PR description, open a PR, or summarise a branch for reviewers.
Original author description
Write a pull request title and description from the actual diff and commits, including a risk line and how to test. Use when the user asks to write, draft, fill in or improve a PR description, open a PR, or summarise a branch for reviewers.
How it works
- 1. Gather the facts
- 2. Write it
- 3. ADHD mode
- 4. Deliver
SKILL.md preview
--- name: pr-describe description: Write a pull request title and description from the actual diff and commits, including a risk line and how to test. Use when the user asks to write, draft, fill in or improve a PR description, open a PR, or summarise a branch for reviewers. --- # pr-describe Write a PR description a reviewer can act on in under a minute. Every claim must come from the diff, the commits, or the user. Never invent test results, tickets, metrics or screenshots. ## 1. Gather the facts Run these from the repo root. Use the PR's base branch if a PR exists (`gh pr view --json baseRefName`), otherwise the repo's default branch. ```bash git log --no-merges --format='%h %s%n%b' <base>..HEAD git diff --stat <base>...HEAD git diff <base>...HEAD ``` Also run the pr-risk scorer (it sits in the sibling skill: `<skill-dir>/../pr-risk/scripts/cli.js`). It only needs Node, not git, when you give it a diff file: | Source of the change | Command | |---|---| | This branch | `node <skill-dir>/../pr-risk/scripts/cli.js --base <base>` | | An open PR | `gh pr diff <n> \| node <skill-dir>/../pr-risk/scripts/cli.js --diff-file -` | | A diff the user pasted | Write it to a temp file, then `node <skill-dir>/../pr-risk/scripts/cli.js --diff-file <file>` | Use its level and score in the Risk section exactly as printed. If it truly can't run (no Node), say so in the Risk line rather than inventing a level. Find a ticket key (e.g. `ABC-123`) in the branch name or commit messages. If there is none, leave it out. If the diff is large, read the most important files in full rather than only the hunks, so you describe behaviour, not line edits. Start with whatever pr-risk flagged. ## 2. Write it Title: imperative, under 70 characters, with the ticket key if there is one. Follow the repo's convention if recent PR titles use one (check `gh pr list --state merged -L 10`). Body, in this order. Leave out any section that has nothing true to say. ```markdown **TL;DR:** <one sentence: what changes for users or the system> ## Why <the problem or goal, 1–3 lines; link the ticket> ## What changed - <behaviour-level change, grouped by area, not file by file> ## How to test 1. <steps a reviewer can actually run, or the tests that cover it> ## Risk <level> (score N) — <the top signals in plain words>. Rollback: <how, if risky>. ``` Keep it short. A small PR gets a short description. Put commands, paths and identifiers in backticks. ## 3. ADHD mode If the i-have-adhd skill is on in this session (the user ran `/i-have-adhd` and has not said "stop adhd mode"), reshape the body for the reviewer: - First line is the reviewer's next action and the time it takes, using pr-risk's estimate: `**Review:** ⏱ ~15 min · start at \`db/migrations/0042.sql\`` - Replace "What changed" with a numbered **Review order**: one step per area, each with the file to open and the one thing to check there. - Keep TL;DR, How to test and Risk. Drop Why to one line. See `reference/example.md` for the same PR in both styles. ## 4. Deliver Show the title and body to the user. Do not create or edit the PR yourself unless they ask. When they ask, write the body to a temp file and use: - New PR: `gh pr create --title "<title>" --body-file <file>` - Existing PR: `gh pr edit <n> --title "<title>" --body-file <file>`
Files in this package (2)
- SKILL.md 3 KB
- reference/example.md 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · gourav-banerjee7/agent-toolkit | 100 | MIT |
| aisoul-dev/skills | 100 | MIT |
| oguzsh/claudey | 100 | MIT |
Database snapshot: 13.11.2026 · package version 055576e8c7c0 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100pr-description
Writes a pull request title and description from the actual diff: what changed, why, how it was tested, and what reviewers should look at. Use when opening or updating a PR, or when asked to describe a branch. - 100file-pr
Write a pull request title and body grounded in the actual diff, as a local draft by default, and create or update the PR only when that is asked for or already authorized. Use when the user asks to write or fix a PR description, or to file, open, create or update a pull request. - 100pr-description
Use when the user asks to open a pull request, write a PR description, or summarise a branch for review. Builds the description from the full branch diff against the base and from commit messages, and includes a test plan with real commands. - 100writing-pull-requests
Use when writing or rewriting a pull request description, PR title, or MR description. Triggers on "write the PR", "PR description", "raise a PR", "open a PR", "describe this branch", "summarise this change for review", "what should the PR say", and on being asked to improve a… - 100pr-description
Write a pull request title and description for the current branch, and open the PR if asked. Use when the user says "open a PR", "create a pull request", "write the PR description", "describe my changes for review". - 100pr-generator
Use this skill when creating a pull request — generate the title, structured description, and review checklist from the branch's actual commits and diff. Don't use it for commit messages (git-commit skill) or changelogs.