/harlan-agent-kit:issue-triagefrom harlan-agent-kit
Prioritizes open GitHub issues by impact and difficulty for backlog review, quick wins, or deciding what to work on next. Handles rate limits, stale issues, and duplicate detection.
Ships in harlan-agent-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Triage all open issues and rank by difficulty/impact.
Triage stays read only and may use the primary checkout.
Before follow-on implementation, read and follow the worktree isolation contract.
Keep mutation in a task-owned wt worktree with a live claim. Keep the primary checkout read only.
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 Split issues into batches of 10. This Skill permits read-only classification and verification delegation. Use the active provider's available agent tools and configured model policy. Do not require a specific model or orchestration tool. Bound parallel work by available slots. If delegation is unavailable, process the batches sequentially in this Agent.
For 50+ issues, classify and verify each batch before combining results. Keep the same schema and verification stages in both parallel and sequential execution.
See references/heuristics.md for the full difficulty/impact scales and signal weighting.
Each agent returns a JSON array. Every entry has this shape. Reject and rerun malformed batches.
{ "number": 123, "difficulty": 2, "impact": 4, "hasRepro": true, "needsCodebaseReview": false, "notes": "Short reason." }
Merge results from all agents into unified list.
Adversarially verify the candidate quick wins. Verify every issue scored difficulty 1-2 AND impact 3+ before presenting. Use a separate read-only verifier when available. Otherwise run a separate refutation pass in this Agent. Ask it to refute the score: "Read issue #N. Does hidden scope invalidate this difficulty or impact score? Check migration, public API, and shared state. Downgrade uncertain scores." Demote any issue the verifier refutes. Skip this pass only when no issue clears the quick-win bar.
Plan the report for the reader's predicted attention. Lead with the decisions that matter most. Keep the complete triage evidence. If the full table would overwhelm the handoff, save a dated report and link that file. Use the user's report directory. If none is supplied, use the plugin data directory. Include every issue's scores, notes, blockers, and uncertainty in that report. Show the strongest candidates in the handoff. If the report cannot be saved, include the full table inline. Preserve consequential blockers and uncertainty in the short view. Sort the table 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), impact 2+; those scored impact 3+ have survived the refutation pass
Highlight high priorities -- impact 4-5 regardless of difficulty
Offer task setup for implementation -- every selected issue uses a task-owned wt worktree. Prompt user with options:
For each selected issue, create an isolated worktree using wt:
wt switch --create fix/<number>-<slug> --base <base>
Where <slug> is a kebab-case short title (first 4-5 words).
After creation, run wt list --format=json. Give each agent the selected worktree's absolute path.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
35 skills in this plugin
/adversarial-reviewReview one pull request adversarially, hand permitted defects to Repair, verify the remote head, and publish the Harlan Agent Kit bot status. Use for rigorous pre-merge PR review./agent-feedbackImprove one Agent skill from explicit Review feedback. Use only for the agent-feedback Routine./agent-retroWeekly retro of Harlan GitHub Agent sessions. Group transcripts by goal, find repeated and wasted work, and rank fixes to the controller, prompts, skills, or model. Use for agent retro, session review, agent efficiency, or self-improvement runs.npx claudepluginhub harlan-zw/harlan-agent-kit --plugin harlan-agent-kitOther plugins' skills for the same job