Skip to content

Structured experiment-design guide with a bundled sample-size calculator for planning A/B, split, and multivariate tests.

CCM score
68 of 100
skills.sh installs
659
GitHub stars
30.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers hypothesis writing, test-type selection, primary, secondary, and guardrail metrics, variant design, traffic allocation, and result analysis
  • Includes scripts/sample_size_calculator.py with --json output and a test-duration estimate, plus reference guides for sample sizes and test templates
  • Enforces a pre-committed sample size and bans early peeking, so results are not called before the test reaches its planned size
  • Designed for marketers and product teams planning conversion experiments who need statistically valid, actionable outcomes

Install

$ npx -y skills add alirezarezvani/claude-skills --skill ab-test-setup -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 .claude/product-marketing-context.md exists, 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

4. Measure What Matters

  • Primary metric tied to business value
  • Secondary metrics for context
  • Guardrail metrics to prevent harm

Hypothesis Framework

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Marketing, SEO & Ads, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the ab-test-setup skill do for an A/B test?

The ab-test-setup skill helps you plan, design and launch A/B, split or multivariate tests. It sizes the test with its bundled sample_size_calculator.py and writes the hypothesis, primary metric and stop rule before the test starts, so the result is not called early on noise.

Which phrases make the ab-test-setup skill load in Claude Code?

The ab-test-setup skill loads when you mention an A/B test, split test, experiment, multivariate test, hypothesis or statistical significance. It also loads when you say test this change or variant copy. For tracking implementation, the listing points to a separate analytics-tracking skill.

How do I install the ab-test-setup skill?

Run npx -y skills add alirezarezvani/claude-skills --skill ab-test-setup -y in your project. After that, ask the agent to plan or check an A/B test and the ab-test-setup skill will guide the sample size, metric and hypothesis.

Where does ab-test-setup stand in the Marketing, SEO & Ads category?

The ab-test-setup skill sits in the Marketing, SEO & Ads category on Claude Marketplaces, alongside seo-audit, content-strategy, marketing-psychology, ai-seo and programmatic-seo. It is the one of these focused on experiment design rather than search or content work.

More from alirezarezvani/claude-skills

All 259

Similar to Ab Test Setup

More Marketing, SEO & Ads