/dev-agents:triage-and-solve [--limit N] [--label filter]from dev-agents
Triage open GitHub issues by priority labels (P0-P4) and category labels, analyze blocked-by/sub-issue relations, group compatible issues into a single PR sized by change volume, then solve the highest-priority group.
Ships in dev-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Triage open GitHub issues by priority and relations, group dependent and compatible ones into a single PR whose diff stays reviewable, then solve the highest-priority group via /dev-agents:solve-issue.
1. Fetch unassigned open issues
Run: gh issue list --state open --limit 100 --search "no:assignee" --json number,title,body,labels,milestone,assignees
Only unassigned issues are eligible for triage. The no:assignee search filter excludes assigned issues at the source; as a safety check, skip any result where assignees is non-empty.
2. Sort by priority
Assign each issue its own priority score in two tiers; step 3 refines it into the effective score used for selection.
Tier 1 — explicit P0-P4 labels (authoritative). Check whether the project uses P-labels: any fetched issue carrying a P0-P4 label means it does. When present, the P-label is the primary metric — score equals the P-number:
| Label | Score |
|---|---|
P0 | 0 |
P1 | 1 |
P2 | 2 |
P3 | 3 |
P4 | 4 |
Every issue with a P-label outranks every issue without one. Within the same P-level, break ties with the Tier 2 table (e.g., a P1 + bug issue goes before a P1 + enhancement issue).
Tier 2 — category labels (fallback). For issues without a P-label, and for projects that do not use P-labels at all:
| Label | Score |
|---|---|
critical | 5 |
high | 6 |
bug / fix | 7 |
enhancement | 8 |
| no priority label | 9 |
research | 10 |
If an issue has multiple labels, use the lowest (highest priority) score within its tier — with one exception: research overrides other category labels.
Research goes to the tail. research issues are real work and must stay in the queue — never drop them — but they always sort to the end, after unlabeled issues. The only thing that moves a research issue up is an explicit P-label (Tier 1 wins: the project stated its priority).
3. Load issue relations
For each issue, read its GitHub relations — these are authoritative:
gh api repos/{owner}/{repo}/issues/<n>/dependencies/blocked_by --jq '[.[] | {number, state, repo: .repository_url, assignees: [.assignees[].login]}]'
gh api repos/{owner}/{repo}/issues/<n>/dependencies/blocking --jq '[.[] | {number, state}]'
gh api repos/{owner}/{repo}/issues/<n>/sub_issues --jq '[.[] | {number, state}]'
gh api repos/{owner}/{repo}/issues/<n>/parent --jq '.number' # 404 = no parent
Then fetch full details including comments: gh issue view <number> --json number,title,body,labels,comments. Analyze the body and all comments — comments often carry root cause analysis, reproduction details, or scope changes, and may reveal that the issue is broader or narrower than its title or overlaps another issue. Collect text references ("depends on #N", "blocked by #N", "part of #N", "after #N lands"); any that has no matching relation is a missing relation, created in step 7.
Build the dependency graph and classify every blocker:
| Blocker state | Effect on the blocked issue |
|---|---|
| closed | satisfied — ignore the edge |
| open, unassigned, in this repository | prerequisite — must land in the same group or an earlier one |
| open, assigned, or in another repository | external — the blocked issue and everything depending on it sit out this pass |
A dependency cycle is a triage defect: report it and leave its issues out of selection.
Effective score. Priority propagates along relations, iterated until stable:
P0 blocked by a P3 makes the P3 next4. Detect project subsystems
Discover subsystems dynamically from the project structure:
Cargo.toml at the workspace root and take the [workspace] members list — each member is a subsystempnpm-workspace.yaml or the workspaces field of package.json — each package is a subsystem*.project.json) or Wally/pesde package is a subsystem; inside one Roblox place, the top-level src/ folders (server, client, shared) areThis provides the subsystem list for grouping without hardcoding project-specific names.
5. Estimate change volume
Group size is bounded by how much the PR changes the current codebase, not by an issue count: the diff must stay small enough to review in one sitting and verify with one test pass.
For each candidate, locate the code it changes in the working tree — Grep/Glob for the paths, symbols, error messages, and config keys named in the body and comments — and estimate:
Map the estimate to a size class:
| Class | Points | Typical shape |
|---|---|---|
| S | 1 | up to ~50 lines in 1–2 files of one module |
| M | 2 | up to ~200 lines in a few files of one subsystem |
| L | 4 | up to ~500 lines, or an interface change rippling through its call sites |
| XL | — | beyond L, or 3+ subsystems — always a group of its own; propose splitting it into sub-issues |
Raise the class by one when the change rewrites most of an existing module: reviewing it means re-reading the whole module. An issue whose scope cannot be located in the code is at least M.
Review budget per group: 4 points across at most two cohesive subsystems. Estimate the group by the union of its changes — issues editing the same files share review effort, so overlapping issues cost less together than apart.
6. Select the highest-priority group
Parallel tracks speed up implementation, not review: the budget covers the whole PR.
When the group closes the last open sub-issues of a parent, the parent closes with it — list it after the group's issues; solve-issue treats it as a tracking parent and does not implement it separately.
Print a summary table:
Group candidates (sorted by effective score):
P0 #42 agent loop drops tool results M blocked by #57 [LEAD]
P3->P0 #57 split ToolResult enum S blocks #42 [PREREQUISITE]
P2 #38 memory compaction edge case M blocked by #91 (assigned) [WAITING]
P2 #64 reject empty --config path S [FILL]
8 #55 enhance skill matching M [next group]
10 #61 research runtime alternatives S [tail of queue]
Selected group (solve order): #57, #42, #64 — S + M + S = 4 points, subsystems: core, cli
Rationale: #57 blocks the P0 #42 and both edit core/src/tools.rs; #64 fits the remaining budget and shares no file with them
Tracks: [#57, #42] core/src/tools.rs, core/src/agent.rs | [#64] cli/src/args.rs
Missing relations to create: #42 blocked by #57 (stated in a comment only)
Remaining chain: none
When a mandatory prerequisite pushes the group over budget, say so and show where the chain was cut under Remaining chain.
7. Confirm before proceeding
Display the selected group, its solve order, the tracks, the estimate, and the missing relations, then ask with the AskUserQuestion tool — one call, the recommended option first:
AskUserQuestion(questions: [
{header: "Group", question: "Solve #57, #42 | #64 in one PR?", multiSelect: false, options: [
{label: "Solve group (Recommended)", description: "Tracks [#57, #42] and [#64], 4 points"},
{label: "Leader chain only", description: "#57, #42 — drop the fill issues"},
{label: "Next group", description: "Skip this group and show the next candidate"},
{label: "Cancel", description: "Stop without solving anything"}]},
{header: "Relations", question: "Create the missing relations on GitHub?", multiSelect: false, options: [
{label: "Create all (Recommended)", description: "#42 blocked by #57"},
{label: "Skip", description: "Leave them as text references"}]}
])
Drop Leader chain only when the group has no fill issues, and the Relations question when nothing is missing. The automatic Other answer takes different issue numbers: use those instead, keep the topological order, rebuild the tracks, and warn when the new set drops a prerequisite or blows the budget. Next group repeats steps 6–7 with the selected issues excluded. Where AskUserQuestion is unavailable (headless runs), ask the same questions in text and wait for the answer.
When the answer is Create all, create the missing relations as real GitHub relationships — the API takes the database id, not the issue number:
id=$(gh api repos/{owner}/{repo}/issues/<blocker> --jq .id)
gh api -X POST repos/{owner}/{repo}/issues/<blocked>/dependencies/blocked_by -F issue_id="$id"
id=$(gh api repos/{owner}/{repo}/issues/<child> --jq .id)
gh api -X POST repos/{owner}/{repo}/issues/<parent>/sub_issues -F sub_issue_id="$id"
8. Launch /solve-issue
Invoke the /dev-agents:solve-issue skill with the group's issue numbers: commas separate issues of one track in solve order, semicolons separate tracks, tracking parents go last in the track of their sub-issues. solve-issue passes every issue and track to team-develop for one PR.
Example: for tracks [#57, #42] and [#64], run /dev-agents:solve-issue 57,42;64
wontfix or duplicate labels are skipped entirelyresearch issues are never skipped — they stay in the queue, just at the tail; once no higher-priority work remains, they get solved like any other issueWhat SKILL.md sets; muted values are Claude Code's defaults
'triage issues', 'what should I work on', 'pick next issue', 'prioritize issues'.
Three short reads, in order
npx claudepluginhub bug-ops/claude-plugins --plugin dev-agents21 skills in this plugin
/agent-handoffHandoff protocol for the dev-agents multi-agent system. Subagents communicate via Markdown+frontmatter files in .local/handoff/. ALWAYS read on agent startup./arch-inspectArchitecture and code quality audit protocol for Rust, TypeScript, and Luau/Lua projects. Activates expert knowledge across type safety, modularity, testability, readability, DRY, async concurrency, error-handling design, API stability, observability, and lint/manifest hygiene, with language checklists from the stack profile. Called by arch-analyst at startup via Skill(...); invoked directly as /arch-inspect [focus] it delegates the audit to a background arch-analyst./continuous-improvementOrchestrate a continuous improvement cycle: spawn live-tester for live testing, researcher for dependency monitoring and research, arch-analyst for code quality and architecture review, and security-analyst for vulnerability scanning. Read-only; aggregates findings into a cycle journal. Runs as an agent team when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, otherwise (including headless `claude -p`, /loop, /schedule) as background subagents./fast-yamlValidate, format, and convert YAML/JSON files using the fast-yaml (fy) tool. Supports bidirectional YAML/JSON conversion and the YAML 1.2.2 spec with parallel processing for batch operations./init-projectInitialize a Rust, TypeScript, Luau/Lua, or polyglot project for the dev-agents plugin: scaffold .local/ working directories, .claude/rules/ project rules, testing knowledge base, a project verify skill, and .gitignore entries. Run once when starting a new project./live-testingLive testing protocol for Rust, TypeScript, and Luau/Lua projects: sync, discover project structure, execute the built binary, CLI, server, or web app end-to-end, detect anomalies, track coverage, file bug issues. Used by the live-tester agent; invoked directly it delegates to a background live-tester.Other plugins' skills for the same job