一键导入
systematic-debugging
Use when the user reports a bug, error, flaky test, crash, regression, or "it doesn't work"—hypothesis-first debugging before random edits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user reports a bug, error, flaky test, crash, regression, or "it doesn't work"—hypothesis-first debugging before random edits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Systematic Debugging |
| description | Use when the user reports a bug, error, flaky test, crash, regression, or "it doesn't work"—hypothesis-first debugging before random edits. |
| version | 1.0.0 |
| category | bundled |
| primary-tools | ["read_file","grep","file_diff"] |
| tags | ["debugging","bug","error","flaky","crash","regression","test-failure","investigation"] |
| triggers | ["bug","error","fails","flaky","crash","regression","test failure","doesn't work","debug this","broken","not working","read_file","grep","file_diff"] |
| Step | Tool |
|---|---|
| Read suspect code | read_file |
| Find call sites / symbols | grep, browse_workspace (action=find) |
| Compare versions | file_diff |
| External API semantics | web_fetch |
| Isolated repro / verify | run_shell (narrow) — browser-runtime-map |
| Record hypothesis trail | session_memory_append |
| Hypothesis tree visual | Mermaid via chart |
Non-negotiable: Read before edit. One hypothesis, one falsifying experiment per cycle — no parallel mystery fixes.
task-execution invoke this loop per step.chart.read_file around suspect lines, grep for call sites, web_fetch for API error semantics, tiny isolated repro file).Inside a plan being run by task-execution, this loop is invoked per failing step: one falsification cycle, then resume, re-plan, or abort with a partial report.
When more than two hypotheses are alive at once, draw the fault tree as a Mermaid flowchart via chart — keeps "what is falsified vs open" legible.
Use when shell commands fail, npx/curl/git won't run, or you must choose run_shell vs web_fetch vs file tools in Nodebox vs host.
Use when the user says remember this, save a preference or API key, or you must pick memory_save vs session notes vs skill (action=manage) vs wiki_* tools.
Use when the input is an image, screenshot, diagram, PDF/DOCX, audio file, or YouTube link—extract metadata/text before reasoning.
Use when the user wants to discover, search, or install agent skills from online registries—top results by installs, stars, or votes. Or user sends /find_skills.
Use when calling REST or GraphQL APIs with web_fetch/web_post — auth headers, query params, GraphQL shape, Directus GraphQL mutations/relations, discovery order, and reading error bodies.
Use when the user or agent installs a skill from skills.sh or GitHub — map WebFetch, Bash, Python, Playwright, and MCP references to Web Agent built-ins.