.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 ticket creation; the calling skill owns deciding whether the signal is issue-worthy.
Before doing anything in Linear, first show the findings to the human in a compact markdown table and ask for explicit permission to share them in Linear. The table should include one row per candidate with:
comment existing, create new, or none).If the human does not explicitly approve, stop after presenting the table. Do not search Linear, do not comment on issues, and do not create issues.
If this skill was invoked by detect-prod-regressions and that calling skill
already showed the findings table and obtained explicit human approval for a
Linear handoff, skip this gate and proceed directly to deduplication.
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.
After the human explicitly approves, before creating a new issue:
Triage state for
each distinct bug cluster.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.
Create new issues with:
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.