--- description: Design an A/B experiment for a design hypothesis. argument-hint: "[hypothesis or design change to test, e.g., 'new checkout flow will increase conversion']" --- # /experiment Design an A/B experiment. ## Steps 1. **Hypothesis** — Structure the hypothesis using `a-b-test-design` skill. 2. **Variants** — Define control and treatment designs. 3. **Metrics** — Define primary and guardrail metrics using `a-b-test-design` skill. 4. **Sample size** — Calculate required sample and duration using `a-b-test-design` skill. 5. **User flows** — Map variant flows using `user-flow-diagram` skill. 6. **Analysis plan** — Define how results will be analyzed and decisions made. ## Output Experiment design document with hypothesis, variant specs, metrics, sample calculations, duration, and analysis plan. Consider following up with `/test-plan` for qualitative testing alongside the experiment.