antfu-issue-triage
O que ela faz
Esta skill faz sua IA revisar as issues e os pull requests abertos de um projeto no GitHub e sugerir o que fazer com cada um. É para mantenedores que querem uma lista de issues organizada sem fazer tudo à mão.
Quando usar
- ✓Quando um projeto tem muitas issues abertas e você quer organizá-las.
- ✓Quando você quer encontrar issues duplicadas, de spam ou já corrigidas.
- ✓Quando você quer rótulos sugeridos e uma lista de ações claras antes de qualquer mudança.
Link da skill
https://github.com/antfu/skills/blob/main/skills/antfu-issue-triage/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Passe pelas issues abertas do meu repositório e me diga quais são duplicadas ou já foram corrigidas.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente lê as issues e os pull requests, procura duplicatas e correções e mostra uma tabela de ações sugeridas. Não muda nada até que você aprove a lista.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Ela fecha issues sozinha?
Não. No início ela só lê e mostra as sugestões em uma tabela para você aprovar.
Ela escreve comentários nas issues?
Só depois que você aprova, e cada comentário diz que foi escrito por um agente.
Precisa de conexão com o GitHub?
Sim. Ela lê as issues do repositório do GitHub atual.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 6,0 mil
- Posição no ranking
- #14436
- Licença
- MIT
- Atualizada em
- 30/10/2026
Comentários
- …
Mais skills deste repositório
antfu-create-pr
6,0 milAjuda seu agente a abrir um pull request claro no GitHub a partir do seu branch, com um resumo simples do que mudou e por quê.
antfu-query
6,0 milPermite que seu agente faça perguntas a você, uma etapa de cada vez, sobre um plano ou ideia, até que vocês compartilhem um entendimento claro e testado.
antfu-simplify
6,0 milAjuda seu agente a reduzir suas mudanças de código à versão menor e correta, removendo as partes que não são necessárias.
antfu
6,0 milEnsina seu agente os hábitos preferidos de Anthony Fu para projetos JavaScript e TypeScript, do layout de arquivos às escolhas de ferramentas.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.