Handles the scaffolding for setting up A/B tests in your marketing campaigns or product features. You'd reach for this when you need to split traffic between variants, track which version performs better, or just want to avoid reinventing the test infrastructure wheel. The straightforward approach here is nice because A/B testing setup is one of those things that sounds simple until you're three hours deep debugging why your control group isn't actually random. Saves you from that headache and gets you to the actual testing faster.

skills.sh installs
636
GitHub stars
29.5K
last updated
Aug 21, 2026

Install

$ npx -y skills add alirezarezvani/claude-skills --skill ab-test-setup --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Testing & QA, Data Science & ML, Productivity & Planning, Marketing & SEO, Design & UI/UX
First seen
Jun 3, 2026

More from alirezarezvani/claude-skills

All 267
1aradotso avatars800-vehicle-network-security-testingaradotso/security-skillss800 vehicle network security testing623skills.sh installs
2eyadkelleh avatarllm-testingeyadkelleh/awesome-skills-securityComprehensive LLM security testing prompts for bias detection, data leakage, alignment testing, and adversarial prompt resistance.584skills.sh installs
3testdino-hq avatarplaywright-pomtestdino-hq/playwright-skillPage Object Model patterns for Playwright — when to use POM, how to structure page objects, and when fixtures or helpers are a better fit.583skills.sh installs
4pedronauck avatarqa-executionpedronauck/skillsRuns real-user dogfooding sessions through the product's public interfaces: a persona walks a journey in the browser, takes a thematic tour, probes edges, hunts559skills.sh installs
5raphaelbarbosaqwerty avatarmaestro-e2eraphaelbarbosaqwerty/maestro-dev-skillsmaestro e2e537skills.sh installs
6aj-geddes avatartest-automation-frameworkaj-geddes/useful-ai-promptsDesign and implement scalable test automation frameworks with Page Object Model, fixtures, and reporting. Use for test framework, page object pattern, test arch504skills.sh installs