triage
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
- License 许可
- MIT
- 所属仓库
- BetoFrega/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- triage
- description
- Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档AGENT-BRIEF.md1.5 KB
- 参考文档agents/openai.yaml135 B
- 许可证LICENSE1.0 KB
- 参考文档OUT-OF-SCOPE.md2.1 KB
03 SKILL.md 正文
Triage
Resolve tracker workflow, role-label mapping, and external-PR scope through project configuration, including project-scoped external files. If mapping is missing, direct the user to invoke /setup-beto-frega-skills.
Treat configured external PRs as issues with attached code; resolve bare numbers through tracker configuration. Every posted tracker comment or issue starts with:
> *This was generated by AI during triage.*
Report local tracker/.out-of-scope/ edits using local document delivery.
Roles and transitions
Assign exactly one category and state:
- Categories:
bug(broken behavior),enhancement(feature/improvement). - States:
needs-triage(maintainer evaluation),needs-info(reporter input),ready-for-agent(fully specified AFK work),ready-for-human(human implementation),wontfix(no action).
For PRs, ready-for-agent means a brief and agent action on the diff; ready-for-human means ready for human merge.
Normally an unlabeled issue moves to needs-triage and then to another state, and a reporter's reply moves needs-info back to needs-triage. Maintainers may override. Conflicting states require maintainer clarification before anything else; flag unusual transitions and ask before proceeding.
Attention queue
Interpret the maintainer's natural-language request. For discovery, show three buckets oldest first: unlabeled, needs-triage, and needs-info with reporter activity since last triage notes. Include counts and one-line summaries; let the maintainer choose.
Include only configured external PRs in discovery, tagging entries [PR]/[issue]. Explicitly named PRs are triaged regardless of author.
Triage an item
- Read body, comments, labels, author, dates, and PR diff. Parse prior triage notes and reporter replies; present updates without re-asking resolved questions. Explore code using the domain glossary and applicable ADRs. Search for existing behavior by domain concept and report search locations; existing implementation leads to
wontfix. Read.out-of-scope/*.mdfor similar prior rejections. - Recommend category/state with reasons and relevant codebase summary, including existing implementation. Wait for direction.
- Before grilling, verify claims: reproduce bugs from reporter steps; check out PRs and run relevant tests/commands. Report confirmed with code path, failed, or insufficient detail (
needs-info). - If clarification is needed, invoke grilling and domain-modeling. Ask one round at a time; sharpen domain terms and update
CONTEXT.md/ADRs as decisions land. - Apply the outcome:
ready-for-agent: post agent brief.ready-for-human: same brief structure; explain why delegation is unsuitable.needs-info: postTriage Noteswith established facts and specific actionable questions mentioning the reporter. Preserve resolved grilling decisions.wontfix: close with reason. Already implemented: link implementation; leave the rejection KB untouched. Rejected bug: polite explanation. Rejected enhancement: write out-of-scope record, link it in the comment, then close.needs-triage: apply role; partial-progress comment optional.
Direct override
Trust explicit state overrides. Confirm intended role changes/comments/closure, then act; skip grilling. For ready-for-agent without grilling, ask whether the maintainer wants an agent brief.
04 同仓库更多 Skills
writing-for-humans
Load before writing any reader-facing text, including messages, and follow its rules as you write. Also use to rewrite or audit existing prose for plain language, clarity, readability, or actionability.
writing-for-agents
Write agent-facing documents. Use when creating or editing skills, AGENTS.md, or CLAUDE.md.
write-adr
Write, revise, or supersede architecture decision records (ADRs) documenting an architectural choice and its rationale.
wizard
Wizard scripts for human-only provisioning, credential/CI setup, unfamiliar dashboards, migrations, or cutovers; use only for steps the agent cannot perform.
verify
Check whether the current task's claimed outcome is confirmed.
verb-tense
Choose verb tense and mood by when each event happens and how certain it is. Use when writing or reviewing any text, and when a reader asks for a tense review.