github-pr-workflow
できること
コードを他の人にレビューしてもらう準備を手伝うツールです。変更内容が明確で分かりやすく、意図どおりに動くことを確かめます。
使う場面
- ✓コードの変更が終わり、レビューを依頼したいとき。
- ✓レビュアーから修正を求められ、修正版を提出する必要があるとき。
- ✓レビュー待ちのまましばらく止まっているコードを、更新したり詳細を補足したりする必要があるとき。
スキルのリンク
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/software-development/github-pr-workflow/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“レビューに出すためにコードを準備してください。わかりやすい概要、テスト方法、重要な補足事項を含めてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは、コードを整理し、変更内容の説明を分かりやすくして、どのようにテストしたかを示す手助けをします。レビュアーのコメントへの返信も支援します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
GitHub Pull Request Workflow
Ship a PR a reviewer can land without follow-up clarifying questions. The aim is high signal in the title and body, evidence the change works, and clean replies when feedback comes in.
When to use
- You are about to open a PR for a change that is functionally complete.
- A reviewer left comments and you need to respond and push fixes.
- A PR has been open more than a day and needs to be brought back into shape (stale conflicts, missing description, missing verification).
When not to use
- The change is not yet functionally complete. Finish the work first; draft PRs that bounce on review are noise.
- The repository uses a non-GitHub forge. Adjust to that forge's conventions; do not force GitHub-isms.
Branch hygiene before opening
- Rebase or merge from the target base so the diff is current.
- Squash WIP commits into reviewable units. Prefer one commit per logical change; do not force one-commit-per-PR if the work is genuinely multi-step.
- Confirm tests, typecheck, and lint pass locally. Note any deliberate skips in the PR body.
- Remove debug prints, commented-out code, and
TODOmarkers that are not tracked.
PR title
- Imperative mood, under 70 characters.
- Lead with the user-visible change, not the file touched.
Allow CSV export from reports tablebeatsUpdate reports.tsx. - If the repo uses an issue prefix convention (
PAP-1234:,[security]), follow it. - No trailing period.
PR body
Use this structure:
## Summary
- 1–3 bullets describing what changed and why.
## Implementation notes
- Anything non-obvious in the diff: trade-offs, dropped alternatives, gotchas.
- Migration or config implications.
## Verification
- The exact commands or steps you ran.
- Screenshots or short clips for UI changes (required if pixels moved).
- Edge cases you exercised by hand.
## Risk and rollback
- What breaks if this is reverted, and how to revert cleanly.
Skip the Risk and rollback section only for clearly trivial PRs (typos, docs).
Verification evidence
- Tests passing in CI is necessary, not sufficient. Reviewers also need to know the change behaves correctly end to end.
- For UI work, include screenshots of the golden path and one edge case. Tag dark and light mode if the project supports both.
- For migrations, include a dry-run plan and reversal steps.
- For performance changes, include a before/after measurement, not adjectives.
Replying to review comments
- Reply on every comment, even with just "fixed in <commit-sha>" — silent fixes leave the reviewer guessing.
- Push fixes as new commits while review is active; do not amend during review unless the reviewer agrees.
- If you disagree with feedback, say so with one sentence of rationale and let the reviewer decide. Don't escalate over comments.
- Re-request review explicitly after pushing changes.
Merge checklist
- All required checks green.
- All review comments resolved.
- PR title/body still accurate (update if scope changed mid-review).
- Linked issue moves to
in_reviewordoneper project convention. - Delete the branch after merge unless it is a long-lived integration branch.
Anti-patterns
- PR description that says "see commits". Reviewers should not need to read the log.
- Mixing refactor and behavior change in the same PR with no separation in the body.
- "Address feedback" commits that bundle unrelated edits. One commit per round of feedback is fine; one commit for everything in flight is not.
- Force-pushing during active review without telling the reviewer.
よくある質問
タイトルと説明が分かりやすいことが大切なのはなぜですか?
分かりやすいタイトルと説明があれば、レビュアーは何が変わったのか、なぜ変わったのか、どうテストすればよいのかをすぐに理解できます。時間の節約になり、混乱also防げます。
「コミット」とは何ですか? なぜ整理するのですか?
コミットは作業の「保存」のようなものです。関連する小さな変更を一つの保存にまとめることで、コードの履歴がすっきりして追いやすくなります。
変更すべてにスクリーンショットが必要ですか?
見た目に影響する変更では特に重要です。実際にどう見えるかを正確に示せます。
詳細
作者による元の説明
Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.
repo: paperclipai/paperclip
人気
- GitHubのスター
- 103k
- ランキング
- #805
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
delegate-work
103kエージェントが作業を別のエージェントに任せられるよう支援します。複雑なタスクを分割し、進捗を整理して管理するのに役立ちます。
follow-up-results
103kエージェントが以前の作業結果を確認できるようにします。タスクの進捗を追跡し、人間のフィードバックを追加するのに役立ちます。
review-my-team
103kエージェントが接続されたチームの状況を確認できるよう支援します。チーム、タスク、ブロッカー、承認待ちの概要を把握するのに役立ちます。
paperclip-task-bridge
103kエージェントが別のプラットフォーム上でタスクを作成・管理できるようにします。プロジェクト管理システムと直接やり取りするのに役立ちます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。