agentleFS
89jobrien89jobrien/godmode/skills/issue-triage/SKILL.md

godmode:issue-triage

Skill1 starsChanged 57 days agoMITView on GitHub

Triage and prioritize GitHub issues by type (bug/feature/chore), complexity (S/M/L), and priority (P1-P4). Detect duplicates, propose execution order, and generate task graphs for godmode automation.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After a release to sort incoming bugs and feature requests

    line 20
  2. Distinctive:

    When asked to "triage issues", "prioritize issues", or "what needs doing"

    line 22
  3. Distinctive:

    If mixed (e.g., "fix bug and add test"), classify by primary intent

    line 39
  4. Very specific:

    When converting triage to godmode tasks:

    line 79
  5. Very specific:

    Assign IDs: Use sequential (t1, t2, ...) or issue-number-based (t42, t51, ...).

    line 83
  6. Distinctive:

    Specify crate name: if applicable.

    line 90
  7. Very specific:

    Use a plan plus godmode plan ingest: when tasks need run: metadata.

    line 91
  8. Very specific:

    Auth check: Verify gh auth status before running.

    line 168

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Issue Triage

Systematically analyze open GitHub issues to establish priority, complexity, and task dependencies. Use before sprint planning or when the backlog is unclear.

When to Use

  • At the start of a development cycle to plan work
  • After a release to sort incoming bugs and feature requests
  • To consolidate duplicate issues and establish order
  • When asked to "triage issues", "prioritize issues", or "what needs doing"

Classification Rules

Type Classification

TypeIndicatorsPriority Uplift
BugError, crash, panic, "doesn't work", regression, breakage+1 level
Feature"Add support for", enhancement, new capability, API changenone
ChoreDocs, cleanup, refactoring, dependency bump, test coveragenone

Decision tree:

  1. Is there a problem being reported? → Bug
  2. Is a new capability being requested? → Feature
  3. Is this housekeeping (docs, tests, deps)? → Chore
  4. If mixed (e.g., "fix bug and add test"), classify by primary intent

Complexity Estimation

SizeCharacteristicsExample
SSingle file, obvious fix, no design debateFix typo in README, bump version
MMulti-file, some design, cross-module impactAdd a new CLI flag, refactor one module
LCross-crate, needs plan, requires RFC or design docNew agent system, major API overhaul

Time proxy: S ≈ 1–2 hours, M ≈ 1–2 days, L ≈ 1–2 weeks (before planning).

Priority Framework

PriorityCriteriaAction
P1Blocking (security, outage, data loss, high-rep user)Start next
P2Important (frequent report, significant feature, team blockers)Sprint in
P3Nice-to-have (incremental improvement, niche use case)Backlog
P4Speculative (vague request, "someday", personal preference)Consider later

Application: Assign base priority from table, then apply type uplift (bugs +1 level), then consider user urgency/reputation.

Duplicate Detection Heuristics

Check for:

  • Exact phrase matches in titles or first line of body (e.g., "panic on invalid UTF-8")
  • Component + action pairs (e.g., both mention "parser" + "crash")
  • Error messages (e.g., two issues cite the same stack trace)
  • Feature equivalence (e.g., "add YAML support" vs. "support YAML files")
  • Related issues linked in comments (check body for #<number> refs)

Handling: Flag as related, group in triage output, recommend consolidation to user but do not merge without approval.

Task Graph Generation

When converting triage to godmode tasks:

  1. Map issue → task: Each issue becomes one task (or splits if multi-phase).
  2. Assign IDs: Use sequential (t1, t2, ...) or issue-number-based (t42, t51, ...).
  3. Build deps:
    • P1 blocker → no deps (root)
    • Bug fix → no deps (unblock others)
    • Feature → depend on related bugs or foundational tasks
    • Chore → usually no deps, or after related feature
  4. Specify crate name if applicable.
  5. Use a plan plus godmode plan ingest when tasks need run: metadata.

Example:

# Bug (P1) — no deps
godmode task add "Fix panic on invalid UTF-8 input" \
  --id t1 --crate-name parser

# Related feature — depends on bug fix
godmode task add "Add YAML support" \
  --id t2 --depends-on t1 --crate-name parser

# Independent chore
godmode task add "Update README with examples" \
  --id t3

Integration with godmode Workflow

Pull Issues into Tasks

# Fetch open issues and convert to tasks manually:
gh issue list --repo <owner/repo> --state open \
  --json number,title,labels --limit 50
# Then add each as a task:
godmode task add "<title>" --id t<N> --crate-name <crate>

Note: godmode task pull --github [--repo owner/repo] [--label <label>] imports open GitHub issues as tasks. Or use gh issue list and add tasks individually.

View Task Graph After Triage

godmode task list              # show all tasks
godmode status                 # show ready and runnable
godmode dispatch               # emit parallel chains JSON

Triage Output Format

Produce a table with these columns:

| # | Title | Type | Size | Priority | Group | Order | Notes |
|---|-------|------|------|----------|-------|-------|-------|

Where:

  • #: GitHub issue number
  • Title: Issue title (truncated to ~40 chars)
  • Type: Bug, Feature, or Chore
  • Size: S, M, or L
  • Priority: P1, P2, P3, or P4
  • Group: Component or feature area (e.g., "Parser", "CLI", "Docs")
  • Order: Suggested execution rank (1 = first)
  • Notes: Duplicates, blockers, user reputation, or other context

Example:

| 42  | Panic on UTF-8 input      | Bug     | S | P2 | Encoding    | 1 | User: @alice |
| 51  | Add YAML support          | Feature | M | P3 | Parser      | 3 | Deferred     |
| 63  | Update docs               | Chore   | S | P3 | Docs        | 4 |              |
| 48  | Same as #42 — UTF-8 panic | Bug     | S | P2 | Encoding    | — | Duplicate    |

Guardrails

  • Never close or reassign issues without explicit user approval.
  • Never modify labels without asking first.
  • Duplicate consolidation requires user consent — flag and recommend, but let the user decide.
  • Triage is advisory — user makes final priority calls.
  • Auth check: Verify gh auth status before running; fail gracefully if repo is private or unreachable.
  • Rate limiting: Fetch in batches if >100 issues; cache results if re-running quickly.

Example Workflow

# User: "Triage the issues in my repo"

# Agent runs:
gh issue list --repo <owner/repo> --state open \
  --json number,title,body,labels,createdAt --limit 50

# Agent classifies each (manual inspection of title/body for type/complexity)

# Agent produces triage table

# User asks: "Create tasks for P1 and P2 issues"

# Agent runs:
for each P1/P2 issue:
  godmode task add "<title>" --id t<N> --crate-name <crate>

# User runs:
godmode status          # see new tasks
godmode dispatch        # see parallel chains

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.