pr
यह क्या करती है
यह स्किल GitHub पर बदलावों के विवरण और साफ़ शीर्षक के साथ ड्राफ़्ट pull request खोलती है, और तैयार होने तक समीक्षा दौरों का पालन करती है। यह कोड समीक्षा के लिए साझा करने वाले डेवलपरों के लिए है।
कब इस्तेमाल करें
- ✓जब आप अपनी branch के लिए GitHub पर pull request खोलना चाहते हों।
- ✓जब आपको pull request का शीर्षक और विवरण चाहिए जिसमें बदलावों की सूची हो।
- ✓जब आपके pull request को merge से पहले समीक्षा दौर चाहिए।
Skill का लिंक
https://github.com/windmill-labs/windmill/blob/main/.agents/skills/pr/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी branch के लिए बदलावों के सारांश और टेस्ट योजना के साथ एक ड्राफ़्ट pull request खोलिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल main के बाद के commits जाँचती है, branch push करती है, ड्राफ़्ट खोलती है, और फिर हर फ़ैसला "आगे बढ़ो" होने तक समीक्षा दौर चलाती है।
तकनीकी सामग्री (मूल 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
अक्सर पूछे जाने वाले सवाल
पहले ड्राफ़्ट क्यों खोला जाता है?
ड्राफ़्ट से समीक्षक pull request को merge के लिए तैयार चिह्नित होने से पहले काम देख सकते हैं।
विवरण में क्या जाता है?
सारांश, बदलावों की सूची और checkboxes वाली टेस्ट योजना।
pull request कब तैयार होता है?
केवल तब जब हर समीक्षा फ़ैसला "आगे बढ़ो" हो।
जानकारी
लेखक का मूल विवरण
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
- लाइसेंस
- —
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
commit
18kयह आपके एजेंट को conventional फ़ॉर्मेट में एक साफ़ एक-पंक्ति git commit संदेश लिखने में मदद करती है, केवल बदली हुई फ़ाइलें stage करते हुए।
agents
18kयह आपके एजेंट को Windmill में एक दोबारा इस्तेमाल होने वाला AI एजेंट बनाने में मदद करती है, जिसका अपना मॉडल, सिस्टम प्रॉम्प्ट, टूल्स और मेमोरी हो।
cli-commands
18kयह आपके एजेंट को Windmill कमांड-लाइन टूल चलाने में मदद करती है, ताकि scripts, flows, apps और job इतिहास संभाला जा सके।
datatables
18kयह आपके एजेंट को versioned migrations, undo चरणों और सही permissions के साथ Windmill की data table को सुरक्षित रूप से बदलने में मदद करती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।