本文へスキップ
Skillpedia
一般的なプログラミング91k · #1323

update-pr-description

できること

このスキルは、プルリクエストのタイトルと説明を、実際のコードの変更と照らして確認するようAIを導きます。レビュアーにとって正確なプルリクエストの説明がほしい開発者向けです。

使う場面

  • ✓プルリクエストが大きくなり、説明が変更と合わなくなったとき。
  • ✓レビューを頼む前に、明確なタイトルと要約がほしいとき。
  • ✓レビュアーから、説明が古いと指摘されたとき。

スキルのリンク

https://github.com/storybookjs/storybook/blob/next/.agents/skills/update-pr-description/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/storybookjs/storybook/blob/next/.agents/skills/update-pr-description/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“プルリクエストの説明がまだコードと合っているか確認し、合っていない場合は更新したタイトルを提案してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AIは、現在のタイトル、説明、コミットメッセージ、差分全体を読みます。意味のあるずれだけを報告し、更新を1つずつ提案して、あなたが承認したものだけを適用します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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.
よくある質問

説明を自動で変更しますか?

いいえ。変更は提案し、あなたが同意した後にだけ適用します。

すでに正確な説明は書き直しますか?

いいえ。すでに正確な説明は書き直さないよう、スキルは述べています。

コード以外に何を確認しますか?

コミットメッセージを確認し、各コミットが実際に何をしたかを把握します。

詳細

作者による元の説明

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

人気

GitHubのスター
91k
ランキング
#1323
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル