一键导入
debug-hypothesis
Hypothesis-driven debugging methodology. Use when investigating root cause, diagnosing failures, issues or problems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Hypothesis-driven debugging methodology. Use when investigating root cause, diagnosing failures, issues or problems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
External API evaluation and MCP server wrapper generation. Load when integrating a REST/GraphQL API as a workspace tool
Capability-based provider system patterns. Load when creating providers or wiring module-provider integration
Full-stack WebSocket subscription development. Load when adding WS routes, topic services, or debugging WS data flows
Systematic Python type error resolution (mypy/pyright). Load when fixing backend type check failures
Type-first Python with Pydantic, Protocol, and discriminated unions. Load when writing models or enforcing typing
Systematic type error resolution for Python (mypy/pyright) and TypeScript (vue-tsc). Use when fixing type errors, resolving type check failures, or optimizing type imports.
| name | debug-hypothesis |
| description | Hypothesis-driven debugging methodology. Use when investigating root cause, diagnosing failures, issues or problems. |
| user-invocable | false |
Systematic investigation approach: form hypotheses, gather evidence, eliminate possibilities.
List 2-5 possible causes ranked by likelihood:
| # | Hypothesis | Likelihood | Key Evidence Needed |
|---|---|---|---|
| 1 | [cause] | High/Med/Low | [what would confirm/refute] |
For each hypothesis (highest likelihood first):
Structure findings as:
## Summary
[1-2 sentence synopsis of the issue and finding]
## Root Cause
**Confidence:** [Confirmed | Likely | Suspected]
[Specific explanation with file references]
**Location:** `path/to/file.py:123-145`
**Causal Chain:**
[trigger] → [fault in code] → [observable symptom]
## Evidence
| Finding | Source | Supports |
|---------|--------|----------|
| [observation] | [file/command] | Hypothesis # |
## Hypotheses Considered
| Hypothesis | Status | Reason |
|------------|--------|--------|
| [cause 1] | ✅ Confirmed / ❌ Refuted / ⏸️ Inconclusive | [brief reason] |
## Recommended Fixes
1. **[Approach name]**: [brief description]
- Trade-off: [if any]