Skip to content
Skillpedia
General coding91k · #1323

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.md

Copy 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

Use this skill to help me: https://github.com/storybookjs/storybook/blob/next/.agents/skills/update-pr-description/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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

  1. Resolve the PR. Use the number/URL the user provided. If none, look up the PR for the current branch with gh pr view.
  2. Gather evidence:
    • gh pr view <pr> --json title,body
    • gh pr view <pr> --json commits (commit messages)
    • gh pr diff <pr> (full diff against base)
  3. 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.
  4. Report. Tell the user whether the title and/or description meaningfully diverges. If not, stop here.
  5. Suggest iteratively. Propose concrete updated title/description. Ask the user one change at a time whether to apply, accept edits, and refine.
  6. 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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills