Use this skill for the triage_issue route.
Steps
- Read the active SpecRail contract:
AGENTS.md,AGENT_USAGE.md,workflow.yaml,states.yaml, andlabels.yaml. - Search existing issues, PRs, specs, and templates before creating or recommending new workflow artifacts.
- Identify the current state:
new_issue,needs_info,triaged,duplicate,security_private, or another configured state. - Run the local gate when available:
python3 checks/github_issue_evidence.py --github-repo <owner/repo> --issue <issue-number> --json > issue-evidence.json
python3 checks/route_gate.py --repo . --route triage_issue --issue <issue-number> --evidence issue-evidence.json --json
python3 checks/route_gate.py --repo . --route triage_issue --issue <issue-number> --state <state> --json
- Treat
checks/github_issue_evidence.pyas a read-only collector. It may gather labels and state hints, but it must not write labels or comments. - Produce or update the triage result expected by the repository, usually
artifacts/triage/issue-<issue-number>.json. - Propose labels only when evidence supports them. Keep label IDs and state IDs in English.
- If the issue may involve private security details, stop public drafting and hand off to the maintainer security process.
Boundaries
- Do not close disputed issues.
- Do not grant readiness, final approval, merge, or security-disclosure authority.
- Do not invent missing fields; report missing evidence as missing evidence.
- Keep human-facing triage text in the selected locale.