/triage · the crew
When a Playwright run finishes red on CI (or main), run this skill to triage everything in one shot.
Procedure
- Spawn the
@rcasubagent · pass./test-results/results.json. - Collect verdicts. If any have
routeTo: heal, spawn@healper locator failure. - If
./runs/has ≥ 3 JSON reports of the same commit, spawn@flakyover the directory. - Wait for all subagents. Aggregate:
<N>failures classified by RCA · counts per category.<K>locators healed (auto-patched + verified) ·<M>escalated to human.<P>flaky tests detected ·<Q>quarantined with@flaky.<R>Jira bugs filed.
Output
A markdown summary suitable to paste into a PR comment or Slack thread:
🤖 Triage · ✅ 18/20 specs green · ❌ 2 failures handled
- RCA: 1 product (Jira QA-941 filed) · 1 locator (auto-patched)
- Flaky: 3 detected · 2 quarantined as @flaky
- Heal: 1/1 patched · spec is now green
Stop conditions
- All three sub-pipelines finished.
- Markdown summary printed.
Hard rules
- Do not file the same Jira bug twice · the RCA subagent dedupes via JQL.
- Do not commit any patches · only edit + verify.