跳到正文
cccskills
免费在 GitHub 公开

thinking-scientific-method

When a symptom has several plausible causes, rank falsifiable hypotheses and run the cheapest discriminating observation first; prefer least-assumptive survivors only after evidence fit.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Scientific Method (Hypothesis Differential)

When a symptom could come from several places, enumerate competing falsifiable hypotheses and spend the cheapest observation on the one that best discriminates among them. After each observation, keep only hypotheses that still fit, then prefer the survivor with the fewest unsupported assumptions as the working explanation.

When to Use

  • A bug, incident, or anomaly has more than one plausible cause.
  • You can observe code, logs, diffs, traces, tests, configs, or data now.
  • You must localize the faulty file, function, branch, config, or invariant before fixing.
  • Competing explanations fit the same surface facts and you need a discriminating check.

When NOT to Use

  • Cause is already obvious from a single stack, failing test, or recent diff — fix directly.
  • Only one plausible hypothesis exists — test it; do not invent rivals for ritual.
  • No observation is possible yet — obtain access first; do not speculate a localization.
  • Multi-week experiments, product A/B tests, or policy trials — this skill is for agent-now checks.
  • Fault is already localized and you need systemic root/prevention depth — use five-whys-plus.
  • Selective "only these objects/times" defects better suited to IS/IS-NOT comparison — use Kepner-Tregoe.
  • Representation (doc/dashboard) may be stale versus reality — verify territory with map-territory first, then resume hypotheses.

Procedure

  1. State the symptom precisely. Capture failing behavior, scope, timing, environment, and constraints. Separate observation from interpretation.
  2. Enumerate 2–5 competing hypotheses. Name specific files, functions, configs, input conditions, or invariants. Reject vague buckets ("backend issue"). If no serious alternative remains after a deliberate check, exit this differential and test or fix the sole evidenced cause directly; never fabricate a rival to continue the procedure.
  3. Name falsifiers and cheap observations before looking. For each hypothesis: what result drops it, and what read/grep/diff/log/test check can you run now. Prefer observations available immediately over deploys, canaries, or long waits.
  4. Rank observations by discrimination × cheapness. Run the cheapest check that best separates the top contenders. Do not deep-dive the favorite first if a cheap cross-check would kill alternatives.
  5. Update after each observation. Drop falsified hypotheses. Among survivors that still fit all evidence, prefer the one with the fewest independent unsupported assumptions (extra components, rare timing, external dependencies). Parsimony ranks survivors after fit; it never rescues a leaner hypothesis that evidence already contradicts. Escalate complexity only when simpler survivors are ruled out.
  6. Localize and stop. When one hypothesis has direct supporting evidence and key alternatives are ruled out, name the file/function/config to change and the evidence that localizes it. Stop analyzing once localization is direct.

Output

Symptom: <specific failing behavior, scope, timing>
Hypotheses:
  H1: <specific cause> | Why plausible | Observation | Falsified if
  H2: ...
  H3: ...
Test order: <cheapest discriminating checks>
Results: <what each observation showed>
Survivors: <remaining Hs; least-assumptive working pick among fit>
Localized fault: <file/function/config + supporting evidence>
Ruled out: <Hs dropped and why>

Verification

  • Falsify the differential conclusion if you continued with fewer than two serious hypotheses, if no pre-stated falsifier existed, if a cheaper discriminating check was skipped, or if a "simpler" story was kept after evidence contradicted it.
  • Stop when the fault is directly localized and alternatives that matter are ruled out; do not continue theorizing.
  • Over-application guard: do not narrate observe→question without competing causes; do not treat fewest assumptions as proof; do not run this skill when a single obvious cause is already evidenced.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use when search or investigation could run forever. Set an explicit good-enough threshold first, then stop at the first option that clears it.

中文简介正在准备中。当前显示原文说明。

tjboudreaux/cc-thinking-skills16612026年8月8日 更新

Use when a specific claim may lack grounding. Check evidence boundary, size wrongness cost, then answer, fetch, or abstain — never confabulate.

中文简介正在准备中。当前显示原文说明。

tjboudreaux/cc-thinking-skills16612026年8月8日 更新

When the right response mode is unclear, classify the cause-effect domain first; decompose disorder.

中文简介正在准备中。当前显示原文说明。

tjboudreaux/cc-thinking-skills16612026年8月8日 更新

Under genuine uncertainty with no reliable forecast, inventory means, cap downside at affordable loss, act for commitments, and let goals emerge from controllable moves.

中文简介正在准备中。当前显示原文说明。

tjboudreaux/cc-thinking-skills16612026年8月8日 更新

When a constraint is treated as fixed, separate physics from convention, keep only independently supported primitives, and rebuild the simplest solution that satisfies real constraints.

中文简介正在准备中。当前显示原文说明。

tjboudreaux/cc-thinking-skills16612026年8月8日 更新

When a fault is localized and the proximate cause is known but the systemic root is not, chain evidence-linked whys with a counterfactual stop and a countermeasure.

中文简介正在准备中。当前显示原文说明。

tjboudreaux/cc-thinking-skills16612026年8月8日 更新

查看 tjboudreaux 的全部技能

报告此技能的问题