SKILL.md
SKILL.mdBrowse 6 files
608 tokens
2,571 bytes
Token encoding: o200k_base
Snapshot 63ca342
1---2name: triage3description: Triage a bug report. Reproduces the bug, diagnoses the root cause, verifies whether the behavior is intentional, and attempts a fix. Use when asked to "triage issue #1234", "triage this bug", or similar.4---5 6# Triage7 8Triage a bug report end-to-end: reproduce the bug, diagnose the root cause, verify whether the behavior is intentional, and attempt a fix.9 10## General Rules11 12**Do not get stuck on infrastructure problems.** If a server won't start, a port is blocked, or a tool is unavailable in the CI environment — bail out after 2 attempts and write your report with the data you already have. Looping on server restarts or missing CLI tools wastes your entire time budget. A partial report with solid findings is infinitely more valuable than no report because you ran out of time fighting a stale process.13 14## Input15 16You need either:17 18- `issueTitle` and `issueBody` provided in args (preferred — use these directly as the bug report), OR19- A GitHub issue number or URL mentioned in the conversation (use `gh issue view` to fetch details)20 21If a `triageDir` is provided in args, use that as the working directory for the triage. Otherwise, default to `triage/gh-<issue_number>` (if you have an issue number) or `triage/current`.22 23## Step 1: Reproduce24 25Read and follow [reproduce.md](reproduce.md). Use a subagent for this step to isolate context.26 27After completing reproduction, check the result:28 29- If the issue was **skipped** (host-specific, unsupported version, etc.) — skip to Output.30- If the issue was **not reproducible** — skip to Output.31- If the issue was **reproduced** — continue to Step 2.32 33## Step 2: Diagnose34 35Read and follow [diagnose.md](diagnose.md). Use a subagent for this step to isolate context.36 37After completing diagnosis, check your confidence:38 39- If confidence is **low** — skip to Output.40- If confidence is **medium** or **high** — continue to Step 3.41 42## Step 3: Verify43 44Read and follow [verify.md](verify.md). Use a subagent for this step to isolate context.45 46After completing verification, check the verdict:47 48- If the verdict is **intended-behavior** — skip to Output. The issue is not a bug; do not attempt a fix.49- If the verdict is **bug** or **unclear** — continue to Step 4.50 51## Step 4: Fix52 53Read and follow [fix.md](fix.md). Use a subagent for this step to isolate context.54 55Whether the fix succeeds or fails, continue to Output.56 57## Output58 59After completing the triage (or exiting early), return your structured results so the orchestrator can post a comment and manage labels.60 Discovery context
Discovered by repository scan. No exact path reference found in the snapshot’s root AGENTS.md.
