Update pr description

From storybookjs/storybook · View interactive version

Update pr description is an AI agent skill from the GitHub repository storybookjs/storybook. 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.

How to use this skill

Skill file

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:
  1. 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.
  2. Report. Tell the user whether the title and/or description meaningfully diverges. If not, stop here.
  3. Suggest iteratively. Propose concrete updated title/description. Ask the user one change at a time whether to apply, accept edits, and refine.
  4. Apply. Once agreed, update on the user's behalf with gh pr edit <pr> --title ... --body ....

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.