issue-pr-triage
БесплатноБез исполняемых скриптовНе проверенGitHub issue/PR triage that ends in action: survey open issues and PRs, classify what is solved, in progress, or workable, apply the one-command verdicts…
от ericmjl★ 45 звёзд на GitHubОб этом скилле
Issue & PR triage → one fix
A repeatable triage sweep using the GitHub CLI. Survey is read-only; every run
ends with exactly one item selected, worked to an open PR (new or updated), and
proven with the prove-work-done skill. The run stops there. A human merges
the PR unless a rule in the target repo lets the agent merge (see Repo rules
that grant merge authority).
Usage
Use this skill when the user asks to triage issues or PRs, or asks variants of:
- "Triage issues for me. What's been solved and can be closed? What's still open? What is already being addressed by an open PR?"
- "Pick one issue to work on."
- "Update my open PRs."
Inputs you should accept: repo (default: current checkout's origin), optional
issue/PR numbers, optional label filter, optional --dry-run for survey only.
Requirements
ghauthenticated (gh auth status)- A git checkout of the target repo (for claim verification and fixes)
- Optional:
jq
What it does
Six phases: survey (read-only) → classify → map the core → select one → execute to a PR → prove it. Housekeeping is not a separate output. Every item on the backlog gets a verdict, a verdict that costs one command is applied on the spot, and anything larger competes for the single pick. No run ends with a pending list or an unproven PR.
How it works
Phase 1 — Survey (strictly read-only)
Gather the full picture before judging anything:
# Open issues and PRs
gh issue list --state open --limit 100 --json number,title,labels,updatedAt,author
gh pr list --state open --limit 100 --json number,title,updatedAt,headRefName,statusCheckRollup
# What each open issue is linked to (cross-references, closing PRs)
gh issue view <N> --json closedByPullRequestsReferences,body,comments
# PRs that reference an issue ("Fixes #N" in body)
gh pr list --state open --search "linked:issue"
# Was it already fixed by a recently merged PR or commit?
gh pr list --state merged --search "fixes #<N>" --limit 10
git log --oneline --since="<issue createdAt>" -- <affected paths>
Do not judge an item by its title alone. Read the body, the comments, any logs
or stack traces, and for PRs run gh pr diff <N>.
Phase 2 — Classify
Assign exactly one disposition to each open issue:
| Disposition | Criteria |
|---|---|
solved |
A merged PR or commit fixes it since the report. Verify before claiming. |
in-progress |
An open PR references it (closedByPullRequestsReferences, "Fixes #N"). |
needs-info |
Bug report missing repro steps, versions, or environment. |
duplicate |
An open or closed canonical issue covers it. Verify the similarity. |
workable |
Actionable, unblocked work. This is the candidate pool for Phase 3. |
blocked |
Needs something this run cannot supply: a maintainer decision, an upstream fix, access. Record what it waits on. |
Open PRs get their own classification:
ready— passing CI, no unaddressed review comments → waits for a maintainer to merge; not a candidateneeds-work— failing CI, or unaddressed review comments → workablestale— author gone, no activity, conflicts → comment with an update request and a close-by date
Map dependencies between items. Build a dependency graph of the open pool before ranking anything, grounded in strong reasoning over the codebase — not just issue titles and linked references. These references are hypotheses; the code is the evidence.
Sources, cheapest first, escalating as needed:
- Issue → issue: "blocks", "depends on", "parent of" mentions in bodies
and comments (
gh issue view <N> --json body,comments), plus tracking-issue checklists (- [ ] #123). Hypotheses only. - Issue → PR: PRs that fix an issue (
closedByPullRequestsReferences). - PR → PR: stacked PRs (
gh pr view <N> --json headRefName,body— "based on #X", "requires #X"), shared branch bases, and review chains. - Codebase: for each candidate cluster, study the affected paths
(
git log,rg, reading the modules involved) to verify whether two issues actually trace to the same root cause or the same code path. A "depends on #N" claim the code contradicts is dropped; a code-derived dependency nobody wrote down is added.
The deliverable is a graph you trust: issues sharing a root-cause path in code form a cluster whose root is the prerequisite; explicit references confirm or extend what the code shows. Phase 3 adds conceptual edges to it.
Record for each workable item: what it blocks (its dependents) and what it is
blocked by (its prerequisites, whether open, closed, or external). A dependent
item is not workable until its prerequisites land — classify it as
in-progress or workable accordingly, but remember that finishing its
prerequisite
Установить issue-pr-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл issue-pr-triage?
GitHub issue/PR triage that ends in action: survey open issues and PRs, classify what is solved, in progress, or workable, apply the one-command verdicts (close, label, comment) on the spot, then pick exactly one item, deliver a new PR or an updated PR, and prove it with the prove-work-done skill before the final report. Ranks core and foundational work above surface fixes, and slices a large item across runs instead of skipping it. Stops at the open PR: never merges unless a rule in the target repo lets the agent merge. The final report recaps the picked issue in plain words for a reader who was away. Use when asked to triage, sweep the backlog, find what can be closed, or pick something to work on.
Как установить скилл issue-pr-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл issue-pr-triage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic