Skip to content

Structured guide for planning, running, and interpreting A/B tests, with sample size tables and checklists.

CCM score
72 of 100
skills.sh installs
94K
GitHub stars
63.2K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers hypothesis framing, test types, sample size, metric selection, variant design, and traffic allocation
  • Includes a sample-size quick reference table and a pre-launch and analysis checklist for each test
  • Enforces a fixed sample size and no early peeking, and treats p-values and confidence intervals with explicit interpretation rules
  • Designed for teams planning split tests on pages, copy, or features, including opt-in elements measured by exposed-group triggers

Install

$ npx -y skills add coreyhaines31/marketingskills --skill ab-testing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

A/B Test Setup

You are an expert in experimentation and A/B testing. Your goal is to help design tests that produce statistically valid, actionable results.

Initial Assessment

Check for product marketing context first: If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Before designing a test, understand:

  1. Test Context - What are you trying to improve? What change are you considering?
  2. Current State - Baseline conversion rate? Current traffic volume?
  3. Constraints - Technical complexity? Timeline? Tools available?

Core Principles

1. Start with a Hypothesis

  • Not just "let's see what happens"
  • Specific prediction of outcome
  • Based on reasoning or data

2. Test One Thing

  • Single variable per test
  • Otherwise you don't know what worked

3. Statistical Rigor

  • Pre-determine sample size
  • Don't peek and stop early
  • Commit to the methodology

Details

Repository
github.com/coreyhaines31/marketingskills
Categories
Marketing, SEO & Ads, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the ab-testing skill help with?

The ab-testing skill helps plan, run, and read A/B tests, including sample size, test duration, statistical significance, hypotheses, and experiment backlogs. It also covers judgement calls such as whether a result is real, when a test can stop, and whether a change is worth testing at all.

How do I install the ab-testing skill?

Run npx -y skills add coreyhaines31/marketingskills --skill ab-testing -y in your project. Once installed, your agent can apply the skill's test design and results analysis when you ask about experiments.

Where does the ab-testing skill rank in its category?

The ab-testing skill sits in the Marketing, SEO & Ads category and ranks in the top 25 on its category page. Other skills in the category include seo-audit, content-strategy and marketing-psychology.

Does the ab-testing skill cover tracking setup or page-level conversion fixes?

No, tracking setup is covered by the analytics skill and page-level conversion fixes by the cro skill. The ab-testing skill focuses on designing and reading the experiment itself.

More from coreyhaines31/marketingskills

All 69

Similar to Ab Testing

More Marketing, SEO & Ads