failure-triage
/failure-triage
Classify a red test, check, or CI job before editing code to fix it. Use when a test, build, or CI job fails, mech-review reports a failing check, or the user pastes a failure and asks for cause or plan.
- Author
- EricleungDK ↗
- Repository
- ekit ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 0
- HTML comments
- 1
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
What it does and when to use it
Classify a red test, check, or CI job before editing code to fix it. Use when a test, build, or CI job fails, mech-review reports a failing check, or the user pastes a failure and asks for cause or plan.
Original author description
Classify a red test, check, or CI job before editing code to fix it. Use when a test, build, or CI job fails, mech-review reports a failing check, or the user pastes a failure and asks for cause or plan.
How it works
- Mech-review JSON present
- Classes
- Evidence
SKILL.md preview
--- name: failure-triage description: Classify a red test, check, or CI job before editing code to fix it. Use when a test, build, or CI job fails, mech-review reports a failing check, or the user pastes a failure and asks for cause or plan. --- A red result is a claim about the code only once ruled in. Classify each failure into one class, with **evidence**, before any code edit. Loaded once per session: on later failures, classify against this, without re-invoking. ## Mech-review JSON present A mech-review JSON (PR comment `<!-- mech-review -->` or CLI output) → follow [mech.md](mech.md). Classify from its entries, not logs. No JSON → the classes below. ## Classes Check them in this order; the first that fits wins. 1. **sandbox/env**: EPERM, EROFS, "Operation not permitted", read-only `.git`, listen EPERM, docker.sock, DNS resolve failure, missing tool. → Leave code and config as is; the next action is the same command rerun once outside the sandbox (Claude Code: Bash with `dangerouslyDisableSandbox: true`, which asks the user; Codex: request escalation). Record "passed only unsandboxed". The rerun is the evidence: if it fails the same way outside the sandbox, this class does not fit (the program printed that error itself), so go on down the list. If the rerun is denied or impossible, log it as **verification debt** (finish skill). Missing tool: use the preflight fallback. 2. **stale**: the test expects old text or an old seam; a stale server holds the port; local main is behind origin; the CI SHA ≠ HEAD; task docs are out of date. → Follow [stale.md](stale.md). 3. **flaky**: passes and fails on the same code. → Follow [flaky.md](flaky.md). 4. **unowned**: the failure is in files outside your write scope, or changed by someone else (compare `git status` / `git diff --stat` with what you touched). → Report it with file and error; keep your diff to your scope. 5. **real bug**: none of the above holds. → Reproduce it in a failing test, then fix it red→green (TDD; for a hard one, a diagnosis loop first: reproduce, narrow, name the cause). ## Evidence One line per failure, carried into the finish report: `<test/check> → <class>: <evidence: command, exit code, decisive output line>` One green run proves nothing about a flaky or env class; the class's own procedure decides.
Files in this package (4)
- SKILL.md 2 KB
- flaky.md 1 KB
- mech.md 3 KB
- stale.md 1 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · EricleungDK/ekit | 90 | MIT |
| yeaight7/agent-powerups | 100 | Apache-2.0 |
Database snapshot: 13.11.2026 · package version be51e49d796a (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90systematic-debugging
Use when diagnosing a bug, failing check, unexpected behavior, or production incident before changing code. Do NOT use for known mechanical edits without a failure. - 90debugging
Quorum's debugging habit: reproduce a failure, read the whole error, check what changed, and name the root cause with evidence before changing any code. Use when a test, check, build, or command fails, or a bug is reported, and the cause isn't already proven. It only diagnoses… - 90debug-a-failing-test
Finds out why a test fails and fixes the cause, not the test: reproduce it alone, read the error, narrow it down, fix, and prove it with a run. Use when a test fails, a check is red, a test is flaky, or the owner says the tests broke. - 100test-failure-triage
Systematically triage failing tests by grouping errors, fixing root causes in priority order, and verifying incrementally. Use when CI fails, test suite is broken, or multiple tests fail after a refactor or merge. Triggers: "tests failing", "fix tests", "CI red", "make tests pass". - 90flake-triage
Diagnose a failing, flaky, or timing-out Go/chromedp test before changing it. Use when: test flake, intermittent failure, timeout, passes alone fails in suite. - 100triage-issue
Investigates a reported bug and turns it into a tracker issue that someone else can pick up: checks for duplicates, reproduces the problem, traces it to its cause in the code, rates severity, and writes a test-first fix plan. Use when someone says "triage this bug", "look into…