AGENT SKILL
root-cause-debugging
Infer and test the smallest causal explanation instead of stacking speculative fixes.
- License 许可
- MIT
- 所属仓库
- syr-cn/PluginRSI
- 最近更新
- 2026-10-18
- Stars
- ★ 61
- Forks
- 1
01 前言 Front Matter
- name
- root-cause-debugging
- description
- Infer and test the smallest causal explanation instead of stacking speculative fixes.
02 资源文件 4
- 脚本__init__.py—
- 参考文档asset.yaml553 B
- 脚本implementation.py564 B
- 参考文档plugin.yaml945 B
03 SKILL.md 正文
Root-cause Debugging
Internal ID: S13
Category: diagnosis
Tier: core
Output: RootCauseDiagnosis
Activate when
- The workflow reaches the
diagnosisstage and the required inputs are present.
Applicable roles
- Critic
- Solver
Required inputs
issue_profilereproduction_resultlocalized_code
Optional inputs
trajectorymemory_hits
Procedure
- Separate symptom, trigger, faulty state or assumption, and violated contract.
- Form two or more competing hypotheses when uncertainty is material.
- Choose the cheapest discriminating check.
- Update or reject hypotheses from fresh evidence.
- Stop when one mechanism explains the failure and predicts the fix.
Verification
- The chosen cause explains both observed and expected behavior.
- Rejected hypotheses retain their evidence.
Stop conditions
- One falsifiable root cause is supported or diagnosis is explicitly inconclusive.
Constraints
- Do not apply multiple speculative fixes at once.
- Do not label the first suspicious line as root cause.
Allowed tools
read_rangeshell_execinspect_failuretext_search
Provenance
Synthesized from design patterns in superpowers, addy-agent-skills, swe-agent.
This file is a normalized reusable abstraction, not a verbatim copy of an upstream skill.
04 同仓库更多 Skills
v0001
暂无简介
★ 61
v0001
暂无简介
★ 61
v0001
暂无简介
★ 61
trajectory-to-lesson
Extract a bounded transferable procedure or anti-pattern from a completed trajectory.
★ 61
test-output-interpretation
Turn noisy command output into a localized failure signature without overclaiming.
★ 61
symbol-localization
Rank functions, classes, methods, or configuration blocks inside selected files.
★ 61