debug
✓通过假设驱动的调查进行系统调试。当某些东西损坏、测试失败、发生意外行为或需要调查错误时使用。触发:“这已损坏”、“调试”、“为什么失败”、“意外错误”、“不工作”、“错误”、“修复此问题”、“调查”、“测试失败”、“跟踪错误”、“使用调试模式”。完全访问模式 - 可以运行命令、添加日志记录和修复问题。
SKILL.md
| Works locally, fails in CI | Environment differences, missing deps | | Intermittent failure | Race condition, timing, external dependency | | Wrong output | Logic error, wrong variable, off-by-one | | Crash/exception | Null/None access, type mismatch, missing data | | Performance issue | N+1 queries, missing index, memory leak |
| "I'll just add a quick fix" | Quick fixes hide root cause. Follow Phase 1 first. | | "It's probably X" | "Probably" isn't evidence. Test the hypothesis. | | "This is too simple to debug formally" | Simple bugs waste the most time when undiagnosed. | | "I've tried 3 things, might as well try a 4th" | STOP. Return to Phase 1. Re-analyze with new info. |
| "It works now, not sure why" | If you don't know why it works, it will break again. |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/mcouthon/agents --skill debug- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 debug?
通过假设驱动的调查进行系统调试。当某些东西损坏、测试失败、发生意外行为或需要调查错误时使用。触发:“这已损坏”、“调试”、“为什么失败”、“意外错误”、“不工作”、“错误”、“修复此问题”、“调查”、“测试失败”、“跟踪错误”、“使用调试模式”。完全访问模式 - 可以运行命令、添加日志记录和修复问题。 来源:mcouthon/agents。
如何安装 debug?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mcouthon/agents --skill debug 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/mcouthon/agents
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01