ethanreedlabs/sulde/bug-hunt
Claude Code and agent skill by ethanreedlabs/sulde
- community
Checking that the SKILL.md file is still in the repository.
Bug 排查 / 找根因 / 复现问题 / 偶发 bug / 黑屏 / 卡死 / 数据不一致 / hunt bug / debug — 启动 3 人排查团队,从不同角度调查并讨论找根因(适合非崩溃类 bug)。当用户说"有个 bug""偶发问题""找下根因""为什么会出现""排查一下""页面卡住""数据不对"时自动触发。崩溃类用 /crash-fix。stack 中性 — 工具命令 / 排查维度从 references/{stack}.md 读。
Install
npx vskill@latest install ethanreedlabs/sulde/bug-huntSKILL.md
Bug 排查团队
启动一个 3 人排查团队,从不同角度调查问题,互相讨论找出最可能的原因。
stack 决定后必先 Read 对应 references:
| Frontend stack | 必 Read | |
|---|---|---|
mobile-android | references/android.md | |
mobile-ios | references/ios.md | |
mobile-flutter | references/flutter.md | |
mobile-harmony | references/harmony.md |
§1 思考模式(强制)
执行 `/bug-hunt` 时必须启用 ultrathink 深度思考模式。 Bug 排查易被表面症状误导,3 个 subagent 都用 ultrathink。
§2 启动方式
用户输入 /bug-hunt 后,依次问:
- Bug 的具体表现是什么?
- 复现条件和出现频率?
- 在哪个分支上出现的?(默认 develop)
- 有没有 crash log / 堆栈信息 / 错误日志?(可选)
§3 执行步骤
- 收集 Bug 信息(表现 + 复现条件 + 分支 + 日志)
- 根据 Bug 特征制定 3 个排查方向(stack 特定常见维度见 references)
- 创建 3 人团队,每人负责一个方向 → 用 Agent 工具 spawn 子 agent,prompt 见 §5 模板
- 队友之间互相讨论,挑战对方的假设
- 汇总结论,给出最可能的根因和修复方案
- 评估修复方案是否会引入新问题、是否符合架构规则
§4 队友分工维度
根据 Bug 特征动态分配排查方向。stack 通用维度:
- 生命周期 / 状态管理
- 内存 / 资源管理
- 线程 / 并发安全
- 网络 / 数据流
- UI 渲染 / 布局
- 平台兼容性 / 版本差异
stack 特定的常见排查切片见 references/{stack}.md §1。
§5 队友 spawn prompt 模板
§6 汇总报告归档
写入 .ai-workspace/diag/{date}-bug-{slug}.md:
§7 与 /crash-fix 的边界
- crash-fix:可拉到 crash log / 堆栈,有明确异常类型 → 用 /crash-fix(单 agent,4 阶段)
- bug-hunt:偶发 / 数据不一致 / 卡死 / 黑屏 / 无明确异常 → 用 /bug-hunt(3 agent 并行)
混合场景(有 crash 但根因复杂)先用 /crash-fix 抓 log,再切 /bug-hunt 多角度分析。
§8 修复后必跑 /postmortem
bug 修完准备 commit 前必先跑 /postmortem skill 走 4 问漏斗(踩过吗 / 会再踩 / 能 lint 化 / 其他 frontend 也有),通过后才 commit。
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dev/bug-hunt/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ethanreedlabs/sulde/bug-hunt)