Skip to content
cccskills
FreePublished on 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?'.

The English summary is being prepared. Showing the original description.

See how to install

Files included (2)

  • SKILL.md3.7 KB
  • evals/triggers.json1.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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'.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 21, 2026

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

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 21, 2026

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

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 21, 2026

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.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 21, 2026

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

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 21, 2026

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.

The English summary is being prepared. Showing the original description.

event4u-app/agent-config12Updated Oct 21, 2026

See all skills by event4u-app

Report a problem with this skill