ToggleOps

Experiment Design

A discipline for designing experiments (A/B tests, multivariate, holdouts) so the results actually answer the question you asked.

Open in the library

What it does

A discipline for designing experiments (A/B tests, multivariate, holdouts) so the results actually answer the question you asked. Hypothesis writing, sample size, duration, segment analysis, running discipline, matching a result to a pre-committed decision rule, and the common failure modes that produce confidently wrong shipping decisions. Use this skill whenever the user is planning a test that has not run yet: framing a hypothesis, sizing the sample, setting duration, choosing guardrails, or deciding whether something is worth testing at all. Triggers on design an experiment, experiment plan, A/B test, split test, multivariate test, holdout, experiment hypothesis, sample size, minimum detectable effect, MDE, test duration, guardrail metric, no peeking, pre-committed decision rule, is this worth testing. Use `experimentation-analytics` instead when the test has already run and the question is how to read the result panel.

What’s inside

13files
90 KBin total
12,948words of method
293hard numbers
SKILL.md31 KB
Markdown · 262 lines · 4,486 words · sha 357daa03e27b
Experiment Design5 lines
What this skill covers4 lines
The framework: 12 considerations for trustworthy experiment resu15 lines · 13 numbers
Hypothesis discipline9 lines · 7 numbers
Sample size and minimum detectable effect7 lines · 5 numbers
Test duration6 lines · 2 numbers
What NOT to A/B test7 lines
Segment analysis5 lines · 1 number
Interaction effects5 lines
Ratio metrics and the delta method6 lines · 3 numbers
Network effects and two-sided markets5 lines · 3 numbers
Sequential testing and the peeking problem6 lines · 8 numbers
Pre-commitment vs p-hacking12 lines
Reading results and making the call10 lines · 4 numbers
Common failures and fixes10 lines · 3 numbers
If required data is unavailable2 lines
Reference files8 lines
Closing: when in doubt3 lines
CHANGES.md1 KB
Markdown · 11 lines · 160 words · sha 65bae215aab8
Changes made to the original4 lines · 5 numbers
ToggleOps packaging (2026-11-11, mechanical, no content changed)2 lines · 1 number
CREDITS.md435 B
Markdown · 7 lines · 50 words · sha 5fad3c5d207e
Credits4 lines · 3 numbers
DEMO.md259 B
Markdown · 4 lines · 45 words · sha b3537eb85935
Opening3 lines · 1 number
LICENSE1 KB
TAGS.md914 B
Markdown · 11 lines · 134 words · sha 432ac68e89bd
Experiment Planner9 lines · 13 numbers
references7 files · 55 KB
common-failures.md11 KB
Markdown · 184 lines · 1,540 words · sha 0c059512ada9
Common failures and fixes2 lines
1. The vague hypothesis5 lines
2. The novelty effect ship5 lines · 5 numbers
3. The post-hoc segment win5 lines
4. The peeking creep5 lines · 4 numbers
5. The guardrail violation overlook5 lines
6. The non-replicable result5 lines · 2 numbers
7. The campaign confound5 lines
8. The directional ship5 lines
9. The interaction effect blind spot5 lines
10. The selection bias ship5 lines
11. The internal traffic contamination5 lines
12. The metric definition mismatch5 lines · 2 numbers
13. The ratio metric variance error5 lines · 1 number
14. The "we will fix it later" rollout5 lines
15. The retroactive hypothesis4 lines
hypothesis-templates.md9 KB
Markdown · 96 lines · 1,213 words · sha e34cf0e22eb6
Hypothesis templates3 lines
Template 1: Conversion rate change9 lines · 13 numbers
Template 2: Engagement metric change (DAU, sessions, time-on-tas8 lines · 6 numbers
Template 3: Revenue metric change (ARPU, AOV, RPU)8 lines · 7 numbers
Template 4: Retention metric change8 lines · 14 numbers
Template 5: Funnel-step abandonment reduction8 lines · 9 numbers
Anti-templates: hypotheses that should be rejected6 lines · 1 number
platform-comparison.md10 KB
Markdown · 134 lines · 1,411 words · sha 0c287a49e0ed
Platform comparison3 lines
Statsig6 lines
PostHog6 lines · 3 numbers
GrowthBook6 lines · 1 number
Optimizely6 lines
Amplitude6 lines
Eppo6 lines · 2 numbers
Kameleoon6 lines
Decision matrix12 lines
Switching costs5 lines
post-experiment-decision-framework.md6 KB
Markdown · 92 lines · 962 words · sha e6ae462e0500
Post-experiment decision framework2 lines
Step 1: Confirm pre-commitment was followed7 lines
Step 2: Apply the pre-committed decision rule mechanically4 lines
Step 3a: If decision is "ship"5 lines · 7 numbers
Step 3b: If decision is "kill"5 lines · 4 numbers
Step 3c: If decision is "inconclusive"7 lines · 6 numbers
Step 4: Write the post-mortem within one week9 lines
Post-launch monitoring (the 30-day rule)10 lines · 8 numbers
pre-experiment-readiness-checklist.md5 KB
Markdown · 109 lines · 786 words · sha 4c642e86c8c2
Pre-experiment readiness checklist3 lines
1. Hypothesis written in cause-effect-magnitude-mechanism format3 lines
2. Primary metric defined with success threshold3 lines
3. Guardrails defined (3 to 5)3 lines
4. Sample size calculated for chosen MDE3 lines · 4 numbers
5. Duration committed (longer of sample-size-hit and full weekly3 lines · 2 numbers
6. Segments pre-registered (if any)3 lines
7. Decision rule pre-committed (saved with timestamp)7 lines
8. No conflicting concurrent experiments on the same surface3 lines
9. Instrumentation tested with a small canary8 lines · 2 numbers
10. Stakeholders aligned on what each outcome means3 lines
Decision7 lines · 10 numbers
results-interpretation-checklist.md7 KB
Markdown · 113 lines · 1,121 words · sha 150d49b5c07b
Results interpretation checklist2 lines
Step 1: Did the test run for the pre-committed duration?4 lines
Step 2: Did all guardrails stay within tolerance?4 lines
Step 3: Did the primary metric move beyond the MDE?4 lines · 2 numbers
Step 4: Was the confidence interval clean?4 lines
Step 5: Are the results consistent across pre-registered segment5 lines
Step 6: Did any external events potentially confound the results4 lines
Step 7: Is the magnitude practically significant, not just stati4 lines · 2 numbers
Step 8: Does the decision match the pre-committed rule?4 lines
Decision matrix8 lines · 2 numbers
Post-launch monitoring (the 30-day rule)6 lines · 7 numbers
sample-size-tables.md6 KB
Markdown · 89 lines · 1,040 words · sha 2997f71cc07d
Sample size tables7 lines
How to use these tables12 lines · 22 numbers
Table 1: Conversion rate experiments16 lines · 46 numbers
Table 2: Mean comparison experiments (continuous metrics)7 lines · 14 numbers
Common pitfalls in sample size planning6 lines · 6 numbers
When the math says "you cannot detect this"5 lines · 7 numbers

The text is never on this site. It loads into your Claude when a task needs it.

More skills

ExploreFor creatorsDiscordTermsPrivacy
Not affiliated with Anthropic. Claude is a trademark of Anthropic.
Get early access