update-pr-description
What it does
This skill guides the AI through checking a pull request's title and description against the actual code changes. It is for developers who want their pull request descriptions to be accurate for reviewers.
When to use it
- ✓When a pull request has grown and its description no longer matches the changes.
- ✓When you want a clear title and summary before asking for review.
- ✓When a reviewer says the description is out of date.
Skill link
https://github.com/storybookjs/storybook/blob/next/.agents/skills/update-pr-description/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Check whether my pull request description still matches the code, and suggest an updated title if it does not.”
5 new skills a week. 1 minute to read.
How it works
The AI reads the current title, description, commit messages and full diff. It reports only meaningful gaps, proposes updates one at a time, and applies the ones you approve.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Update PR Description
Workflow
- Resolve the PR. Use the number/URL the user provided. If none, look up the PR for the current branch with
gh pr view. - Gather evidence:
gh pr view <pr> --json title,bodygh pr view <pr> --json commits(commit messages)gh pr diff <pr>(full diff against base)
- Evaluate divergence. Compare the stated title/description against what the commits and diff actually do. Only flag meaningful divergence (wrong scope, missing major changes, stale claims, inaccurate summary). Ignore trivial wording.
- Report. Tell the user whether the title and/or description meaningfully diverges. If not, stop here.
- Suggest iteratively. Propose concrete updated title/description. Ask the user one change at a time whether to apply, accept edits, and refine.
- Apply. Once agreed, update on the user's behalf with
gh pr edit <pr> --title ... --body ....
Notes
- Match the repository's existing PR template/style if the body uses one.
- Don't rewrite a description that's already accurate.
- Update the state of checkboxes where appropriate.
- Remove section placeholders/reminders when filling out a section.
- Do not remove the canary release section.
FAQ
Will it change my description automatically?
No. It proposes changes and applies them only after you agree.
Does it rewrite a description that is already accurate?
No. The skill says not to rewrite a description that is already accurate.
What does it check besides the code?
The commit messages, so it can see what each commit actually did.
Details
Original description by the author
Evaluate a PR's title and description against its actual implementation, then iteratively suggest and apply updates. Use when the user asks to check, fix, or update a PR title or description.
repo: storybookjs/storybook
Popularity
- GitHub stars
- 91k
- Ranking position
- #1323
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
handle-pr-comments
91kHelps your agent work through GitHub pull request review comments one at a time, suggesting a fix, applying your choice and resolving the thread.
principle-encode-lessons-in-structure
91kTeaches your agent to turn repeated mistakes into automatic checks, such as a lint rule or script, instead of writing the same reminder again.
storybook-startup-benchmark
91kHelps your agent measure how long Storybook takes to start and show its first story, with repeat runs for fair comparisons.
storybook-upgrade
91kShows your agent how to upgrade all Storybook packages in a project to a chosen version, one major version at a time.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.