diagnosing-bugs
仓库创建 2026年2月2日最近提交 3 天前SkillHot 收录 20 天前
▸ 精选理由
构建稳定反馈回路,节省排查时间并定位根因
▸ 风险提示
可能需要运行测试/修改代码或访问日志,需有权限
这个 Skill 做什么
系统化诊断难查的 bug 和性能回归的循序方法论
提供一套有序的方法来定位难查的 bug 或性能回归,从搭建反馈循环到逐步缩小范围不跳过关键阶段。用在碰到间歇性错误、难以复现的问题或性能退化时,可以把调查流程系统化并保证可复现。强调先建立紧密的通过/失败信号、读清上下文文件,再逐步实施度量和假设验证。
▸ 展开 SKILL.md 英文原文
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.
456
Stars
41
Forks
34
仓库内 Skill
+8
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/mxyhi/ok-skills/main/diagnosing-bugs/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/mxyhi/ok-skills/main/diagnosing-bugs/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Diagnosing Bugs A discipline for hard bugs. Skip phases only when explicitly justified. When exploring the codebase, read `CONTEXT.md` (if it exists) to get a clear mental model of the relevant modules, and check ADRs in the area you're touching. ## Phase 1 — Build a feedback loop **This is the skill.** Everything else is mechanical. If you have a **tight** pass/fail signal for the bug — one that goes red on _this_ bug — you will find the cause; bisection, hypothesis-testing, and instrumentation all just consume it. If you don't have one, no amount of staring at code will save you. Spend disproportionate effort here. **Be aggressive. Be creative. Refuse to give up.** ### Ways to cons
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有