a-b-test-design

Plan A/B experiments with hypotheses, variants, and success metrics.

3|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/hulusi-tunc/unicorn-skills --skill a-b-test-design-hulusi-tunc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: a-b-test-design
Source: https://github.com/hulusi-tunc/unicorn-skills/tree/main/.claude/skills/prototyping-testing--a-b-test-design
Command: npx skills add https://github.com/hulusi-tunc/unicorn-skills --skill a-b-test-design-hulusi-tunc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Plan rigorous A/B experiments by clearly defining hypotheses, variants, and success metrics.

Core Features & Use Cases

  • Structured Hypotheses: One-test-per-hypothesis with clear rationale
  • Variant Design & Metrics: Define control and treatment variants and primary/secondary metrics
  • Experiment Planning: Sample size calculations, significance, power, and run duration
  • Use Case: Optimize a landing page by testing a new CTA color while controlling other factors

Quick Start

Fill out a complete A/B test plan with a hypothesis, variants, metrics, sample size, and run duration.

Frequently Asked Questions about a-b-test-design

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

FAQPage Schema
How do I calculate sample size and run duration for an A/B test?

To calculate A/B test sample size and run duration, you need your baseline conversion rate, minimum detectable effect, statistical significance, and statistical power. Applying these parameters ensures your experiment runs long enough to capture reliable results without false positives.

What is the best way to structure hypotheses for product optimization experiments?

The best way to structure A/B test hypotheses is to enforce a one-test-per-hypothesis rule with a clear rationale. This approach defines specific control and treatment variants alongside primary and secondary success metrics to isolate variable impact on product optimization.

How do I plan A/B tests for landing pages and onboarding flows?

Plan A/B tests for landing pages and onboarding flows by defining clear variants, success metrics, and guardrails. This structured experimentation approach controls interfering factors while evaluating feature rollouts or new CTA designs for statistical significance.

Why do my A/B test results show false positives despite reaching statistical significance?

A/B test false positives often occur when statistical power and minimum detectable effect are not properly enforced during planning. Without accurate baseline conversion rates and guardrails, significance calculations can produce misleading product optimization outcomes.

Do I need guardrails and secondary metrics when designing A/B experiments?

Yes, you need guardrails and secondary metrics when designing A/B experiments to prevent negative downstream impacts. While primary metrics measure the target improvement, guardrails ensure the treatment variant does not harm other critical user behavior.