New guide:Claude skills vs prompt templates for marketing work
Chartroom Search

Home/Conversion and retention/A/B Test Planner

A/B Test Planner skill for Claude

The A/B Test Planner finds where your funnel loses people, turns each weak spot into a testable hypothesis, sizes the test before launch and helps you decide whether to ship, kill or extend it

A 3-minute read with a 6-step sample run and a 14 KB download, updated

Download the skill

Works in claude.ai and Claude Code

How it works

Step 1 of 7

Step 1 of 7

What it needs about your page

It starts with the page or flow, its current conversion rate and traffic, your funnel data and the testing tool you use

Step 2 of 7

Finds the biggest drop first

It looks for the step where most users leave, splits the funnel by device, source and geography, and uses session replays, heatmaps and form analytics to explain why

Step 3 of 7

One sentence per suspected problem

Each friction point becomes a statement with an observation, a change, a predicted outcome, a segment and a reason

Step 4 of 7

Ranks ideas with an ICE score

Every hypothesis gets 1 to 10 for impact, confidence and ease, and the top 3 to 5 go to testing next

Step 5 of 7

Works out sample and duration

From the baseline rate and the smallest lift you care about, it sets the sample per variant and a run of at least 2 weeks

Step 6 of 7

Decides what happens after the test

After the test it reads the result overall and by segment against criteria written before launch

Step 7 of 7

A markdown plan per test

You get a file named after the hypothesis, with the results and the lesson added once the test ends

In detail

Three kinds of audit

The quantitative pass reads funnel drop-off, segments, page speed and what people search for on the site or in Search Console. The qualitative pass asks for 20 or more session replays, heatmaps, surveys of people who abandoned, form analytics and support tickets. The heuristic pass checks whether the value proposition is clear in 5 seconds, whether each page has a single primary CTA, whether the form length fits the offer, and whether trust, objections and accessibility are covered.

How a hypothesis is written

Every idea follows one template: because of an observation, we believe a change will produce an outcome for a segment, because of a reason. A good one names a specific change, a measurable target, the evidence behind it and the mechanism that would make it work. A reference file holds 31 starting patterns across heroes, social proof, forms, pricing pages, checkout, onboarding, email and mobile, such as a free-shipping threshold in the cart or guest checkout.

Sizing the test before launch

The sample size comes from four inputs: baseline conversion rate, minimum detectable effect, power (usually 80%) and significance (usually 95%). The skill carries a quick table: at a 2% baseline, a 10% relative lift needs about 75,000 users per variant, while at 10% baseline and a 20% lift it needs about 3,500. Before launch it also fixes one primary metric, guardrail metrics that must not fall, a minimum and maximum duration, and the segments to check.

Reading the result

A variant ships only when it clearly wins at over 95% significance and beats the minimum effect. A clear loss is killed and the lesson recorded, and an inconclusive result means a larger test, a new angle or moving on. When a variant wins overall but loses for an important segment, the skill investigates that segment and may suggest a segment-specific fix.

Rules it follows

Limits written into the skill, with the reason for each

  • No A/B test under roughly 5,000 monthly conversions per variant; iterate with design and qualitative research instead

    Below that volume the test can't produce a reliable answer

  • Run until the planned sample is reached, and for at least 2 weeks to cover weekends and weekly patterns

    Stopping the moment significance appears pushes results toward false positives

  • Ship only at over 95% significance with a lift above the minimum effect, and never ship a tied variant

    A small lift with lots of variance may not repeat after rollout

  • Adjust the significance threshold, for example with Bonferroni, when several variants or metrics are tested at once

    Each extra comparison raises the chance of a false win

  • If a required number is missing, state the gap and never estimate it

    The plan says what was needed, what was obtained and which parts are affected

What it needs and what you get

What you provide

  • The page or flow to improve
  • Current conversion rate and traffic
  • Funnel data from your analytics
  • Your A/B testing tool
  • Optional: session replays, heatmaps, form analytics, survey answers

What you get back

