pr
Fungsinya
Skill ini membuka pull request draf di GitHub dengan judul yang jelas dan deskripsi perubahan, lalu mengikuti putaran tinjauan sampai siap. Skill ini untuk pengembang yang membagikan kode untuk ditinjau.
Kapan dipakai
- โSaat Anda ingin membuka pull request untuk cabang Anda di GitHub.
- โSaat Anda ingin judul dan deskripsi pull request yang mencantumkan apa yang berubah.
- โSaat pull request Anda membutuhkan putaran tinjauan sebelum siap digabung.
Link skill
https://github.com/windmill-labs/windmill/blob/main/.agents/skills/pr/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โBuka pull request draf untuk cabang saya dengan ringkasan perubahan dan rencana pengujian.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill memeriksa commit sejak main, mendorong cabang, membuka draf, lalu menjalankan putaran tinjauan sampai setiap vonis berupa lolos.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Mengapa dibuka sebagai draf dulu?
Draf memungkinkan reviewer melihat pekerjaan sebelum pull request ditandai siap digabung.
Apa yang masuk ke deskripsi?
Ringkasan, daftar perubahan, dan rencana pengujian dengan kotak centang.
Kapan pull request menjadi siap?
Hanya setelah setiap vonis tinjauan berupa lolos.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 18k
- Peringkat
- #10626
- Lisensi
- โ
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
commit
18kMembantu agent Anda menulis pesan commit git satu baris yang rapi dengan format konvensional, dan hanya menambahkan file yang berubah.
agents
18kMembantu agent Anda membangun agent AI Windmill yang bisa dipakai ulang, dengan model, prompt sistem, alat, dan memorinya sendiri.
cli-commands
18kMembantu agent Anda menjalankan alat baris perintah Windmill wmill untuk mengelola skrip, flow, aplikasi, dan riwayat job.
datatables
18kMembantu agent Anda mengubah data table Windmill dengan aman, memakai migrasi berversi, langkah pembatalan, dan izin yang benar.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.