Treat beliefs as provisional. Make predictions that could fail, run the cheapest honest test, and update explicitly when data arrives—especially disconfirming data.
When to Use
Product bets, performance claims, root-cause theories, or decisions where intuition and narrative outrun evidence.
Workflow
State the question and the current belief (prior) in plain language.
Form a specific, falsifiable hypothesis (“If X, then we will observe Y under conditions Z”).
Define in advance what would prove you wrong (pre-register success/failure signals).
Design the smallest experiment that resolves ambiguity (prototype, A/B, benchmark, spike, user session).
Collect data without moving the goalposts; log methodology limits.
Update the belief (Bayesian mindset: prior + likelihood of evidence); note residual uncertainty.
Document what was learned and the next test if still ambiguous.
Examples
Example 1: “Users want feature F”: hypothesis—if we ship a stub behind a flag, >30% of trials complete core task; otherwise pivot framing.
Example 2: “DB is the bottleneck”: predict p95 under controlled query set; if unchanged after index change, reject that theory and instrument elsewhere.
1---2name: hypothesis-testing3description: Hypothesis Testing4---5# Hypothesis Testing67Treat beliefs as provisional. Make predictions that could fail, run the cheapest honest test, and update explicitly when data arrives—especially disconfirming data.89## When to Use10- Product bets, performance claims, root-cause theories, or decisions where intuition and narrative outrun evidence.1112## Workflow131. State the question and the current belief (prior) in plain language.142. Form a specific, falsifiable hypothesis (“If X, then we will observe Y under conditions Z”).153. Define in advance what would prove you wrong (pre-register success/failure signals).164. Design the smallest experiment that resolves ambiguity (prototype, A/B, benchmark, spike, user session).175. Collect data without moving the goalposts; log methodology limits.186. Update the belief (Bayesian mindset: prior + likelihood of evidence); note residual uncertainty.197. Document what was learned and the next test if still ambiguous.2021## Examples22**Example 1:** “Users want feature F”: hypothesis—if we ship a stub behind a flag, >30% of trials complete core task; otherwise pivot framing.2324**Example 2:** “DB is the bottleneck”: predict p95 under controlled query set; if unchanged after index change, reject that theory and instrument elsewhere.
Run npx skillmds@latest add sethdford/hypothesis-testing in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Hypothesis Testing It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
sethdford (@sethdford) published this skill. Their other Agent Skills are listed on their SkillMD profile.