.agents/skills/linear-bug-triage/SKILL.md
Use this skill after a bug or regression candidate has measured evidence. This skill owns Linear search, deduplication, evidence comments, and filing new issues once a human says yes; the calling skill owns deciding whether the signal is issue-worthy.
Every write carries a label and is marked as agent-written in the text, and only
three write shapes are permitted at all.
linear-agent-writes is the authority for that
policy; read it before your first write and prefer it over this summary wherever
they differ.
For this skill it resolves to:
AI commented and say in the comment body that an agent wrote it. This
is the common case and needs nobody's permission.So present the findings table either way: it is what the go-ahead is given against, and it is the report afterwards. One row per candidate:
commented <issue key> for what you already did, filed <issue key>
once a row is approved and created, or awaiting your go-ahead.Never present an awaiting your go-ahead row without the exact title and body
you intend to file underneath it — that text is what is being approved.
Deduplicate first, so comments land on the right issue.
If Linear is unreachable in this environment, say so plainly and return every row as text ready to paste. Do not skip the handoff silently.
For each candidate, gather:
No measurements found for requested measurements that are
unavailable.Do not create or comment based on guesses, unsupported impact claims, or missing measurements alone.
Always, before writing anything:
AI commented.awaiting your go-ahead. File it once the go-ahead
comes, and update the row to filed <issue key>.For related existing issues, add only:
No measurements found for unavailable signals.Do not add fix suggestions, root-cause guesses, implementation notes, owner assignments, or next steps.
The shape to prepare, show for the go-ahead, and then file:
Triage; pass the Linear state explicitly on creation and do not
rely on workspace defaults.bug.bug: <service or route> <measured symptom> in <envs>.Recent window: <absolute time range and timezone>
Baseline: <absolute time range and timezone>
Signal:
- <count/rate/latency delta with env/service/route>
- <"No measurements found" for missing requested measurements>
Evidence:
- Datadog logs: <url>
- Datadog spans/traces: <url>
- Datadog metrics, dashboard, or latency graph: <url>
Related Linear search:
- <brief search terms used and result>
Do not include fix suggestions, root-cause guesses, implementation notes, owner assignments, or next steps unless the user explicitly asks outside the Linear issue or comment.