ab-testing

Designs and analyzes A/B tests and growth experimentation programs with statistical rigor.

Updated Aug 13, 2026
One-click install
npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill ab-testing-immamdouhaboammar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ab-testing
Source: https://github.com/imMamdouhaboammar/marketing-skills/tree/main/skills/ab-testing
Command: npx skills add https://github.com/imMamdouhaboammar/marketing-skills --skill ab-testing-immamdouhaboammar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Teams often run experiments without clear hypotheses, adequate sample sizes, or disciplined analysis, leading to false positives and wasted traffic. This Skill guides the planning, execution, and analysis of A/B tests so results are statistically valid and actionable. ## Core Features & Use Cases - Hypothesis & Test Design: Structures hypotheses with a formal framework, selects test types (A/B, A/B/n, MVT, split URL), and defines primary, secondary, and guardrail metrics. - Sample Size & Duration Planning: Provides quick-reference sample size tables, duration formulas, and sequential testing guidance via the references/sample-size-guide.md file. - Experimentation Program Management: Covers ICE prioritization, experiment velocity tracking, and playbook documentation using templates in references/test-templates.md. - Use Case: A marketer wants to test a new pricing page headline. The Skill calculates required sample size from baseline conversion and traffic, defines metrics, warns against peeking early, and produces a structured test plan. ## Quick Start Ask the agent to help design an A/B test for a specific page change, providing your current conversion rate and monthly traffic.

Frequently Asked Questions about ab-testing

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

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

Sample size depends on your baseline conversion rate, minimum detectable effect, 95% significance level, and 80% statistical power. The Skill provides quick-reference tables by baseline rate and lift, plus links to calculators like Evan Miller's and Optimizely's.

How long should I run an A/B test?

Divide total required sample by daily traffic to estimate duration, but run at least one full week to capture day-of-week variation. Avoid running longer than 4-8 weeks due to novelty effects and external factors.

Can I stop an A/B test early when results look significant?

Stopping early after peeking inflates false positive rates because early significance can reflect regression to the mean or audience mix shifts. Pre-commit to your calculated sample size, or use sequential testing methods in tools like Optimizely or PostHog.

What is the difference between A/B, A/B/n, and multivariate tests?

A/B tests compare two versions with one change, A/B/n tests multiple variants requiring roughly 1.5-2x more sample, and multivariate tests combine multiple elements simultaneously with dramatically higher traffic needs. Low-traffic sites should prefer sequential A/B tests.

What metrics should I track in an A/B test?

Define one primary metric tied to business value for calling the test, secondary metrics to explain why the change worked, and guardrail metrics to catch harm. For example, a pricing test might track plan selection rate, time on page, and refund rate.

What should I do when my A/B test result is inconclusive?

An inconclusive result usually means insufficient sample size or too small an effect to detect. Options include accepting a larger minimum detectable effect, testing a bolder variant, combining traffic across similar pages, or making the decision with qualitative data instead.