Design statistically rigorous A/B tests
Experiment Designer Skill

Design statistically rigorous A/B tests and interpret experiment results. Use when asked to design an experiment, run an A/B test, calculate sample size, interpret test results, or assess whether an experiment was successful.
--- name: experiment-designer description: "Design statistically rigorous A/B tests and interpret experiment results. Use when asked to design an experiment, run an A/B test, calculate sample size, interpret test results, or assess whether an experiment was successful. Produces a complete experiment design with hypothesis, sample size, run time, success criteria, and risk flags — or a results interpretation with ship/iterate/kill recommendation." --- # Experiment Designer Skill Produce rigorous experiment designs from product hypotheses, and interpret results with statistical and practical significance — so you can defend every decision to a sceptical engineering lead or data scientist. ## Required Inputs Ask the user for these if not provided: **For experiment design:** - Hypothesis (what change, what metric, what expected movement) - Current baseline metric value - Minimum detectable effect (MDE) — the smallest lift worth caring about - Available daily sample size
Overview
Produce rigorous experiment designs from product hypotheses, and interpret results with statistical and practical significance — so you can defend every decision to a sceptical engineering lead or data scientist.
Manual install (npx, ZIP)
npx skills add mohitagw15856/pm-claude-skills --skill experiment-designer -g -a claude-codemkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/mohitagw15856/pm-claude-skills/tar.gz/f6ca79348c55 \
| tar -xz -C ~/.claude/skills --strip-components=2 pm-claude-skills-f6ca79348c55/skills/experiment-designerNew-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/46050317e4c85fbf3fbc/experiment-designer.zip" -OutFile "$env:TEMP\experiment-designer.zip"; Expand-Archive "$env:TEMP\experiment-designer.zip" -DestinationPath "$HOME\.claude\skills" -ForceConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md4.0 KB
Read the files here
mohitagw15856/
Show the full text78 lines
Experiment Designer Skill
Produce rigorous experiment designs from product hypotheses, and interpret results with statistical and practical significance — so you can defend every decision to a sceptical engineering lead or data scientist.
Required Inputs
Ask the user for these if not provided: For experiment design:
- Hypothesis (what change, what metric, what expected movement)
- Current baseline metric value
- Minimum detectable effect (MDE) — the smallest lift worth caring about
- Available daily sample size
For results interpretation:
- Control and variant results (raw numbers or percentages)
- P-value or confidence interval
- Run duration (days)
- Any anomalies observed during the test
Two-Phase Process
Phase 1: Experiment Design
- Restate hypothesis as: "If we [change], we expect [metric] to [move by X%] because [reason]"
- Define control and variant clearly
- Select primary metric (one only) and secondary guardrail metrics (2-3 max)
- Calculate required sample size from MDE and baseline
- Estimate run time in days
- Set pre-defined success criteria before the test runs — no moving goalposts
- Flag design risks: novelty effects, seasonal confounds, multiple testing issues, network effects, sample ratio mismatch
Phase 2: Results Interpretation
- Assess statistical significance (p < 0.05 threshold)
- Assess practical significance: was the lift meaningful for the business, not just real?
- Interpret confidence intervals
- Investigate confounding factors
- Recommend: Ship / Iterate / Kill / Run follow-up test
- Validate — Confirm the test ran for the full planned duration. Flag if it was stopped early (peeking problem). Confirm sample ratio mismatch did not occur.
Output Structure
[Design or Results header based on phase]
Hypothesis: "If we [change], we expect [metric] to [move by X%] because [reason]"
Primary metric: [One metric only] Guardrail metrics: [2-3 max] Required sample size: [n per variant] Estimated run time: [days] Pre-defined success threshold: [specific number] Design risk flags: [any concerns]
Results (Phase 2 only): Statistical significance: [p-value and conclusion] Practical significance: [lift size vs. business threshold] Recommendation: Ship / Iterate / Kill / Follow-up — [rationale]
Quality Checks
- Hypothesis specifies the change, the metric, the direction, and the reason
- Primary metric is singular — guardrail metrics are secondary
- Success criteria are defined before the test launches (not after seeing results)
- Test was not stopped early (or flagged clearly if it was)
- Practical significance assessed separately from statistical significance
- Sample ratio mismatch is checked in results interpretation
Anti-Patterns
- Do not define success criteria after seeing preliminary results — post-hoc success definitions are HARKing (Hypothesising After Results are Known) and invalidate the experiment
- Do not stop a test early because the result looks significant — early stopping dramatically inflates false positive rates; the test must run to the planned sample size
- Do not treat statistical significance as the same as practical significance — a p < 0.05 result with a 0.1% lift is real but may not be worth shipping
- Do not run the same experiment on the same population multiple times without correction — multiple testing inflates the chance of a false positive proportionally
- Do not use more than one primary metric — multiple primary metrics require multiple hypothesis corrections and make the ship/kill decision ambiguous
| 1 | |
| 2 | name experiment-designer |
| 3 | description "Design statistically rigorous A/B tests and interpret experiment results. Use when asked to design an experiment, run an A/B test, calculate sample size, interpret test results, or assess whether an experiment was successful. Produces a complete experiment design with hypothesis, sample size, run time, success criteria, and risk flags — or a results interpretation with ship/iterate/kill recommendation." |
| 4 | |
| 5 | |
| 6 | # Experiment Designer Skill |
| 7 | |
| 8 | Produce rigorous experiment designs from product hypotheses, and interpret results with statistical and practical significance — so you can defend every decision to a sceptical engineering lead or data scientist. |
| 9 | |
| 10 | ## Required Inputs |
| 11 | |
| 12 | Ask the user for these if not provided: |
| 13 | **For experiment design:** |
| 14 | Hypothesis (what change, what metric, what expected movement) |
| 15 | Current baseline metric value |
| 16 | Minimum detectable effect (MDE) — the smallest lift worth caring about |
| 17 | Available daily sample size |
| 18 | |
| 19 | **For results interpretation:** |
| 20 | Control and variant results (raw numbers or percentages) |
| 21 | P-value or confidence interval |
| 22 | Run duration (days) |
| 23 | Any anomalies observed during the test |
| 24 | |
| 25 | ## Two-Phase Process |
| 26 | |
| 27 | ### Phase 1: Experiment Design |
| 28 | Restate hypothesis as: "If we [change], we expect [metric] to [move by X%] because [reason]" |
| 29 | Define control and variant clearly |
| 30 | Select primary metric (one only) and secondary guardrail metrics (2-3 max) |
| 31 | Calculate required sample size from MDE and baseline |
| 32 | Estimate run time in days |
| 33 | Set pre-defined success criteria before the test runs — no moving goalposts |
| 34 | Flag design risks: novelty effects, seasonal confounds, multiple testing issues, network effects, sample ratio mismatch |
| 35 | |
| 36 | ### Phase 2: Results Interpretation |
| 37 | Assess statistical significance (p < 0.05 threshold) |
| 38 | Assess practical significance: was the lift meaningful for the business, not just real? |
| 39 | Interpret confidence intervals |
| 40 | Investigate confounding factors |
| 41 | Recommend: Ship / Iterate / Kill / Run follow-up test |
| 42 | **Validate** — Confirm the test ran for the full planned duration. Flag if it was stopped early (peeking problem). Confirm sample ratio mismatch did not occur. |
| 43 | |
| 44 | ## Output Structure |
| 45 | |
| 46 | **[Design or Results header based on phase]** |
| 47 | |
| 48 | *Hypothesis:* "If we [change], we expect [metric] to [move by X%] because [reason]" |
| 49 | |
| 50 | *Primary metric:* [One metric only] |
| 51 | *Guardrail metrics:* [2-3 max] |
| 52 | *Required sample size:* [n per variant] |
| 53 | *Estimated run time:* [days] |
| 54 | *Pre-defined success threshold:* [specific number] |
| 55 | *Design risk flags:* [any concerns] |
| 56 | |
| 57 | **Results (Phase 2 only):** |
| 58 | *Statistical significance:* [p-value and conclusion] |
| 59 | *Practical significance:* [lift size vs. business threshold] |
| 60 | *Recommendation:* Ship / Iterate / Kill / Follow-up — [rationale] |
| 61 | |
| 62 | ## Quality Checks |
| 63 | |
| 64 | [ ] Hypothesis specifies the change, the metric, the direction, and the reason |
| 65 | [ ] Primary metric is singular — guardrail metrics are secondary |
| 66 | [ ] Success criteria are defined before the test launches (not after seeing results) |
| 67 | [ ] Test was not stopped early (or flagged clearly if it was) |
| 68 | [ ] Practical significance assessed separately from statistical significance |
| 69 | [ ] Sample ratio mismatch is checked in results interpretation |
| 70 | |
| 71 | ## Anti-Patterns |
| 72 | |
| 73 | [ ] Do not define success criteria after seeing preliminary results — post-hoc success definitions are HARKing (Hypothesising After Results are Known) and invalidate the experiment |
| 74 | [ ] Do not stop a test early because the result looks significant — early stopping dramatically inflates false positive rates; the test must run to the planned sample size |
| 75 | [ ] Do not treat statistical significance as the same as practical significance — a p < 0.05 result with a 0.1% lift is real but may not be worth shipping |
| 76 | [ ] Do not run the same experiment on the same population multiple times without correction — multiple testing inflates the chance of a false positive proportionally |
| 77 | [ ] Do not use more than one primary metric — multiple primary metrics require multiple hypothesis corrections and make the ship/kill decision ambiguous |
| 78 |
Details
- Updated
- Sep 23, 2026
- License
- MIT
- Stars on the repo
- ★ 1,395
- Checked
- Source
- mohitagw15856/pm-claude-skills ↗
- Creator
- mohitagw15856 · 193 listings
Made with experiment-designer


Similar skills
See all →
SkillPlan, design, or implement an A/B test or experimentA/B Test Setup
SkillAnalyze A/B test results with statistical significanceAb test analysis
SkillGenerate and A/B test Google Ads copyAd Copy Generator + A/B Tester
SkillDesign statistically rigorous A/B tests for product featuresA/B Test Planner Skill
SkillDesign, plan, and analyze A/B tests with statistical rigorAb test setup
SkillOptimize, improve, or increase conversions on any marketingConversion Rate Optimization (CRO)More from mohitagw15856
SkillDesign a 360-degree feedback survey or write a structured360-Degree Feedback Template Skill
SkillDesign statistically rigorous A/B tests for product featuresA/B Test Planner Skill
SkillGenerate a WCAG 2.2 accessibility audit checklistAccessibility Audit Skill
SkillBuild a structured account plan for any key customerAccount Plan Skill
SkillOptimize an article for Answer Engine Optimization so AIAEO Optimizer Skill
SkillConduct a structured ethical review of an AI or ML featureAI Ethics Review Skill