Help us improve
Share bugs, ideas, or general feedback.
From harlan-agent-kit
Triage open issues by difficulty and impact. Use when user says "review issues", "triage issues", "what should I work on", "prioritize backlog", "rank issues", "find quick wins", or "what's high priority".
npx claudepluginhub harlan-zw/harlan-agent-kit --plugin harlan-agent-kitHow this skill is triggered — by the user, by Claude, or both
Slash command
/harlan-agent-kit:issue-triageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Triage all open issues and rank by difficulty/impact.
Guides technical evaluation of code review feedback: read fully, restate for understanding, verify against codebase, respond with reasoning or pushback before implementing.
Share bugs, ideas, or general feedback.
Triage all open issues and rank by difficulty/impact.
gh issue list with --limit 100+ can hit rate limits on busy repos. If you get a 403, reduce the batch size or add --label filters.gh issue list --json body truncates long bodies. For issues that need deeper analysis, fetch individually: gh issue view NUMBER --json body.Track triage history to show deltas between runs:
# After triage, save results
echo "$(date -I) REPO TOTAL_ISSUES QUICK_WINS HIGH_PRIORITY" >> "${CLAUDE_PLUGIN_DATA}/triage-history.log"
On subsequent runs, read the log and highlight what changed since last triage.
Determine repo and filters
$ARGUMENTS provided, parse it:
nuxt/nuxt)--label <name> = filter by label--limit <n> = override default 100gh repo view --json nameWithOwner -q .nameWithOwnerFetch all open issues
gh issue list --repo <repo> --state open --limit <limit> --json number,title,labels,body,createdAt,author,comments,assignees
Parallel batch analysis (8-10x faster than sequential)
Split issues into batches of 10 and spawn parallel haiku classification agents (one per batch). Classification is cheap, mechanical extraction — haiku is the right tier. If <=10 issues, use a single agent.
For a large backlog (50+ issues), drive this with the Workflow tool: pipeline the batches through a classify stage (schema below) then a verify stage, so the schema is enforced and the verify pass runs per batch as it completes. This skill's instructions are the opt-in.
See references/heuristics.md for the full difficulty/impact scales and signal weighting.
Each agent returns a JSON array conforming exactly to this schema (reject and re-run any batch that returns malformed entries):
{ "number": int, "difficulty": 1-5, "impact": 1-5, "hasRepro": bool, "needsCodebaseReview": bool, "notes": string }
Merge results from all agents into unified list.
Adversarially verify the candidate quick wins. A wrong "difficulty 1, impact 4" recommendation costs the user a wasted worktree, so before presenting, spawn a haiku verifier per issue scored difficulty 1-2 AND impact 3+. Prompt it to refute the score: "Read issue #N. Is this genuinely a <=2-difficulty change with 3+ impact, or is there hidden scope (migration, API surface, cross-cutting state)? Default to downgrading if uncertain." Demote any issue the verifier refutes. Skip this pass for backlogs where no issue clears the quick-win bar.
Display table sorted by: has repro (yes first), then impact/difficulty ratio (descending)
| # | Title | Labels | Repro | Diff | Impact | Assigned | Notes |
|---|---|---|---|---|---|---|---|
| 42 | Fix CSS regression | bug | yes | 1 | 3 | 1-line fix | |
| 17 | Add dark mode | enhancement | n/a | 2 | 4 | @dev | PR in progress |
Highlight quick wins -- low difficulty (1-2), decent impact (2+), survived verification
Highlight high priorities -- impact 4-5 regardless of difficulty
Offer worktree setup -- prompt user with options:
For each selected issue, create an isolated worktree using wt (git worktree manager):
wt switch --create fix/<number>-<slug>
Where <slug> is a kebab-case short title (first 4-5 words). wt switch --create creates a new branch + worktree from current HEAD.
After creation, list worktrees with wt list so user can open them in separate sessions.