pr
できること
このスキルは、変更内容を説明するわかりやすいタイトルと説明を付けて、GitHubで下書きのプルリクエストを開きます。準備が整うまでレビューのラウンドに従います。コードをレビューのために共有する開発者向けです。
使う場面
- ✓自分のブランチのプルリクエストをGitHubで開きたいとき。
- ✓何が変わったかを示すプルリクエストのタイトルと説明がほしいとき。
- ✓マージできる状態になる前に、プルリクエストにレビューのラウンドが必要なとき。
スキルのリンク
https://github.com/windmill-labs/windmill/blob/main/.agents/skills/pr/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ブランチの下書きのプルリクエストを開き、変更の要約とテスト計画を付けてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、mainより後のコミットを確認し、ブランチを送信し、下書きを開いてから、すべての判定がGoになるまでレビューのラウンドを実行します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Pull Request Skill
Create a draft pull request with a clear title and explicit description of changes, then drive it through CI review rounds to ready.
Instructions
- Analyze branch changes: Understand all commits since diverging from main
- Push to remote: Ensure all commits are pushed
- Create draft PR: Always open as draft for review before merging
- Drive review rounds: trigger CI reviews on the draft and only flip to ready once every verdict is a go (see "Review rounds" below)
PR Title Format
Follow conventional commit format for the PR title:
<type>: <description>
Types
feat: New feature or capabilityfix: Bug fixrefactor: Code restructuringdocs: Documentation changeschore: Maintenance tasksperf: Performance improvements
Title Rules
- Keep under 70 characters
- Use lowercase, imperative mood
- No period at the end
- If
*_ee.rsfiles were modified, prefix with[ee]:[ee] <type>: <description>
PR Body Format
The body MUST be explicit about what changed. Structure:
## Summary
<Clear description of what this PR does and why>
## Changes
- <Specific change 1>
- <Specific change 2>
- <Specific change 3>
## Test plan
- [ ] <How to verify change 1>
- [ ] <How to verify change 2>
The harness/tooling that invoked the skill may add its own attribution trailer; the skill itself does not prescribe one.
Screenshots (required for frontend changes)
If git diff main...HEAD --name-only matches ^frontend/, the PR body must include
screenshots of the affected UI. Skip only when there is no visible UI effect (types,
tests, build config) — and say so in the body.
Verify the change in the browser (frontend/AGENTS.md → "Verifying Frontend Changes").
Screenshot each affected page with
mcp__playwright__browser_take_screenshot(save to a file).Host each image and get its Markdown embed by pushing to the public
windmill-labs/agent-screenshots-internalrepo. Pipe base64 through stdin — passing it as-f content=…fails withargument list too longon real images:REPO=windmill-labs/agent-screenshots-internal IMG=screenshot.png # repeat per page DEST="shots/$(git branch --show-current)/$(date +%s)-$(basename "$IMG")" base64 -w0 "$IMG" | jq -Rs --arg m "add $DEST" '{message:$m, content:.}' \ | gh api -X PUT "repos/$REPO/contents/$DEST" --input - >/dev/null echo ""Derive
$DESTfrom the file name (as above) so distinct pages never collide — a fixed name would make same-second uploads reuse one path, and the secondPUTthen 422s (the Contents API needs the existing file'sshato overwrite).Put the printed
lines under a## Screenshotsheading in the PR body.
Requires gh (repo scope), jq, base64 — all in the devShell. The host repo is
public (so the raw URLs render for reviewers without a token) and its history is
permanent — never screenshot pages that show secrets or sensitive values (workspace
variables, resource values, instance settings, OAuth/SMTP config); deleting the file
can't undo an accidental capture. (GitHub's drag-and-drop uploader needs a browser
session and can't be driven from a token.)
If gh can't push to the host repo (e.g. a CI token scoped only to windmill), do
not fail the PR or skip silently — hand the upload to the user, who has push access,
and continue once they confirm it's done.
Execution Steps
Run
git statusto check for uncommitted changesRun
git log main..HEAD --onelineto see all commits in this branchRun
git diff main...HEADto see the full diff against mainReview the diff before creating the PR — run both reviews, do not skip:
local-review— Claude-native branch-diff-reviewer (/local-reviewin Claude Code,$local-reviewin Codex,pi --skill local-review//skill:local-reviewin Pi).local-review-codex— cold Codex pass, the same review CI runs, for an independent perspective the Claude pass misses (/local-review-codexin Claude Code, orbash .agents/skills/local-review-codex/run.sh). If thecodexCLI is missing or older than the version pinned in that skill, note it in your summary and continue — never block the PR on codex being unavailable.
Run both — they catch different things. If eithe
よくある質問
なぜ最初に下書きにするのですか?
下書きなら、プルリクエストを準備完了にする前に、レビュアーが作業を確認できるからです。
説明には何を書きますか?
要約、変更の一覧、チェックボックス付きのテスト計画です。
いつ準備完了になりますか?
すべてのレビューの判定がGoになった後だけです。
詳細
作者による元の説明
Open a draft pull request on GitHub and drive CI review rounds until it is ready. MUST use when you want to create/open a PR.
repo: windmill-labs/windmill
人気
- GitHubのスター
- 18k
- ランキング
- #10626
- ライセンス
- —
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
commit
18kエージェントが、変更されたファイルだけをステージして、短い1行のgitコミットメッセージを、慣例的な形式で書くよう支援します。
agents
18kエージェントが、独自のモデル、システムプロンプト、ツール、メモリを持つ、再利用可能なWindmillのAIエージェントを構築するよう支援します。
cli-commands
18kエージェントが、Windmillのコマンドラインツールを実行して、スクリプト、フロー、アプリ、ジョブの履歴を管理するよう支援します。
datatables
18kエージェントが、バージョン管理されたマイグレーション、取り消しの手順、正しい権限を使って、Windmillのデータテーブルを安全に変更するよう支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。