visual-pr
できること
このスキルは、レビュアーが素早く読めるプルリクエストの説明を書く方法をエージェントに教えます。変更の理由と実装の形を説明し、プルリクエストがなければそれを作成します。
使う場面
- ✓開発者が変更を終え、明確なプルリクエストの説明が必要なとき。
- ✓新しいコミットの後に、既存のプルリクエストの説明が古くなったとき。
- ✓プルリクエストで何が変わったかの視覚的な概要がほしいと頼まれたとき。
スキルのリンク
https://github.com/humanlayer/skills/blob/main/plugins/visual-pr/skills/visual-pr/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“visualPRスキルを使って、私の現在のブランチのプルリクエストの説明を書いてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、現在のブランチのプルリクエストを探すか作成し、差分全体とチケットを読んで、テンプレートを埋めます。理由は一文に、レビュアー向けの特記事項は一から三つの箇条書きに保ちます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Describe a Pull Request
Create or update the pull request for the current task with a concise description that helps a reviewer understand why the change exists and the shape of the implementation.
Workflow
Read the description template:
Read({SKILLBASE}/references/pr_description_template.md)Identify or create the pull request:
- Check the current branch for a PR with
gh pr view --json url,number,title,state,baseRefName,headRefName 2>/dev/null. - If no PR exists, inspect
git status --short --branchand the commits on the current branch. - Commit task-related changes when needed, push the branch with an upstream, and create a PR for it. Follow the repository's git safety protocol.
- Ask the user to select a PR only when the current branch has no relevant work and there is no safe current-branch PR to create.
- Check the current branch for a PR with
Gather only the context needed to explain the change:
- Read the ticket and any relevant task artifacts.
- Read the complete PR diff and enough surrounding code to understand behavior and ownership.
- Use
gh pr viewto collect PR metadata and changed files. - Read
{SKILLBASE}/references/show-me.mdfor the visual-outline conventions used in the PR body.
Write the PR description using the template:
- Keep Why the change to exactly one sentence.
- Keep Special things to note to 1-3 bullets. Prioritize reviewer warnings, migrations, compatibility constraints, deliberate omissions, or surprising decisions. Write
- None.when there are no special considerations. - Make Change outline a compact,
/show-me-inspired structural view rather than prose or a file-by-file changelog. - Include only the views that help explain this PR:
- SQL table and endpoint contract changes, plus pseudocode for business logic.
- key data structure / type changes
- A shallow file tree showing changed responsibilities.
- React component tree changes, including important hooks, state, and package boundaries.
- Call-tree, call-stack, control-flow, or data-flow changes.
- Prefer
diffblocks when showing changes to an existing shape. Show the complete target shape when most of it is new or diff notation would obscure ownership or order. - Keep each view focused on what a reviewer needs. Omit categories that did not change.
- optionaL: if you are aware of a ticket id/url, a humanlayer task url, or related plan/document urls, or other relevant links, include them in the header, otherwise omit the header
Save and publish the description:
- Use
.humanlayer/tasks/{task-slug}/pr-description.mdwhen the task directory exists; otherwise use.humanlayer/tasks/pr-{number}/description.md. - Update the PR with
gh pr edit {number} --body-file {output-path}. - Confirm the update succeeded.
- Use
Report completion:
- Read
{SKILLBASE}/references/describe_pr_final_answer.md. - Respond using that final answer template with the PR URL, saved description URL, and concise list of changed files.
- Read
Always read and follow {SKILLBASE}/references/pr_description_template.md. Do not expand the PR body beyond that template.
Write as one human talking to another: avoid jargon and slang, and use simple, coherent, concise language.
よくある質問
プルリクエストを私のために作りますか?
ブランチのプルリクエストがなければ、タスクに関係する変更をコミットして作成するよう、スキルは説明しています。
説明はどれくらいの長さですか?
理由は一文、特記事項は一から三つの箇条書きに保ちます。
どのテンプレートを使いますか?
スキルと一緒に保存されたプルリクエストの説明のテンプレートを使います。
詳細
人気
- GitHubのスター
- 5.5k
- ランキング
- #14778
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
build-iterated-agentic-loop
5.5kエージェントが、繰り返されるコーディングの作業を、リポジトリのスキルと、ワークフローのメモリファイルとスケジュールされたGitHub Actionsのワークフロー(ループごとに開くPRは一つ)に変えられるよう支援します。
design-control-loop
5.5kエージェントが、あなたに質問して、小さく確認可能な変更を通じてコードベースを目標に近づける制御ループを設計し、合意した設計をスケジュールされたワークフローとして作れるよう支援します。
improve-claude-md
5.5kエージェントが、CLAUDE.mdファイルを、条件付きのブロックで書き直せるよう支援します。重要な指示は該当するときに守られ、それ以外は邪魔にならないようにします。
rpi
5.5kエージェントが、変更について調べ、その設計を検討し、明確な段階に分けて実装する作業を、段階ごとにレビューできる文書とともに進められるよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。