Incident triage harness

From madebyaris/advance-minimax-m3-cursor-rules · View interactive version

Incident triage harness is an AI agent skill from the GitHub repository madebyaris/advance-minimax-m3-cursor-rules. Production-style incident triage workflow for logs, metrics, code, safe mitigations, and M3 multimodal visual evidence (screenshots, screen recordings). Use when debugging alerts, regressions, outages, or suspicious runtime behavior.

How to use this skill

Skill file

Incident Triage Harness

Investigate production-style failures with an evidence-first loop: confirm symptoms, narrow the blast radius, correlate signals, inspect code, and prove the smallest safe mitigation.

When to Use

For deeper prompts, evidence templates, and mitigation checklists, also read reference.md in this skill directory.


Step 0: Triage The Situation

Before doing anything else, identify:

  1. User-visible symptom: What is broken right now?
  2. Blast radius: Which route, job, service, or user segment is affected?
  3. Recent change surface: Deploys, migrations, feature flags, config changes, dependency bumps
  4. Available evidence: logs, traces, dashboards, DB data, repo history, local repro, tests

Do not jump into code edits until you have at least one concrete failure hypothesis.

Step 0a: Visual Evidence (M3)

When the user attaches a screenshot of a broken UI, a screen recording of the failure, or a short clip of the symptom, the visual is primary evidence — not a supplement.


Step 1: Evidence Loop

Use this sequence:

1. Confirm the symptom
2. Correlate recent changes with the failure window
3. Form the smallest plausible hypothesis
4. Check the hypothesis with the strongest available evidence
5. Narrow the cause before changing code
6. Prefer safe mitigation before broad refactors
7. Verify the mitigation at the affected surface

Step 2: What To Inspect

Inspect in this order when relevant:

  1. User symptom
  1. Runtime evidence
  1. Recent change history
  1. Code surface
  1. Persistence layer

Step 3: Mitigation Bias

Prefer the smallest safe mitigation that reduces impact:

Do not claim a root cause until the evidence supports it.


Step 4: Closeout Expectations

When reporting back, make clear:

If the system is safer but the root cause is still incomplete, say so explicitly.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.