本文へ移動
cccskills
無料GitHub で公開

project-analysis-hypothesis-driven

Use when a bug has multiple plausible causes across layers — competing hypotheses, validation loops, evidence-based conclusions — even when the user just says 'why is this happening?'.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

project-analysis-hypothesis-driven

When to use

Use this skill when:

  • There is a concrete issue to explain
  • Multiple root causes are plausible
  • The system spans several layers
  • A shallow single-explanation answer would be risky
  • universal-project-analysis or bug-analyzer routes here

Do NOT use when:

  • You are still discovering the stack and architecture
  • The issue is already proven and only needs implementation
  • The request is a broad project overview without a specific problem focus

Core principles

  • Never stop at the first plausible explanation
  • Code, docs, and evidence beat intuition
  • Rejected hypotheses matter
  • Multiple interacting causes are common
  • Uncertainty must be marked explicitly

Procedure

1. Define the observed problem

State clearly: what happens, where it happens, when it happens, what was expected instead.

Use concrete evidence: errors, stack traces, behavior differences, failing tests, logs.

2. Build the hypothesis tree

Generate multiple competing explanations.

Typical categories:

  • config issue
  • version mismatch
  • package misuse
  • async/timing issue
  • data inconsistency
  • architecture flaw

Do not stop at one explanation.

3. Prioritize hypotheses

Rank by: likelihood, impact, testability. Start with the most testable high-value explanation.

4. Validate each hypothesis

For each hypothesis:

  • check code
  • check docs
  • check runtime evidence
  • check real-world reports if relevant

Mark: ✅ confirmed, ❌ rejected, ❓ uncertain.

5. Check system interactions

Look for cross-system causes:

System A↔System BWhat can go wrong
Framework↔PackageVersion mismatch, wrong lifecycle hook, config conflict
Sync code↔Async codeLost context, stale data, race conditions
Config↔RuntimeCached config doesn't match env
Cache↔DatabaseStale reads, inconsistent state after write
Auth↔MiddlewareOrder-dependent behavior, missing guards
Events↔JobsEvents fire during seeding, serialization issues
Transaction↔External callsSide effects can't be rolled back

6. Perform reality check

Ask:

  • does this fully explain the behavior?
  • what remains unexplained?
  • could multiple causes interact?
  • does contradictory evidence exist?

If anything major remains unexplained: continue analysis, do not present a final conclusion yet.

7. Validate conclusion quality

Check:

  • at least 2 plausible hypotheses were considered where appropriate
  • rejected hypotheses are documented
  • conclusion is backed by code/doc/runtime evidence
  • confidence level is explicit
  • partial explanations are not presented as complete

Output format

  1. Problem statement
  2. Hypothesis tree
  3. Confirmed findings
  4. Rejected hypotheses
  5. Remaining uncertainties
  6. Root-cause conclusion
  7. Confidence level
  8. Recommended next steps

Gotcha

  • The model tends to lock onto the first plausible explanation too early.
  • Contradictory evidence usually means the current conclusion is wrong or incomplete.
  • Many production issues are caused by multiple interacting factors, not one neat bug.

Do NOT

  • Do NOT present guesses as facts
  • Do NOT skip rejected hypotheses
  • Do NOT stop after one plausible explanation
  • Do NOT ignore version-specific or package-specific behavior
  • Do NOT claim full root cause if meaningful uncertainty remains

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.

日本語の概要は準備中です。原文の説明を表示しています。

event4u-app/agent-config112026年10月12日 更新

event4u-app のスキルをすべて見る

このスキルの問題を報告する