ワンクリックで
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]