A/B Test Planner
Plans A/B tests you can trust, with sample size, run time, stopping rules and a clear readout of the result.
Claude's review
8/10 Rigorous A/B test planning with sample size maths, assignment code, SRM checks, peeking risks and interval readouts.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Plans a controlled experiment (A/B test) so its result can be trusted: writes the hypothesis, picks one primary metric and the guardrails, computes sample size and run time, specifies how visitors are assigned and when exposure is logged, and reads out the result with a confidence interval. Use when someone says "set up an A/B test", "split test this page", "how many visitors do I need", "how long should the experiment run", "is this result significant", "can I stop the test early", or wants to test a headline, price, layout or onboarding change against the current version.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: ab-test-setup
description: >-
Plans a controlled experiment (A/B test) so its result can be trusted: writes
the hypothesis, picks one primary metric and the guardrails, computes sample
size and run time, specifies how visitors are assigned and when exposure is
logged, and reads out the result with a confidence interval. Use when someone
says "set up an A/B test", "split test this page", "how many visitors do I
need", "how long should the experiment run", "is this result significant",
"can I stop the test early", or wants to test a headline, price, layout or
onboarding change against the current version.
license: Apache-2.0
compatibility: "Python 3.8+ (standard library only) for the calculator, Node.js 18+ for the assignment snippet. Works with any assignment tool: feature flags, GrowthBook, PostHog, Optimizely, Statsig, or a hash split in your own code."
metadata:
author: terminal-skills
version: "2.0.0"
category: business
tags: "ab-testing, experimentation, statistics, conversion, sample-size"
---
# A/B Test Setup
## Overview
An A/B test answers one question: did this change move this metric, or was it noise? The answer is only worth something when the sample size, the metric and the stopping rule were fixed before the first visitor arrived. This skill produces three things: a written experiment plan committed before launch, an assignment and logging spec a developer can implement, and a readout that states the effect as an interval instead of a "winner" badge.
Most failed tests fail on arithmetic that could have been done on day zero: the site does not have enough traffic for the effect the team hopes for. Do that arithmetic first.
## Instructions
### 1. Gather the inputs
Ask for what is missing, and look in the project for the rest (feature-flag SDK, analytics events, an `experiments/` folder with earlier plans):
- **The change and the evidence behind it.** Session recordings, support tickets, a funnel drop, a survey. "We want to try it" is allowed, but record that the prior is weak.
- **Unit of assignment.** Logged-in user, account, or anonymous visitor ID. Accounts when users inside one company would otherwise see different prices or features.
- **Primary metric and its baseline**, measured over the last 4 full weeks on the same population that will enter the test (same pages, same devices, same traffic sources).
- **Eligible units per week** — people who actually reach the changed element, not total site traffic.
- **Smallest lift worth shipping.** This is a business question: below what improvement would nobody bother to keep the variant?
- **What else is running** on the same pages, and any sale, launch or campaign planned during the run.
...From TerminalSkills's repository, Apache-2.0 licence.
Related skills
-
Checked
Brand voice profile
Builds a voice profile from your real content so all your copy sounds like your brand, then checks for drift.
7/101 credit -
Checked
Positioning and Messaging Framework
Turns customer evidence into a clear positioning and messaging document your sales team can write from in minutes.
7/101 credit -
Checked
Promotion design
Picks the promotion and wording, like gifts, bundles or pre-order offers, so sales lift without deep discounts.
7/101 credit -
Checked
Meta ads diagnosis
Diagnoses Meta ad campaigns using how the system really works, and tells you what to fix, test or make next.
7/101 credit -
Checked
Business Name Check
Tests a business name for bad meanings, pronunciation and trust in each target market, and suggests alternatives.
7/101 credit -
Checked
Feature adoption plan
Plans how people find, try and keep using a new feature, and shows exactly where adoption drops off.
7/101 credit