A markdown test plan per hypothesis (cro-test-[hypothesis-slug].md) with the hypothesis, audit evidence, test design and ship, kill and extend criteria, plus results, decision and lesson once the test ends

  • A funnel audit with suspected friction points
  • Ranked test hypotheses, each tied to audit evidence
  • A markdown test plan per hypothesis, with results added after the test
  • Ship, kill or extend criteria written before launch
  • 31 hypothesis patterns for heroes, forms, pricing pages, checkout and onboarding

A piece of the output from the sample run

Step pass rate by device, last 90 days

StepMobileDesktop
Product view to cart16.0%19.4%
Cart to checkout55.0%69.0%
Checkout to shipping53.0%78.1%

Saved cro-test-shipping-cost-in-cart.md

  • Guardrails: AOV $38.40 must not fall over 3%, product-to-cart rate holds
  • Ship at 95% significance with a 15%+ lift after the full sample

When to use it

  • Checkout or signup drop-off rose and you need to know which step to test first
  • You want a test sized before launch, with a set end date
  • A test ended flat or split by segment and you need a decision

Sample run

One test task, shown exactly as it ran

Read the run as text

Mobile conversion is way below desktop. Here's our 90-day GA4 funnel by device. Audit it, rank test hypotheses and plan the top test. Shipping cost only shows at checkout

  • ga4-funnel-90d.csv21 rows

Using the skill cro-optimization

Reading 21 rows from ga4-funnel-90d.csv: 3 devices, 7 funnel steps, 239,000 users
Step pass rate by device, last 90 days
StepMobileDesktopGap
Product view to cart16.0%19.4%-3.4 pts
Cart to checkout55.0%69.0%-14.0 pts
Checkout to shipping53.0%78.1%-25.1 pts
Shipping to payment80.6%86.1%-5.5 pts
Payment to purchase75.0%84.5%-9.5 pts

Mobile is 70% of users but converts at 1.55% vs 4.71% on desktop. The widest gap is the shipping step, where the $6.95 fee first appears. At desktop's rate, about 2,050 more mobile shoppers would have reached shipping in 90 days.

Hypotheses ranked by ICE score
  • Show shipping cost and free-shipping bar in cart2414,820 mobile cart users
  • Express pay above the address form208,150 checkout users
  • Address form from 9 to 6 fields15no form analytics yet
Test design for the top hypothesis3 passed, 3 need a look
  • passed: Primary metric: mobile cart-to-purchase, baseline 17.6%
  • passed: 3,452 users per variant to detect a 15% lift
  • passed: About 6 weeks at 1,153 mobile cart users a week
  • needs a look: A 10% lift would need 13 weeks: too long
  • needs a look: Holiday traffic is atypical: launch Jan 5, not now
  • needs a look: No session replays or form analytics: cause inferred

Saved cro-test-shipping-cost-in-cart.md

  • Guardrails: AOV $38.40 must not fall over 3%, product-to-cart rate holds
  • Ship at 95% significance with a 15%+ lift after the full sample
  • Kill if worse or under 5% lift at 8 weeks
  • Next in line: express pay above the form

Example prompts

Our cart-to-checkout rate is 31% on mobile and 48% on desktop. Audit the funnel and give me three test hypotheses, ranked

Baseline signup rate is 3.2% and the page gets about 9,000 visits a week. How many visitors per variant do I need to detect a 15% lift, and how long will it take?

Our pricing page test finished: variant up 4% overall, down 6% on mobile, 92% significance. Should we ship it?

How to install

In claude.ai

Download ab-test-planner.zip, upload the zip as it is under Settings, Capabilities, Skills and ask for the job in a new chat

Step by step: Use skills in Claude

In Claude Code

unzip ab-test-planner.zip -d ~/.claude/skills/

For one project only, move the cro-optimization folder into .claude/skills/ inside it

Step by step: Claude Code skills docs

ab-test-planner.zipA 14 KB download with 4 files
  • cro-optimization/
  • CHANGES.md3 KB
  • SKILL.md17 KB
  • references/
  • hypothesis-library.md10 KB

Questions

Can the A/B Test Planner work on a low-traffic site?

Partly, since it checks sample size first and, if a page can't reach it, recommends design changes and qualitative research over a test that can't give a reliable answer

Does it run the test for me?

No, the A/B Test Planner writes the plan and reads the results, and you build and launch the variants in your own testing tool