ab-test-setup

Plan and design A/B tests with hypothesis, metrics, and sample size calculations.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/tapanshah/Claude-Skills --skill ab-test-setup-tapanshah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-test-setup
Source: https://github.com/tapanshah/Claude-Skills/tree/main/marketing-skill/ab-test-setup
Command: npx skills add https://github.com/tapanshah/Claude-Skills --skill ab-test-setup-tapanshah

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users plan, design, and implement A/B tests or experiments to optimize marketing efforts and product features, ensuring statistically valid results.

Core Features & Use Cases

  • Hypothesis Generation: Guides users to formulate strong, testable hypotheses.
  • Metric Selection: Advises on choosing primary, secondary, and guardrail metrics.
  • Sample Size & Duration Calculation: Provides guidance and references for determining necessary test parameters.
  • Variant Design: Offers best practices for creating effective test variations.
  • Use Case: A marketing manager wants to improve the conversion rate of a landing page. They can use this Skill to define a clear hypothesis, determine the sample size needed, and plan how to measure the impact of a new headline and CTA.

Quick Start

Use the ab-test-setup skill to help plan an A/B test for a new website headline.

Frequently Asked Questions about ab-test-setup

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

FAQPage Schema
How do I design an A/B test for marketing conversion rate optimization?

To design an A/B test for marketing conversion rate optimization, you formulate a testable hypothesis, select primary and guardrail metrics, calculate the required sample size, and design variant layouts to measure impact with statistical significance.

What is a strong hypothesis for A/B testing a landing page?

A strong A/B testing hypothesis clearly defines the expected change, the target audience, and the measurable outcome. It connects a specific variant design modification to a predicted improvement in your primary conversion rate metric.

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

Calculating A/B test sample size and duration requires analyzing your baseline conversion rate, the minimum detectable effect size, and desired statistical significance level to ensure your experiment runs long enough for valid results.

What are primary, secondary, and guardrail metrics in experimentation?

Primary metrics in experimentation measure your main conversion rate goal, secondary metrics track additional behavioral shifts, and guardrail metrics ensure your test variations do not negatively impact critical business constraints.

When do I need statistical significance in A/B testing?

You need statistical significance in A/B testing to confidently determine that observed differences in conversion rates between variants are caused by your experimental changes rather than random chance or sample noise.

Can I use this approach for product feature experimentation?

Yes, you can apply these experimentation and variant design principles to product feature optimization. The statistical significance calculations and hypothesis testing methodology remain identical for both marketing and product use cases.