Individual skill

systematic-debugging

提供系统化根因定位流程,避免在复杂缺陷里靠猜测叠加修补。 当问题难复现、跨模块、连续修错或需要先证明根因再改代码时使用。

plugins/Colin4k1024/tsp/skills/systematic-debugging/SKILL.md

Read pinned source

Source commit d780783eba4ecc7c8b9429f95c9362df95f07c61

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 4, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,532
Repository last updated
Nov 6, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Systematic Debugging

## 用途

- 把“先猜一个修法试试”改成“先收敛证据、再验证假设”。
- 适合复杂仓库、跨边界链路、间歇性问题和连续修错的场景。

## 默认做法

1. 先冻结“继续乱改代码”的冲动,收敛最小复现、错误现象、最近变更和影响边界。
2. 从症状沿数据流、调用链或状态变化往回追,找出第一个与预期不一致的点,而不是只盯最终报错位置。
3. 每轮只保留一个最强根因假设;用额外日志、断言、最小实验或对照路径去证伪它。
4. 只有在根因被证实时才落修复;修复优先配套失败用例、稳定复现脚本或明确回归检查。
5. 修复完成后,把验证结果回交实现角色、QA 或 `/verify`,不要让调试结论停留在个人上下文里。