debug-root-cause
Diagnose a reproducible bug, failed CI or recurring compiler/test failure using reproduction and competing hypotheses before changing code.
- License 许可
- MIT
- 最近更新
- 2026-10-30
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- debug-root-cause
- description
- Diagnose a reproducible bug, failed CI or recurring compiler/test failure using reproduction and competing hypotheses before changing code.
03 SKILL.md 正文
For a slice failure use Vertical Slice Delivery to retain scope and identify the failed gate. Reproduce and isolate within the current slice; escalate unresolved dependency, shared-contract or ownership problems and invariant uncertainty. Leave blocked or failing work explicitly incomplete; repeated failures without new evidence require reassessment.
Collect the failure, environment/version context and expected behavior; inspect relevant instructions and code. Read testing for verification and relevant domain guidance only as needed.
Reproduce with the smallest trustworthy command or input. Separate observations from hypotheses; consider competing explanations and choose a discriminating experiment. If reproduction is unavailable, report what evidence is missing and avoid presenting a guess as established root cause.
Trace the first incorrect state to its cause before fixing downstream symptoms. Implement the smallest safe fix and a regression test when appropriate. Run the reproduction and relevant checks again. After unsuccessful changes, reassess the hypothesis and environment rather than patch blindly; choose escalation from failure type, not an arbitrary retry count.
Deliver reproduction steps, observations, hypotheses tested, root cause/evidence, fix, regression coverage and actual validation results. Stop for missing essential evidence or before an unapproved destructive/production action.
04 同仓库更多 Skills
example-review
Review synthetic example changes for their stated acceptance criteria.
second-reader
Independent second reader for supply-chain and data documents (RFQs, supplier quotes, emails, PDFs including scanned, spreadsheets, CSV/JSON). Extracts values with source evidence, runs deterministic checks, compares quotes against an RFQ and a bid price, and briefs the human on what they may have missed while they review the same material. Every step is logged in a SQLite ledger.
second-reader-offline
The no-AI, no-network variant of second-reader for confidential client documents. Reads with local rules and OCR, checks and compares with code, and produces a self-contained HTML report on the user's own machine. The assistant must not read the documents or the report.
review
Review an engineering plan, diff, code or architecture from a general or selected professional perspective, challenging assumptions with evidence and no automatic implementation edits.
review-diff
Compatibility entry point for evidence-based diff review; establish the intended baseline and inspect consequential changes read-only.
plan-feature
Plan a new subsystem, cross-cutting feature, migration or explicitly requested design before implementation. Routine local edits can proceed directly.