{"repo":"abczsl520/debug-methodology","free":true,"listed":false,"github":"https://github.com/abczsl520/debug-methodology","clone":"git clone https://github.com/abczsl520/debug-methodology.git","description":"Systematic debugging methodology for AI agents and developers. Prevents common anti-patterns like patch-chaining and wrong-environment restarts.","language":null,"stars":19,"topics":["ai-agent","automation","clawhub","code-review","debugging","developer-tools","nodejs","openclaw","root-cause-analysis","skill"],"license":"MIT","category":"dev-tools","readme_excerpt":"🔍 Debug Methodology 系统化调试方法论 — 适用于 AI Agent 和开发者的通用调试规范。 从真实生产事故中提炼，结合 Nicole Tietz、Brendan Gregg、Julia Evans 等业界顶级工程师的方法论。 为什么需要这个？ AI Agent 在调试时容易陷入以下陷阱： - 🚨 醉汉反模式 — 随机改代码直到问题消失 - 🚨 路灯反模式 — 只在熟悉的地方找，而不是问题真正在的地方 - 🚨 补丁链 — 每次报新错就修那个错，越改越乱 - 🚨 忽略用户 — 用户说\"改了X就坏了\"，却继续自己猜 这套方法论提供了一个 强制性的调试流程 ，避免这些常见错误。 核心流程 快速决策树 作为 OpenClaw Skill 使用 将 SKILL.md 放入你的 skills 目录： 重启 OpenClaw 后，所有 session 遇到调试场景会自动加载这套方法论。 完整规范 详见 SKILL.md — 包含： - 4阶段调试流程 （STOP → Hypothesize → Test → Patch-Chain Detection） - 4大反模式警告 （醉汉/路灯/货物崇拜/忽略用户） - 环境检查清单 （runtime/deps/config/process manager/logs/backup） - 部署安全流程 （拉取→备份→修改→测试→部署→验证） - 快速决策树 起源 这套方法论源自一次真实的生产事故： 修复一个简单的超时问题（2步就能搞定），却因为重启服务时没用虚拟环境，走了10步弯路。事后复盘发现，如果一开始跑一句 ps -p -o command= 就能避免所有问题。 由此总结出这套通用调试规范，并结合业界最佳实践形成了完整的方法论。 Install Wiki 更详细的案例分析和扩展内容请查看 Wiki。 🔗 Part of the AI Dev Quality Suite Skill Purpose Install ------- --------- --------- bug-audit Dynamic bug hunting, 200+ pitfall patterns clawhub install bug-audit codex-review Three-tier code review with adversarial testing clawhub install codex-review debug-methodology (this) Root-cause debugging, prevents patch-chaining clawhub install debug-methodology nodejs-project-arch AI-friendly architecture, 70-93% token savings clawhub install nodejs-project-arch game-quality-gates 12 universal game dev quality checks clawhub install game-quality-gates License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/abczsl520","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/abczsl520/debug-methodology/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}