antfu-issue-triage
Fungsinya
Skill ini meminta AI Anda meninjau isu dan pull request yang terbuka dalam proyek GitHub, lalu menyarankan tindakan untuk masing-masing. Skill ini untuk pengelola proyek yang menginginkan daftar isu yang rapi tanpa mengerjakannya secara manual.
Kapan dipakai
- βSaat sebuah proyek memiliki banyak isu terbuka dan Anda ingin semuanya dirapikan.
- βSaat Anda ingin menemukan isu yang duplikat, spam, atau sudah diperbaiki.
- βSaat Anda ingin label yang disarankan dan daftar tindakan yang jelas sebelum ada perubahan.
Link skill
https://github.com/antfu/skills/blob/main/skills/antfu-issue-triage/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
βTinjau isu yang terbuka di repo saya dan beri tahu mana yang duplikat atau sudah diperbaiki.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membaca isu dan pull request, mencari duplikat dan perbaikan, lalu menampilkan tabel tindakan yang disarankan. Agent tidak mengubah apa pun sampai Anda menyetujui daftarnya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah skill akan menutup isu sendiri?
Tidak. Skill hanya membaca di awal dan menampilkan sarannya dalam tabel untuk Anda setujui.
Apakah skill menulis komentar pada isu?
Hanya setelah Anda menyetujuinya, dan setiap komentar menyatakan bahwa ditulis oleh agent.
Apakah perlu koneksi GitHub?
Ya. Skill membaca isu dari repositori GitHub yang sedang aktif.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 6.0k
- Peringkat
- #14436
- Lisensi
- MIT
- Diperbarui
- 30/10/2026
Komentar
- β¦
Skill lain dari repositori ini
antfu-create-pr
6.0kMembantu agent Anda membuka pull request GitHub yang jelas dari cabang Anda, dengan ringkasan sederhana tentang apa yang berubah dan mengapa.
antfu-query
6.0kMembantu agent Anda bertanya kepada Anda satu per satu tentang sebuah rencana atau ide, hingga keduanya sepakat pada pemahaman yang jelas.
antfu-simplify
6.0kMembantu agent Anda memangkas perubahan kode menjadi versi terkecil yang tetap benar, dengan membuang bagian yang tidak diperlukan.
antfu
6.0kMengajarkan agent Anda kebiasaan yang disukai Anthony Fu untuk proyek JavaScript dan TypeScript, dari tata letak file hingga pilihan alat.
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.