pr
できること
このスキルは、コードのプルリクエストの説明を下書きし、レビュアーが変更をすばやく理解できるようにします。証拠と巻き戻しの計画をレビュアーに見せたい開発者向けです。
使う場面
- ✓プルリクエストを開く準備ができ、分かりやすい説明が必要なとき。
- ✓セッションの外にいるレビュアーが、変更をすばやく理解する必要があるとき。
- ✓ロールバックの計画と証拠をリクエストに含めたいとき。
スキルのリンク
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/pr/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この変更のプルリクエストの説明を書いてください。短い要約と、どうやって元に戻せるかを含めてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、すでに行った作業、たとえばテスト結果や変更前後の証拠から説明を組み立てます。小さな図が役立つ場合は追加し、変更の取り消しやすさと影響範囲を示します。新しい証拠は収集しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
PR Body
When work lands behind a review, the PR body is the one artifact a reviewer outside the session reads. Everything it needs already exists in the paper trail — this skill assembles it and adds nothing that was not already established. The summary-visual discipline is inspired by show-me (credited in the frontmatter).
Template
## Summary
<one-line claim, then the smallest visual that proves it>
## Evidence
- **Before:** <output / failing check>
**After:** <output / passing check>
## Reversibility
<Rollback: cheap via <mechanism> | expensive because <reason>>
<Blast radius: one line>
Sections
Summary
State the change in one sentence, then show the smallest view that makes the point. Match the visual to the change:
- logic or an algorithm → pseudocode
- runtime control flow → a call tree
- UI structure → a component tree
- file responsibility or a broad refactor → a shallow file tree
- component interaction or data flow → a Mermaid diagram
- the delta itself → a diff shaped like the change (component, layout, call tree, or state machine)
Show the whole block only when most of it is new, omitted context would hide ownership, or the reviewer needs a copyable target shape. One visual usually suffices; never all forms.
Evidence
Consume the verify protocol's output — BUILD, TEST, LINT, FUNCTIONALITY evidence, freshness rule inherited. Present before/after pairs: the exact check that failed before and passes after, quoted from the output itself. When the change is visual, prefer a captured screenshot; qa-tester can drive the runtime for one. Never re-collect evidence here and never claim evidence the verify pass did not produce.
Reversibility
Run the ADR test on the diff itself — the same three questions launch applies to decisions: hard to reverse? surprising without context? the result of a real trade-off? A no on all three is a cheap rollback: say by what mechanism (revert the merge, toggle the flag). Any yes means an expensive rollback: say why. Classify the door first: a two-way door (undo is cheap and ordinary) needs no ceremony beyond naming the undo; a one-way door says so explicitly and names what makes the step irreversible. Link the ADR when the change implements or touches one. Close with the blast radius in one line — what else this change can move.
Language
Terms come from GLOSSARY.md where a glossary exists (legacy yards not yet migrated keep it in CONTEXT.md). The PR is read outside the session; the glossary is the only vocabulary the reader shares with it.
Triggers
- launch Phase 5, when the platform reviews through PRs: the completion report carries a PR body drafted by this skill.
- Any session that opens or materially updates a PR.
Output
- The PR body, ready to paste
- The paper-trail pointers it relies on (verify evidence, ADRs, spec)
よくある質問
説明のために新しいテストを実行しますか?
いいえ。検証の際にすでに集めた証拠を使います。
ロールバックの説明には何が含まれますか?
変更をどれだけ簡単に元に戻せるか、そしてシステムのどの部分に触れるかが含まれます。
図は含まれますか?
小さな図が、文章より変更を明確に示せる場合にだけ含まれます。
詳細
作者による元の説明
Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.
人気
- GitHubのスター
- 41k
- ランキング
- #7015
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-doc-discipline
41kエージェントが、他のAIエージェントが独力で従える指示を書けるよう支援します。確認できるルールと、各ルールの理由を明示します。
ai-slop-cleaner
41kエージェントが、動くけれど肥大化して繰り返しの多いAI生成コードを整理できるよう支援します。動作を変えずに、余分なコードを取り除きます。
architecture-survey
41kエージェントが、コードベースの構造を確認し、変更が難しくなっている部分を根拠とともに挙げます。自分では何も変更しません。
ask-navigator
41kエージェントが、あいまいなプロジェクトを明確な決定事項の一覧に変え、1つずつ検討して進む道筋を見えるようにします。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。