ab-test-designer
Design robust A/B test experiments. Use when testing a new feature, validating a hypothesis, or optimizing conversion rates.
When to Use
- Testing a new feature or design variation
- Validating a hypothesis before full rollout
- Optimizing conversion rates or key metrics
- Choosing between multiple design approaches
- Need to make a data-driven decision on a change
What This Skill Does
Helps you design rigorous A/B tests with clear hypotheses, success metrics, sample size calculations, and analysis plans.
Instructions
Help me design an A/B test for [feature/change]. Include:
-
Hypothesis
- Current situation and metrics
- Proposed change
- Expected impact and why
-
Test Design
- Primary success metric
- Secondary metrics
- Sample size needed
- Test duration
- User segments to include/exclude
-
Variants
- Control (A): current experience
- Variant (B): new experience
- Any additional variants (C, D, etc.)
-
Risks and Controls
- Potential negative impacts
- Guardrail metrics
- When to stop the test early
-
Analysis Plan
- Statistical significance threshold
- How to handle edge cases
- Decision criteria
Feature context: [Add context about the change you want to test]
Best Practices
- Start with a clear, falsifiable hypothesis
- Choose one primary metric to avoid multiple comparison issues
- Calculate sample size upfront based on expected effect size
- Run tests for full weekly cycles to account for day-of-week effects
- Set a minimum test duration (usually 1-2 weeks)
- Define success criteria before running the test
- Monitor guardrail metrics (revenue, errors, performance)
Example
Input: Testing new onboarding flow vs current 3-step process Output: Hypothesis (new 1-step flow will increase co...
Quick Install
Add this skill to your AI assistant in 3 simple steps. No coding required!
Create the skill file
Run this command to create the directory and SKILL.md file:
mkdir -p .claude/skills/ab-test-designer && touch .claude/skills/ab-test-designer/SKILL.md
This creates the directory and an empty SKILL.md file.
Open the skill file
Open the SKILL.md file in your favorite editor:
nano .claude/skills/ab-test-designer/SKILL.md
Or use code .claude/skills/ab-test-designer/SKILL.md for VS Code
Add the content
Copy the skill content and paste it into the SKILL.md file:
Then save the file. Now you can use the skill by typing /ab-test-designer in your AI assistant, or it will automatically use it when relevant.
Using a different AI assistant?
.claude/skills/
.opencode/skills/
Related Skills
Stakeholder Update Generator
Create compelling progress updates and release notes
PMF Survey (Product-Market Fit Survey)
Helps quantify product-market fit and systematically improve it. The PMF Survey framework (created by Sean Ellis, popula...
Trustworthy Experiments
Helps design, run, and interpret controlled experiments correctly. Based on Ronny Kohavi's framework from "Trustworthy O...