ab-test-setup

Design and validate A/B tests with sample size and duration calculations.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/mikelmyers/danicleans --skill ab-test-setup-mikelmyers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-test-setup
Source: https://github.com/mikelmyers/danicleans/tree/main/.agents/skills/ab-test-setup
Command: npx skills add https://github.com/mikelmyers/danicleans --skill ab-test-setup-mikelmyers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Helps teams plan, design, and analyze A/B tests and experiments so results are statistically valid, interpretable, and actionable rather than anecdotal or misleading.

Core Features & Use Cases

  • Hypothesis Framework & Templates: Provides a clear hypothesis structure and ready-to-use templates for planning and documenting experiments.
  • Sample Size & Duration Guidance: Includes reference tables, calculators, and rules of thumb to determine required sample sizes and sensible test durations.
  • Design, Implementation & Analysis Checklists: Covers variant design, traffic allocation strategies, client/server implementation considerations, pre-launch QA, tracking verification, analysis checklists, and result interpretation.
  • Real-world Example: Use this to plan a pricing page test by defining the hypothesis, calculating sample size for the primary metric (plan selection rate), implementing variants, and following the analysis checklist to decide whether to implement a winner.

Quick Start

Plan an A/B test by providing baseline conversion rate, daily traffic, the minimum detectable effect you care about, the variant change and rationale, and the primary metric to measure.

Frequently Asked Questions about ab-test-setup

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

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

To calculate A/B test sample size and duration, you input your baseline conversion rate, daily traffic, and minimum detectable effect to generate required sample sizes and sensible test durations using reference tables and calculators.

What metrics should I track when designing an A/B test experiment?

When designing an A/B test experiment, you should track primary metrics for your main hypothesis, secondary metrics for additional insights, and guardrail metrics to prevent negative impacts on other areas of your product.

How do I structure a hypothesis for variant design?

To structure a hypothesis for variant design, you define the variant change, provide the rationale behind it, and specify the primary metric to measure, ensuring your hypothesis framework is clear, testable, and statistically valid.

Can I use this for both product and marketing experiment design?

Yes, you can use this for both product and marketing experiment design. It applies to product, marketing, and UX scenarios, covering traffic allocation strategies, implementation guidance, and result analysis across these contexts.

What steps are needed for pre-launch QA before starting an A/B test?

Pre-launch QA for an A/B test involves completing tracking verification, reviewing client and server implementation considerations, and checking variant design and traffic allocation strategies to ensure tracking is accurate before the experiment goes live.

How do I analyze A/B test results to decide if a variant is a winner?

To analyze A/B test results, you follow the analysis checklist to interpret the data, evaluate the primary metric against your hypothesis, and determine whether the results are statistically reliable enough to implement the winning variant.