本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)15k · #10938

make-pr-easy-to-review

できること

このスキルは、コミットの説明や履歴、レビュアー向けの案内を改善して、プルリクエストをレビューしやすくすることをアシスタントに許可します。より速く、明確なレビューを望む開発者向けです。

使う場面

  • ✓プルリクエストにノイズの多いコミットや古い説明があるとき。
  • ✓レビュアーにどこから見ればよいか、何が重要かを伝えたいとき。
  • ✓機械的な変更とロジックの変更が混ざっていて、それを分けたいとき。

スキルのリンク

https://github.com/cursor/plugins/blob/main/cursor-team-kit/skills/make-pr-easy-to-review/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“コミットを整えて、わかりやすい説明を書くことで、このプルリクエストをレビューしやすくしてください。”

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

仕組み

アシスタントは、コミット、差分、説明を確認し、計画を提案します。安全な改善を適用し、コードが変わっていないことを確認します。履歴の書き換えは、あなたが同意した場合にのみ行います。

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

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Make PR Easy to Review

Prepare a PR so a reviewer can quickly understand the intent, important files, and risk. The default goal is reviewability without behavior changes.

Workflow

  1. Resolve the target PR from the user-provided URL or current branch.
  2. Inspect commits, diff size, changed paths, generated files, and PR description.
  3. Identify reviewability issues: noisy commits, stale description, unrelated changes, mixed mechanical and logic changes, missing tests, or unclear reviewer entry points.
  4. Propose a plan before rewriting history or force-pushing.
  5. Apply safe improvements, then verify the tree or diff still matches the intended code.

History Cleanup

Only rewrite history when the user asks for it or agrees to the plan. Before rewriting:

gh pr view <PR> --json title,headRefName,baseRefName,state,commits
git fetch origin <headRefName> <baseRefName>
ORIGINAL_TREE=$(git rev-parse origin/<headRefName>^{tree})

Good commit groupings usually follow dependency order:

  1. Schema/storage or generated API definitions.
  2. Core logic.
  3. Wiring and integration.
  4. UI or surface behavior.
  5. Tests.

After rewriting, verify content identity:

echo "Original tree: $ORIGINAL_TREE"
echo "Current tree:  $(git rev-parse HEAD^{tree})"
git diff origin/<headRefName> --stat

Do not push if the tree changed unintentionally.

Reviewer Guidance

When code behavior should stay untouched, prefer PR description and review notes:

  • Add a TL;DR that matches the actual diff.
  • Separate core files from generated or mechanical files.
  • Call out risky behavior changes, migration order, rollout plan, and test coverage.
  • Link issue trackers, dashboards, or design docs when they explain intent.

Guardrails

  • Never hide meaningful behavior changes inside "cleanup".
  • Do not bypass hooks unless the user explicitly asks.
  • If the PR is too large to make reviewable with notes, recommend splitting instead of polishing around the problem.
よくある質問

コードの動作が変わりますか?

いいえ。既定の目標は、動作を変えずにレビューしやすくすることです。

確認なしにコミット履歴を書き換えますか?

いいえ。まず計画を提案し、あなたが頼んだか同意した場合にのみ履歴を書き換えます。

結果はどのように確認しますか?

変更の後は、ツリーが意図したコードと一致しているかを確認し、誤ってツリーが変わった場合はプッシュしません。

詳細

作者による元の説明

Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".

repo: cursor/plugins

人気

GitHubのスター
15k
ランキング
#10938
ライセンス
—
更新日
2026/10/31

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

0

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

コメント

  • …

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

似ているスキル