antfu-issue-triage
यह क्या करती है
यह स्किल आपके AI को GitHub प्रोजेक्ट के खुले इश्यू और pull request की समीक्षा करने देती है और हर एक पर क्या करना है, इसका सुझाव देती है। यह मेंटेनरों के लिए है जो बिना सब कुछ हाथ से किए साफ़ इश्यू सूची चाहते हैं।
कब इस्तेमाल करें
- ✓जब किसी प्रोजेक्ट में बहुत सारे खुले इश्यू हैं और आप उन्हें छाँटना चाहते हैं।
- ✓जब आप डुप्लिकेट, स्पैम या पहले से ठीक हो चुके इश्यू ढूँढना चाहते हैं।
- ✓जब आप कुछ बदलने से पहले सुझाए गए लेबल और कार्रवाई की सूची चाहते हैं।
Skill का लिंक
https://github.com/antfu/skills/blob/main/skills/antfu-issue-triage/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे रेपो के खुले इश्यू देखिए और बताइए कि कौन से डुप्लिकेट हैं या पहले से ठीक हो चुके हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट इश्यू और pull request पढ़ता है, डुप्लिकेट और सुधार खोजता है, और सुझाई गई कार्रवाइयों की एक तालिका दिखाता है। आपकी मंज़ूरी से पहले वह कुछ नहीं बदलता।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Issue Triage
Go through the open issues and PRs of the current repo (gh repo view --json nameWithOwner) and propose clean-up actions. Maintainers decide; the agent investigates.
Hard Rules
- Read-only until confirmed. Never comment, label, close, or edit before the user approves the action tables. Reads (
gh issue view,gh apiGET,gh search) are fine. - Every comment says it is automated by an agent. End with a separate last line (blank line before it):
🤖 *Automated by an agent.* - Comments are short and plain. Write them in simple English (use the
simple-englishskill if available): 1-3 short sentences, active voice, no jargon, no filler. Write each comment fresh for the item. Do not reuse a fixed template. Always include the link (PR, commit, release, or canonical issue) that justifies the action. - Only apply approved rows. If the user edits or drops rows, follow their edits exactly.
- Be conservative: when unsure, propose
keep open(with labels if useful) instead of closing. Do not close items with active maintainer discussion, an open linked PR, or a milestone unless the user asks. - Use plain hyphens; no em or en dashes.
Workflow
- Scope. Confirm the repo and range (default: all open items; for large repos ask for a limit, label, or age filter). Fetch in bulk:
gh issue list --state open --limit 200 --json number,title,body,author,labels,createdAt,updatedAt,comments,reactionGroups,url,milestone gh pr list --state open --limit 200 --json number,title,body,author,labels,isDraft,reviewDecision,closingIssuesReferences,url,reactionGroups gh label list --limit 200 --json name,description - Learn the labels. Read every label name and description. Only apply labels that exist. New labels (including
spamif missing) go in the Labels table and are created only after approval. Check how maintainers labeled similar items (gh issue list --state all --label <l>). Compare the repo's labels with the Recommended Labels section below and note useful ones that are missing. - Map references. Collect cross-references from bodies, comments, and the timeline (
gh api repos/{owner}/{repo}/issues/{n}/timeline --paginate):#123, URLs,closes/fixes, linked PRs, cross-repo links. Treat linked items as one cluster. Do not close an issue whose fix PR is still open. Do not mark linked items as duplicates of each other. - Check each item:
- Already fixed/implemented. Search merged PRs and commits (
gh pr list --state merged --search "<keywords>",git log -i --grep), changelog, docs, and current code. Find the first release with the fix (git tag --contains <sha> --sort=version:refname | head -1). Verify in the code, not just the title. A partial fix is not fixed: keep it open. - Duplicate. Group by symptom or request, not wording. Search open and closed issues with distinctive text (
gh issue list --state all --search "<text>"). Pick one canonical item: linked PR > maintainer response > best repro > most reactions > oldest. Close the others into it. - Spam. Needs two or more strong signals: promo/SEO/crypto links, off-topic text, repeated identical posts, empty body with a link, bulk activity from a new account. Typos, terse text, wrong template, or non-English are not spam.
- Labels. Suggest existing labels for unlabeled or mislabeled items.
- Low hanging fruit. Items a maintainer can finish fast: PRs that are approved or ready with passing CI, small PRs with a clear change, typo or docs fixes, bugs with a clear repro and an obvious small fix, and requests that are small and well defined. Say why each is quick, and propose the
low hanging fruitlabel for it. Skip items that are blocked, unclear, or large. - Demand. Count positive reactions (👍 ❤️ 🎉 🚀), negative ones, distinct commenters, "+1" comments, and folded-in duplicates. Rate
High / Medium / Lowfor the repo's size and show the raw numbers. Recent activity on an old item means it is still wanted.
- Already fixed/implemented. Search merged PRs and commits (
- Present the plan as the tables below, Stop to ask for confirmation. Run no write command in this turn.
- Execute approved rows only, one at a time: comment, then label, then close. Stop on the first API error and report it. End with a done/failed table with links.
- Run one issue per command (comment, label, and close for that issue chained with
&&). Do not batch many issues in one script or loop: bulk write commands can b
- Run one issue per command (comment, label, and close for that issue chained with
अक्सर पूछे जाने वाले सवाल
क्या यह अपने-आप इश्यू बंद कर देगी?
नहीं। यह शुरू में केवल पढ़ती है और सुझाव तालिका में दिखाती है, ताकि आप मंज़ूरी दें।
क्या यह इश्यू पर टिप्पणियाँ लिखेगी?
केवल आपकी मंज़ूरी के बाद, और हर टिप्पणी में लिखा होता है कि उसे एजेंट ने लिखा है।
क्या इसके लिए GitHub कनेक्शन चाहिए?
हाँ, यह मौजूदा GitHub रिपॉज़िटरी से इश्यू पढ़ती है।
जानकारी
लेखक का मूल विवरण
Triage open issues and PRs of the current GitHub repo - find already-fixed, duplicate, and spam items, suggest labels, gauge demand from reactions and comments, then present a table of proposed actions and comments for confirmation before touching anything. Use when asked to triage, organize, clean up, or groom issues and PRs.
repo: antfu/skills
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14436
- लाइसेंस
- MIT
- अपडेट की गई
- 30/10/2026
कमेंट
- …
इस repository की और skills
antfu-create-pr
6.0kआपके एजेंट को आपकी ब्रांच से GitHub पर साफ़ pull request खोलने में मदद करती है, जिसमें बदला गया और कारण का सरल सारांश होता है।
antfu-query
6.0kआपके एजेंट को किसी योजना या विचार पर एक-एक करके सवाल पूछने देती है, जब तक आप दोनों एक स्पष्ट और परखी हुई समझ पर न पहुँच जाएँ।
antfu-simplify
6.0kआपके एजेंट को आपके कोड बदलावों को सबसे छोटे सही रूप में घटाने में मदद करती है, जिसमें जो ज़रूरी नहीं है उसे हटाया जाता है।
antfu
6.0kआपके एजेंट को JavaScript और TypeScript प्रोजेक्ट के लिए Anthony Fu की पसंदीदा आदतें सिखाती है, फ़ाइल लेआउट से लेकर टूलिंग के चुनाव तक।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।