Ab Test Setup
Structured guide for planning, designing, and running A/B tests with statistically sound sample sizing and metric selection.
- CCM score
- 65 of 100
- skills.sh installs
- 356
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers hypothesis writing, test types (A/B, A/B/n, multivariate, split URL), sample size, duration, and result analysis
- Includes a hypothesis template, a sample size reference table, and pre-launch and in-test checklists
- Enforces pre-committed sample sizes and warns against peeking and stopping early at significance
- Designed for product and marketing teams choosing between client-side and server-side test implementations
Install
$ npx -y skills add davila7/claude-code-templates --skill ab-test-setup -yInstalls 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
Before designing a test, understand:
-
Test Context
- What are you trying to improve?
- What change are you considering?
- What made you want to test this?
-
Current State
- Baseline conversion rate?
- Current traffic volume?
- Any historical test data?
-
Constraints
- Technical implementation complexity?
- Timeline requirements?
- 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
- Save MVT for later
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
Structure
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Marketing, SEO & Ads, Testing & QA
- First seen
- Jun 3, 2026
Questions
What is the ab-test-setup skill for?
The ab-test-setup skill helps you plan, design, and implement A/B tests and experiments. It guides you toward a specific hypothesis, a single variable per test, a pre-set sample size, and a primary metric tied to business value.
How do I install the ab-test-setup skill?
Run npx -y skills add davila7/claude-code-templates --skill ab-test-setup -y in your project. Once installed, the agent can help you design variants, choose test types, and calculate sample sizes.
Which other skills sit alongside ab-test-setup in Marketing, SEO & Ads?
ab-test-setup is in the Marketing, SEO & Ads category, alongside seo-audit, content-strategy, marketing-psychology, ai-seo and programmatic-seo. The skill's own description points to analytics-tracking for tracking implementation, which is a separate concern.
Does ab-test-setup cover analytics tracking?
No, the skill itself points to analytics-tracking for tracking implementation. ab-test-setup focuses on the test design, hypothesis, variants, traffic allocation and result analysis.
More from davila7/claude-code-templates
All 398- Biopython354
- Deslop354
- Fda Consultant Specialist352
- Voice Ai Development352
- Voice Agents351
- Geo Database350
- Performance Profiling350
- Server Management350
- Email Systems348
- Browser Extension Builder342
- Launch Strategy342
- Bullmq Specialist338
- Discord Bot Architect338
- Stable Baselines3338
- Crewai337
- Nemo Curator336
- Railway Deploy335
- Aws Serverless334
- Lint And Validate334
- Move Code Quality333
- Zapier Workflows330
- Scikit Survival329
- Alphafold Database326
- Llm App Patterns326
Similar to Ab Test Setup
More Marketing, SEO & Adsa-b-test-designowl-listener/designer-skills2.5K installsStructured experiment design guide covering hypotheses, variants, metrics, sample size, and duration for quantitative tests.
ab-test-designerpmprompt/claude-plugin-product-management393 installsStructured prompt-and-checklist skill for designing A/B tests with hypotheses, metrics, and analysis plans.
ab-test-analysisphuryn/pm-skills3.1K installsRigorous A/B test analysis that checks power and guardrails before recommending ship, extend, or stop.
ads-testagricidaniel/claude-ads4K installsDesign and evaluate paid-ad experiments with pre-declared hypotheses, sample sizes, guardrails, and decision rules.
trustworthy-experimentspmprompt/claude-plugin-product-management353 installsRigorous A/B testing framework that checks whether experiment results can be trusted before acting on them.
measure-experiment-designproduct-on-purpose/pm-skills848 installsStructured experiment design document that defines variants, metrics, sample size, and duration before an A/B test launches.