handle-pr-comments
यह क्या करती है
यह स्किल AI को GitHub pull request की समीक्षा टिप्पणियों से एक-एक करके निपटने में मार्गदर्शन देती है। यह उन डेवलपर के लिए है जिन्हें समीक्षकों की प्रतिक्रिया पर जल्दी जवाब देना है।
कब इस्तेमाल करें
- ✓जब किसी समीक्षक ने आपके pull request पर कई टिप्पणियाँ छोड़ी हैं।
- ✓जब आप कोई भी कोड बदलने से पहले हर टिप्पणी पर फ़ैसला करना चाहते हैं।
- ✓जब फ़िक्स हो जाने के बाद आप समीक्षा थ्रेड बंद करना चाहते हैं।
Skill का लिंक
https://github.com/storybookjs/storybook/blob/next/.agents/skills/handle-pr-comments/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे pull request की अनसुलझी समीक्षा टिप्पणियाँ देखिए, और हर एक को कैसे निपटाऊँ यह मुझसे पूछिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI अनसुलझी टिप्पणियों की सूची बनाता है, हर एक के आसपास का कोड पढ़ता है, और फ़िक्स सुझाता है। आपके चुने विकल्प को लागू करता है, कमिट करने की पेशकश करता है, और थ्रेड को हल हुआ चिह्नित करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Handle PR Comments
Evaluate review comments on the PR (from the current branch, or a PR number/URL if given). For each unresolved comment: summarize the feedback, suggest a resolution, ask the user how to resolve it, apply their choice, commit if needed, and resolve the thread.
Find the PR. Use the given number/URL, else derive it from the current branch (
gh pr view). Stop if no PR exists.Fetch unresolved review threads via the GraphQL
reviewThreadsfield on the pull request — request each thread'sid,isResolved,isOutdated,path,line, and comments. Filter toisResolved == false. (Use GraphQL, not REST: only it exposes threadids and resolution state.)Loop one comment at a time. For each: (a) summarize the feedback + file/line, reading surrounding code; (b) suggest a concrete fix; (c) ask via AskQuestion with options — apply suggested fix / apply a different fix / reply only / skip; (d) apply the choice; (e) if applicable, summarize what was changed and ask whether to commit; (f) resolve the thread via the GraphQL
resolveReviewThreadmutation.Report an overview of what was changed, committed, replied to, skipped, and resolved. Include links.
Notes
- Handle real-user comments before addressing AI agents' (Copilot, CodeRabbit).
- Group duplicate comments; when the same/similar issue is mentioned multiple times, handle them all at once.
- Make a separate commit for each change.
अक्सर पूछे जाने वाले सवाल
क्या यह बिना पूछे हर टिप्पणी ठीक कर देगी?
नहीं। स्किल हर टिप्पणी के लिए आपसे चुनने को कहती है कि फ़िक्स लागू करें, बदलें या छोड़ दें।
AI समीक्षकों की टिप्पणियों के साथ कैसा व्यवहार होता है?
स्किल कहती है कि असली समीक्षकों की टिप्पणियाँ AI समीक्षकों से पहले निपटाएँ।
क्या pull request मौजूद होना ज़रूरी है?
हाँ। यह मौजूदा ब्रांच से या आपके दिए नंबर से pull request खोजती है।
जानकारी
लेखक का मूल विवरण
Triage and resolve GitHub PR review comments one by one, interactively. Use when the user asks to handle, address, respond to, or resolve PR review comments, or mentions reviewer feedback on a pull request.
repo: storybookjs/storybook
लोकप्रियता
- GitHub स्टार
- 91k
- रैंकिंग में स्थान
- #1319
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
principle-encode-lessons-in-structure
91kयह आपके एजेंट को बार-बार होने वाली गलतियों को अपने-आप चलने वाली जाँच में बदलना सिखाती है, जैसे lint नियम या स्क्रिप्ट, वही याद दिलाना दोबारा लिखने के बजाय।
storybook-startup-benchmark
91kयह आपके एजेंट को Storybook के शुरू होने और पहली स्टोरी दिखने में लगने वाला समय मापने में मदद करती है, निष्पक्ष तुलना के लिए दोहराए गए रन के साथ।
storybook-upgrade
91kयह आपके एजेंट को प्रोजेक्ट के सभी Storybook पैकेज चुने गए वर्शन तक अपग्रेड करना दिखाती है, एक बार में एक मेजर वर्शन।
update-pr-description
91kयह आपके एजेंट को जाँचने में मदद करती है कि pull request का शीर्षक और विवरण अभी भी कोड बदलावों से मेल खाते हैं या नहीं, फिर सटीक अपडेट सुझाते हुए।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।