From harlan-claude-code
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-claude-code --plugin harlan-claude-codeThis skill uses the workspace's default tool permissions.
Triage all open issues and rank by difficulty/impact.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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 agents. If <=10 issues, use a single agent.
See references/heuristics.md for the full difficulty/impact scales and signal weighting.
# Spawn Task agents IN PARALLEL (single message, multiple tool calls)
Task(model: haiku, prompt: "Analyze these issues: [JSON]. Return JSON array with: number, difficulty (1-5), impact (1-5), hasRepro (bool), needsCodebaseReview (bool), notes")
Merge results from all agents into unified list
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+)
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.