Archon triage
install
source · Clone the upstream repo
git clone https://github.com/coleam00/Archon
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/coleam00/Archon "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/triage" ~/.claude/skills/coleam00-archon-triage && rm -rf "$T"
manifest:
.claude/skills/triage/SKILL.mdsource content
Triage GitHub Issues
Triage issues for this repository by applying appropriate labels.
Repository Context
- Current repo: !
gh repo view --json nameWithOwner -q .nameWithOwner 2>/dev/null || echo "unknown" - Open issues: !
gh issue list --state open --json number --jq 'length' 2>/dev/null || echo "?" - Existing labels: !
gh label list --json name -q '.[].name' 2>/dev/null | head -20 || echo "none found"
Scope
Determine which issues to triage based on the arguments: $ARGUMENTS
| Argument | Behavior |
|---|---|
| (empty) | Only unlabeled issues (default) |
| Only issues without any labels |
| All open issues |
| Specific issue (e.g., ) |
| Range of issues inclusive (e.g., ) |
Process
-
Fetch available labels — run
to understand the label taxonomy. Labels are organized into type, effort, priority, and area categories.gh label list --json name,description -
Fetch target issues — based on the scope above. For each issue, fetch the full body:
gh issue view {number} --json number,title,body,labels -
For each issue:
- Read the title and full body carefully
- If needed, explore the codebase (
,Glob
,Grep
) to understand the affected codeRead - Classify: one type, one effort, one priority, one or more areas
- Track relationships with other issues (duplicates, related, blocking)
- Apply labels:
gh issue edit {number} --add-label "type,effort/level,P#,area.domain" - Skip issues that already have complete labeling (type + effort + priority + area)
- For partially labeled issues, only add missing label categories
-
Output a triage summary:
## Triage Summary | Issue | Title | Labels Applied | Reasoning | |-------|-------|----------------|-----------| | #67 | ... | bug, effort/low, P1, core.config | ... | **Totals:** - Issues triaged: X - Already labeled (skipped): Y - By priority: P0(n), P1(n), P2(n), P3(n) ## Relationships Discovered | Issues | Relationship | Notes | |--------|--------------|-------| | #61, #62 | Related | Both involve config/logging UX |
Rules
- Don't hardcode labels — always fetch current labels first, they may change
- Respect existing labels — don't remove labels, only add missing ones
- Check issue body — titles alone aren't enough context
- Use the codebase — if understanding a relationship requires seeing how modules connect, look
- When uncertain, note it — flag ambiguous issues in the summary rather than guessing