一键导入
assistant-debugging
Diagnose unknown failures by reproducing and isolating before fixing. Use for debugging, root causes, flaky tests, or unexplained breakage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose unknown failures by reproducing and isolating before fixing. Use for debugging, root causes, flaky tests, or unexplained breakage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Clarify ambiguous or multi-intent requests. Use when the user asks to untangle, structure, or restate what they mean.
Manage durable memory safely. Use for explicit remember, recall, forget, or memory-health requests and stable corrections or preferences.
Review code and re-review fixes until clean. Use for explicit code review or the workflow Review phase; QA runs only when required.
Create or update V1 skills and contracts. Use for skill scaffolding, contract design, or contract-compliance validation.
Run proportional development phases. Use to plan, build, implement, fix, migrate, or refactor project artifacts.
Generate and rank options. Use light mode for quick improvement scans and deep mode for explicit brainstorming or broad exploration.
| name | assistant-debugging |
| description | Diagnose unknown failures by reproducing and isolating before fixing. Use for debugging, root causes, flaky tests, or unexplained breakage. |
| effort | high |
| triggers | [{"pattern":"debug|root cause|investigate (failure|bug|issue)|why .* broken|reproduce (bug|issue)|flaky test|production issue|failing test|test failure","priority":88,"reminder":"This request matches assistant-debugging. Load and follow this SKILL.md and its contracts before patching code. Reproduce and isolate root cause before fixing."}] |
Find and fix the real cause of a failure with the smallest durable change and evidence that explains the symptom, cause, fix, and verification.
Canonical tier files are contracts/input.yaml, contracts/output.yaml,
contracts/phase-gates.yaml, and contracts/handoffs.yaml.
Read contracts/index.yaml first. Canonical contracts remain authoritative, but
load only the boundary currently being enforced:
entry for symptom, scope, reproduction target, safety, and edit permission;current_phase for SCOPE, REPRODUCE, HYPOTHESIZE, ISOLATE, FIX, or VERIFY;selected_handoff only when investigation or fix delegation is selected; andcompletion only for the artifact being returned.If a selector is missing or invalid, load the full named canonical contract. Do not load every contract at entry.
assistant-debugging owns diagnosis until the failure mechanism is reproducible or bounded strongly enough for a fix. Generic workflow may coordinate planning, delegation, and review, but specialist gates are authoritative.
Use assistant-debugging before assistant-tdd when a meaningful RED test
cannot yet be written. Once the mechanism is understood, hand the regression
test and evidence into the TDD cycle. Use assistant-review after non-trivial or
risky fixes.
Return status, symptom, reproduction or blocker, ranked hypotheses, root cause and confidence, fix summary, verification results, and residual risks.
mitigated or inconclusive when proof is insufficient for root cause.