
- Updated
Plan an A/B test properly
This prompt helps you plan an A/B test on what you are testing, given the current performance and your traffic.
Help me plan an A/B test on [WHAT I AM TESTING]. Current performance: [BASELINE METRIC] Traffic per week: [VISITORS] Change I want to test: [CHANGE] Write the hypothesis, the primary and guard-rail metrics, the sample size or duration needed, how to split traffic, common mistakes to avoid and how to decide the result.
Decide the success metric and sample size before you look at any results.
Get a better result
A test plan with a hypothesis, a primary metric and guard-rail metrics, the sample size or duration, how to split traffic, common mistakes and a clear rule for deciding the result.
Most A/B tests fail before they start, from no clear hypothesis, too little traffic or peeking at results. The prompt asks for each piece up front: the hypothesis, a primary metric with guard-rail metrics, the sample size or duration from your real traffic, and how you will decide. Listing common mistakes makes the plan defensive, and the tip is the key rule: decide success before you look.
You stop the test as soon as one side looks ahead.
Fix: Set the sample size or duration first, as the tip says, and wait until it ends.
- You change two things at once. Test one change so you know what caused the result.
- The traffic is too low for the effect. Give the real weekly visitors and baseline, and accept if the plan says the test needs longer or a bigger change.
Ask for a one-page template to record the result, the size of the change, any surprises and what you will test next.
Write the hypothesis and the decision rule as two sentences I can share with the team before the test starts, plus the exact end date based on my traffic.
Guides that use this prompt
More chat & writing prompts
See all 465 →More like this
- Let an AI agent fix failing tests properlyClaude Code · Cursor
- A/B test ideas for email subject linesChatGPT · Gemini · Claude
- Declutter your home in 30 daysChatGPT · Gemini · Claude
- Long-distance relationship planChatGPT · Gemini · Claude
- Turn a fixed bug into a regression testClaude · ChatGPT · Claude Code



