agentsclimarketplace

Project analysis hypothesis driven

Skill event4u-app/agent-config/dist/agent-src/skills/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?'.From its SKILL.md

Install
npx -y skills add event4u-app/agent-config --skill project-analysis-hypothesis-driven

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 7 stars7 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.7 KB, 731 tokens by cl100k_base, as published. Nobody here has run it

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 ASystem BWhat can go wrong
FrameworkPackageVersion mismatch, wrong lifecycle hook, config conflict
Sync codeAsync codeLost context, stale data, race conditions
ConfigRuntimeCached config doesn't match env
CacheDatabaseStale reads, inconsistent state after write
AuthMiddlewareOrder-dependent behavior, missing guards
EventsJobsEvents fire during seeding, serialization issues
TransactionExternal 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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,835. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.