ab-test-designer

Designs A/B test plans with hypotheses, sample size calculations, and decision frameworks.

Updated May 18, 2026
One-click install
npx skills add https://github.com/fahadnari/Claude-skills --skill ab-test-designer-fahadnari
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ab-test-designer
Source: https://github.com/fahadnari/Claude-skills/tree/main/ab-test-designer/ab-test-designer
Command: npx skills add https://github.com/fahadnari/Claude-skills --skill ab-test-designer-fahadnari

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Product teams often launch A/B tests without clear hypotheses, adequate sample sizes, or pre-agreed decision criteria, leading to underpowered experiments and wasted time. This Skill produces a complete, statistically grounded test plan before launch. ## Core Features & Use Cases - Hypothesis Structuring: Formats test ideas into falsifiable if-then-because statements grounded in your product context files. - Sample Size Calculation: Computes required sample size and estimated duration from baseline rate, minimum detectable effect, significance, and power. - Metrics & Decision Framework: Defines one primary metric, secondary and guardrail metrics, plus a pre-registered action for every outcome. - Use Case: Before changing your onboarding flow, generate a full test plan that pulls the 45% baseline conversion from product.md, sizes the sample, and logs the result to a shared experiment log. ## Quick Start Ask the assistant to design an A/B test for your proposed change, providing the baseline metric and the minimum improvement worth detecting.

Frequently Asked Questions about ab-test-designer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design an A/B test with a proper hypothesis?▼

Structure the hypothesis as: if we make a change, then a metric will improve by an amount, because of a reason. The Skill formats your idea into this falsifiable statement and grounds it in context from your product and persona files.

How to calculate sample size for an A/B test?▼

Sample size depends on baseline conversion rate, minimum detectable effect, significance level (typically 95%), and power (typically 80%). The Skill uses these inputs with a standard calculator to produce required sample per variant and estimated test duration.

When should I use an A/B test versus another experiment type?▼

Use an A/B test when you can randomly split web or app traffic and need statistical significance. For pricing changes, feature betas, pilots, or fake doors where random assignment is impossible, use a general experiment design approach instead.

What metrics should an A/B test plan include?▼

Define one primary metric that determines success, secondary metrics to watch, and guardrail metrics that must not degrade. Multiple primary metrics create p-hacking risk, so the plan enforces a single primary.

Why do underpowered A/B tests waste time?▼

Underpowered tests lack enough samples to detect the target effect, so real improvements appear insignificant. Calculating sample size before launch ensures the test can actually detect the minimum effect worth acting on.