Debug hard
zilin 的个人 Agent Skills 库,真实在用的开发能力,可被 Claude Code / Cursor 等 50+ agent 自动发现安装
npx -y skills add hifizz/skills --skill debug-hardAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use for complex, high-risk, or ambiguous debugging and code-fix tasks, especially when the user requires diagnosis before changes, explicit solution confirmation, preservation of an existing design, or comparison with reference implementations. 适用于复杂、高风险或边界不清的调试与修复任务。
SKILL.md
2.0 KB, 588 tokens by cl100k_base, as published. Nobody here has run it
四阶段调试
按顺序执行:确认问题 → 诊断问题 → 确认方案 → 具体实现。除非用户已明确提供某阶段所需决定,不得跳过该阶段。
1. 确认问题
用简短文字复述目标、范围和已有约束。
- 若缺少的事实或选择会实质改变实现,先提出一个具体的澄清问题。
- 若任务已足够明确,陈述工作理解后直接进入只读诊断。
- 可开始诊断不代表可开始修改。
2. 诊断问题
只使用读取、搜索、复现和无写入验证。
- 不编辑文件、不格式化、不安装依赖、不生成文件、不提交代码。
- 在实际实现中寻找证据;将根因表达为通用不变量,而不是为某个样例、标签或组件打补丁。
- 将参考实现视为诊断证据,不视为迁移或改造授权。
3. 确认方案
说明以下内容:
- 根因及其证据。
- 要维持不变的现有机制和边界。
- 最小修改方案及每项修改对应的不变量。
- 影响范围和验证方法。
除非用户已经明确确认这一个准确方案,否则以“等待确认方案。”结束。不要实现。
4. 具体实现
只实现已确认的范围并运行约定的验证。
- 不得趁机换架构、扩大范围或重构无关代码。
- 实现中若发现新的关键选择,停止修改并回到“确认方案”。
- 仅在用户明确要求时提交、推送或部署。
用户质疑
将“为什么”“不满意”“重新考虑”等消息视为诊断阶段输入。
- 只回答问题或补充诊断。
- 不得修改代码、不得换方案、不得把质疑视为授权。
What ships with it: 1 file
238 B alongside SKILL.md
agents/
- openai.yaml238 B