skills/triage/SKILL.md
Issue state machine — transition GitHub issue labels per docs/agents/triage-labels.md. Batch helpers via lib/triage.sh.
npx skillsauth add roborew/opencode triageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage GitHub issue state: labels for the current repo (or TRIAGE_REPO=owner/name).
docs/agents/triage-labels.md (or spec-synced copy under impl repo).gh authenticated.| From | To | Gate |
|------|-----|------|
| state:needs-triage | state:needs-info | Missing requirements |
| state:needs-triage | state:ready-for-agent | Fully specified AFK work |
| state:needs-triage | state:ready-for-human | Requires human-only work |
| state:needs-info | state:ready-for-agent | Human replied with answers |
| state:ready-for-agent | state:in-progress | Agent/orchestrate picked up |
| state:in-progress | state:ready-for-review | Implementation complete |
| state:ready-for-review | state:done | Sign-off / merge |
| any | state:blocked | Dependency or env blocker |
| any | state:wontfix | Explicit cancel |
state:needs-info → state:ready-for-agent without explicit human reply in the thread.state:* label before adding a new one (use lib/triage.sh transition).bash skills/triage/lib/triage.sh list-needs-triage
bash skills/triage/lib/triage.sh transition <num> state:ready-for-agent
Or from OpenCode config checkout:
OC="${OPENCODE_CONFIG:-$HOME/.config/opencode}"
bash "$OC/skills/triage/lib/triage.sh" transition <num> state:ready-for-agent
After batch triage, summarize: issues touched, new states, any left in needs-info awaiting human input.
tools
AI-powered code review using CodeRabbit CLI. Use only on explicit user request or when parent passes execution_mode orchestrate_coderabbit_gate. Do not run during orchestrated stage/issue work.
tools
Cross-repo companion to to-prd: after PRD frontmatter is filled, run bin/fanout <slug> from this spec repo to create child GitHub issues (one per ticket or legacy slice).
documentation
Synthesise a PRD from grill-me / research context, write docs/prd/<slug>.md, publish a GitHub issue with prd + state:ready-for-agent + feature:<slug>. Halt after publish — do not invoke fanout.
development
Install OpenCode templates into one implementation repo path; optional legacy .plan/docs archive moves. Invoked only from setup-project via architect.