github-pr-workflow
यह क्या करती है
यह टूल आपके कोड को दूसरों द्वारा रिव्यू के लिए तैयार करने में मदद करता है। यह सुनिश्चित करता है कि बदलाव साफ़ हों, आसानी से समझ में आएँ, और उम्मीद के मुताबिक काम करें।
कब इस्तेमाल करें
- ✓जब आपने कोड में बदलाव पूरा कर लिया हो और चाहते हों कि कोई उसे रिव्यू करे।
- ✓जब रिव्यूअर कुछ ठीक करने को कहे और आपको फ़िक्स जमा करने हों।
- ✓जब कोड कुछ समय से रिव्यू के लिए लंबित हो और उसे अपडेट करने या ज़्यादा विवरण देने की ज़रूरत हो।
Skill का लिंक
https://github.com/paperclipai/paperclip/blob/master/packages/skills-catalog/catalog/bundled/software-development/github-pr-workflow/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे कोड को रिव्यू के लिए तैयार करो, जिसमें साफ़ सारांश, मैंने उसे कैसे टेस्ट किया, और ज़रूरी विवरण शामिल हों।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल आपके कोड को व्यवस्थित करता है, बदलावों के संदेश साफ़ रखता है, और दिखाने में मदद करता है कि आपने सब कुछ कैसे टेस्ट किया। यह रिव्यूअर की टिप्पणियों का जवाब देने में भी सहायता करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
GitHub Pull Request Workflow
Ship a PR a reviewer can land without follow-up clarifying questions. The aim is high signal in the title and body, evidence the change works, and clean replies when feedback comes in.
When to use
- You are about to open a PR for a change that is functionally complete.
- A reviewer left comments and you need to respond and push fixes.
- A PR has been open more than a day and needs to be brought back into shape (stale conflicts, missing description, missing verification).
When not to use
- The change is not yet functionally complete. Finish the work first; draft PRs that bounce on review are noise.
- The repository uses a non-GitHub forge. Adjust to that forge's conventions; do not force GitHub-isms.
Branch hygiene before opening
- Rebase or merge from the target base so the diff is current.
- Squash WIP commits into reviewable units. Prefer one commit per logical change; do not force one-commit-per-PR if the work is genuinely multi-step.
- Confirm tests, typecheck, and lint pass locally. Note any deliberate skips in the PR body.
- Remove debug prints, commented-out code, and
TODOmarkers that are not tracked.
PR title
- Imperative mood, under 70 characters.
- Lead with the user-visible change, not the file touched.
Allow CSV export from reports tablebeatsUpdate reports.tsx. - If the repo uses an issue prefix convention (
PAP-1234:,[security]), follow it. - No trailing period.
PR body
Use this structure:
## Summary
- 1–3 bullets describing what changed and why.
## Implementation notes
- Anything non-obvious in the diff: trade-offs, dropped alternatives, gotchas.
- Migration or config implications.
## Verification
- The exact commands or steps you ran.
- Screenshots or short clips for UI changes (required if pixels moved).
- Edge cases you exercised by hand.
## Risk and rollback
- What breaks if this is reverted, and how to revert cleanly.
Skip the Risk and rollback section only for clearly trivial PRs (typos, docs).
Verification evidence
- Tests passing in CI is necessary, not sufficient. Reviewers also need to know the change behaves correctly end to end.
- For UI work, include screenshots of the golden path and one edge case. Tag dark and light mode if the project supports both.
- For migrations, include a dry-run plan and reversal steps.
- For performance changes, include a before/after measurement, not adjectives.
Replying to review comments
- Reply on every comment, even with just "fixed in <commit-sha>" — silent fixes leave the reviewer guessing.
- Push fixes as new commits while review is active; do not amend during review unless the reviewer agrees.
- If you disagree with feedback, say so with one sentence of rationale and let the reviewer decide. Don't escalate over comments.
- Re-request review explicitly after pushing changes.
Merge checklist
- All required checks green.
- All review comments resolved.
- PR title/body still accurate (update if scope changed mid-review).
- Linked issue moves to
in_reviewordoneper project convention. - Delete the branch after merge unless it is a long-lived integration branch.
Anti-patterns
- PR description that says "see commits". Reviewers should not need to read the log.
- Mixing refactor and behavior change in the same PR with no separation in the body.
- "Address feedback" commits that bundle unrelated edits. One commit per round of feedback is fine; one commit for everything in flight is not.
- Force-pushing during active review without telling the reviewer.
अक्सर पूछे जाने वाले सवाल
साफ़ टाइटल और विवरण क्यों ज़रूरी हैं?
साफ़ टाइटल और विवरण से रिव्यूअर जल्दी समझ जाता है कि क्या बदला गया, क्यों बदला गया, और उसे कैसे टेस्ट करना है। इससे समय बचता है और भ्रम नहीं होता।
'कमिट' क्या होते हैं और उन्हें व्यवस्थित क्यों करें?
कमिट आपके काम के 'सेव' जैसे होते हैं। उन्हें व्यवस्थित करने का मतलब है छोटे और संबंधित बदलावों को एक 'सेव' में समूहित करना, ताकि कोड का इतिहास साफ़ रहे और समझना आसान हो।
क्या हर बदलाव के लिए स्क्रीनशॉट देना ज़रूरी है?
जिन बदलावों से प्रोग्राम का विज़ुअल रूप बदलता है, उनके लिए स्क्रीनशॉट ख़ास तौर पर ज़रूरी हैं। इनसे दिखता है कि बदलाव व्यवहार में कैसा दिखता है।
जानकारी
लेखक का मूल विवरण
Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.
repo: paperclipai/paperclip
लोकप्रियता
- GitHub स्टार
- 103k
- रैंकिंग में स्थान
- #805
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
delegate-work
103kयह आपके एजेंट को किसी दूसरे एजेंट को काम सौंपने में मदद करता है। जटिल काम को छोटे हिस्सों में बाँटने और प्रगति को व्यवस्थित तरीके से ट्रैक करने में यह उपयोगी है।
follow-up-results
103kयह आपके एजेंट को पहले के काम के नतीजों की जाँच करने देता है। काम की प्रगति ट्रैक करने और इंसान का feedback जोड़ने में यह उपयोगी है।
review-my-team
103kयह आपके एजेंट को जुड़ी हुई team की समीक्षा करने में मदद करता है। team, tasks, रुकावटों (blockers) और लंबित approvals का सारांश पाने में यह उपयोगी है।
paperclip-task-bridge
103kयह आपके एजेंट को किसी दूसरे platform पर tasks बनाने और मैनेज करने देता है। सीधे project management systems के साथ काम करने में यह उपयोगी है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।