Triage GitHub issues and recommend the highest-impact issue to work on next. Builds dependency graphs from issue bodies, detects cycles, and ranks unblocked issues by weighted scoring.
Ships in pm. 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.
None: SKILL.md is the whole skill.
Analyze open GitHub issues, build a dependency graph, and recommend the highest-impact issue to work on next.
1. Fetch & Pre-process → 2. Build Dependency Graph → 3. Detect Cycles
→ 4. Rank Issues → 5. Present Recommendations → 6. Select & Assign
Run the open-issues.sh script from the plugin's scripts/ directory:
# Auto-detect repository from current directory
sh "${CLAUDE_SKILL_DIR}/../../scripts/open-issues.sh"
# Or specify repository explicitly
sh "${CLAUDE_SKILL_DIR}/../../scripts/open-issues.sh" OWNER/REPO
# Include assigned issues in results
sh "${CLAUDE_SKILL_DIR}/../../scripts/open-issues.sh" --include-assigned
Validate the response:
error object — if present, abort with the error message (auth failures, missing tools, repo detection failures are handled by the script)$ISSUES_DATAEdge case — no issues: If .total_open == 0, report "No open issues found" (if --include-assigned was used) or "No unassigned issues found (try --include-assigned to include assigned items)" (default mode) and stop.
Edge case — 100+ issues: If .total_open >= 100, warn: "Results capped at 100 issues. Consider filtering by label or milestone for a broader view."
The JSON output contains pre-computed fields for each issue:
blocked_by, blocks — parsed from issue body patterns (Blocked by:, Blocks:, Depends on:)blockers_resolved — true if all blockers are closed (not in the open issue set)unblocked — true if no open blockers remainage_days — days since issue creationmilestone_due_on — milestone due date (ISO 8601) or nulldependency_graph.edges — [[blocker, blocked], ...] pairs for graph analysisThe script pre-computes blocked_by and blocks arrays per issue, and provides dependency_graph.edges as [[blocker, blocked], ...] pairs.
Build two maps from the pre-computed data:
blockedBy[issue] → Set<issue> — from each issue's .blocked_by arrayblocks[issue] → Set<issue> — from each issue's .blocks arrayBlocker resolution is already handled by the script via blockers_resolved/unblocked; the blocked_by/blocks arrays still list all referenced issues (including closed ones). Use the unblocked flag to determine eligibility.
Edge case — no dependency markers found: If dependency_graph.edges is empty, skip Step 3 (no cycles possible) and omit the "blocks others" dependency weight factor from Step 4 ranking. Rank purely on priority, type, age, and milestone.
Using dependency_graph.edges from Step 1, run DFS traversal on the blockedBy graph to detect cycles.
If cycles found:
If no cycles: Proceed to ranking.
An issue is eligible if:
unblocked == true (all blockers are resolved — pre-computed by the script).assignees is empty), unless --include-assigned was usedScoring formula — Total = Σ (Weight × Score) for each factor:
| Factor | Weight | Score | Notes |
|---|---|---|---|
| Blocks others | 3 | +3 per issue this unblocks | e.g., unblocks 2 → 3 × 6 = 18 |
| Priority label | 2 | P0=8, P1=6, P2=4, P3=2, none=3 | none > P3: unlabeled may be anything; explicitly-low is known-low |
| Type label | 1 | bug=5, security=5, enhancement=3, chore=2, research=1, none=2 | Default none=2 — treat unlabeled same as chore |
| Age | 1 | +1 per 7 days (use age_days from Step 1, max +8) | Caps at 56 days to avoid age dominating |
| Milestone | 1 | +4 / +2 / 0 (see below) | Heuristic below for "current/next" detection |
Milestone heuristic: Compare milestone due_on dates. The milestone with the earliest future (or most recently past) due date is "current"; the next one is "next" — these score +4. All other milestones score +2. Milestones without due_on default to +2. No milestone = 0.
Sort by total score descending. Break ties by issue number (lower = older = first).
Show the top 3-5 issues in a structured table:
## Recommended Next Issues
| Rank | Issue | Title | Score | Key Factor |
|------|-------|-------|-------|------------|
| 1 | #42 | Fix auth token refresh | 24 | Unblocks #43, #44, #45 |
| 2 | #38 | Add rate limiting | 18 | P0-critical, 3 weeks old |
| 3 | #51 | Update CI pipeline | 14 | Blocks #52, in v2.0 milestone |
For each recommendation, show a brief rationale:
Edge case — all issues are assigned: Report that all eligible issues have assignees. Show the top 3 anyway with their current assignees, and ask if the user wants to pick one up regardless.
Edge case — all issues are blocked: Report the blocking chain. Identify the root blockers (issues that block others but aren't blocked themselves) and recommend those first.
Use AskUserQuestion to let the user choose:
Question: "Which issue do you want to work on?"
Options:
- #42: Fix auth token refresh (Score: 24)
- #38: Add rate limiting (Score: 18)
- #51: Update CI pipeline (Score: 14)
- Show more issues
After selection:
gh issue view ISSUE_NUMBER)gh issue edit ISSUE_NUMBER --add-assignee @me
/pm:update periodically to audit stale issues."What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/pm:nextfrom pm
npx claudepluginhub rube-de/cc-skills --plugin pm5 skills in this plugin
/brainstormYou MUST use this skill before /pm when work is ambiguous, scope is unclear, or multiple approaches exist. Explores problem space, proposes 2-3 approaches with trade-offs, and produces an approved spec document that feeds into both issue creation (/pm) and implementation planning (/cdt). Triggers: brainstorm, explore idea, think through, design approach, what should we build, explore options, weigh approaches, compare solutions, needs help deciding between alternatives./pmProject manager for GitHub issues: brainstorm design approaches, create structured issues optimized for LLM agent teams, triage and recommend what to work on next, audit and clean up stale issues, or deep-validate a single issue against the codebase. Triggers: create issue, plan work, new task, project manager, write ticket, draft issue, plan feature, plan project, start project, create ticket, review issue, brainstorm, explore idea, think through, pm./reviewDeep-validate a single GitHub issue against the codebase: cross-reference file paths, detect already-implemented features, check for related PRs, verify dependencies, and deliver a structured verdict with recommended action. Triggers: review issue, validate issue, check issue status, is this issue still needed, issue review./updateAudit open GitHub issues for staleness, orphaned blockers, missing labels, codebase drift, and already-implemented features. Categorizes issues into close-candidates, update-needed, needs-triage, stale, and healthy. Supports bulk and individual remediation via interactive approval. Triggers: audit issues, clean up issues, update stale issues, issue hygiene, backlog cleanup, prune issues.Other plugins' skills for the same job