본문으로 건너뛰기
Skillpedia
일반 코딩6.0k · #14436

antfu-issue-triage

하는 일

이 스킬은 AI가 GitHub 프로젝트의 열린 이슈와 풀 리퀘스트를 검토하고, 각각에 대해 무엇을 할지 제안하도록 합니다. 모든 것을 손으로 하지 않고 깔끔한 이슈 목록을 원하는 관리자를 위한 것입니다.

사용하는 경우

  • ✓프로젝트에 열린 이슈가 많아서 정리가 필요할 때.
  • ✓중복, 스팸, 이미 해결된 이슈를 찾고 싶을 때.
  • ✓무엇이든 바뀌기 전에 추천 라벨과 명확한 실행 목록을 보고 싶을 때.

스킬 링크

https://github.com/antfu/skills/blob/main/skills/antfu-issue-triage/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/antfu/skills/blob/main/skills/antfu-issue-triage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 저장소의 열린 이슈를 살펴보고, 중복이거나 이미 해결된 이슈를 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 이슈와 풀 리퀘스트를 읽고 중복과 수정 사항을 찾으며, 추천 작업을 표로 보여 줍니다. 목록을 승인하기 전까지는 아무것도 바꾸지 않습니다.

기술 내용 (원본 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 api GET, 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-english skill 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

  1. 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
    
  2. Learn the labels. Read every label name and description. Only apply labels that exist. New labels (including spam if 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.
  3. 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.
  4. 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 fruit label 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 / Low for the repo's size and show the raw numbers. Recent activity on an old item means it is still wanted.
  5. Present the plan as the tables below, Stop to ask for confirmation. Run no write command in this turn.
  6. 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
자주 묻는 질문

이슈를 알아서 닫나요?

아니요. 처음에는 읽기만 하고, 제안을 표로 보여 주어 승인을 받습니다.

이슈에 댓글을 쓰나요?

승인한 뒤에만 쓰며, 각 댓글에는 에이전트가 작성했다는 표시가 붙습니다.

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
업데이트
2026. 10. 30.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