Not loaded · from ai-business-skills
Designs valid A/B tests with hypothesis, sample size, runtime, and significance calculations across Optimizely, VWO, Meta, and Google.
Claude Code won't load this skill
It ships in ai-business-skills at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Run experiments that produce decisions, not noise. Most "A/B tests" in marketing are underpowered, peeked-at, and badly hypothesized — meaning the team learns nothing and ships the louder variant.
A valid A/B test answers one question: "Did this change cause a real improvement, or am I seeing noise?"
To answer it credibly you need four things:
If any one of these is missing, you don't have an A/B test — you have a coin flip with extra steps.
Common newbie mistake: running a test for 3 days, seeing variant B 40% higher, declaring victory, and shipping. Three days is too short to absorb day-of-week effects, and small samples produce wild swings. Variant B may revert (or reverse) by day 14.
Read .agents/product-marketing-context.md if it exists. Audience size, average traffic, and current conversion rate determine whether a test is even feasible.
Ask up to 4 questions:
The cardinal rule. Change two things at once and you cannot attribute the result.
If you must test multiple changes, use a multivariate test (MVT) — but those need much more traffic (often 4×–8× a single A/B).
Format: "If we [change X], [metric Y] will increase by [Z%] because [reason]."
The "because" matters: if your hypothesis is wrong but the reasoning was sound, you've still learned something generalizable.
Don't stop early. Statistical tests need adequate data to distinguish signal from noise.
Run for whole weeks, not 3 days, not 10 days. Different weekdays produce different audience behavior — Monday B2B traffic is not Saturday DTC traffic.
Looking at results every hour and stopping when "B looks good" is the most common error in marketing experimentation. Early peeks combined with early stops dramatically inflate false positive rates.
Most marketing teams use 95% confidence (p-value < 0.05) as the bar.
For high-stakes tests (pricing, branding) consider 99% confidence (p < 0.01).
Write down:
A documented test history prevents your team from re-testing things that already failed and from forgetting why you made past decisions.
Sample size per variant ≈ 16 × p × (1 − p) / MDE²
where:
p = baseline conversion rate (e.g. 0.03 = 3%)
MDE = minimum detectable effect, in absolute terms
(e.g. 0.006 = lift from 3% to 3.6%)
This produces sample size for 80% power, 95% confidence, 50/50 split — sensible defaults for most marketing tests.
Current conversion rate is 3%. You want to detect a 20% relative lift (from 3% to 3.6%).
That's slow. Either run it (if the change matters), test something with a bigger expected lift, or get more traffic on the test surface.
Current open rate is 25%. You want to detect a 10% relative lift (to 27.5%).
| Daily volume | Conv. rate | Days needed | Test feasibility |
|---|---|---|---|
| < 100 | any | 2+ months | Skip — focus on traffic first |
| 100–500 | 2–5% | 3–6 weeks | Yes, but be patient |
| 500–2K | 2–5% | 2–3 weeks | Yes — ideal range |
| 2K–10K | 2–5% | 1–2 weeks | Yes — rapid iteration |
| 10K+ | any | days | Yes — multi-arm tests possible |
If volume is below 100/day, A/B testing is statistically wasted — concentrate on increasing traffic before running experiments.
Beyond simple A vs B:
For most teams: stick to A/B until traffic exceeds ~10K/day on the test surface.
Roughly 80% of visitors read the headline; 20% read the body. Optimizing the headline gives the largest expected lift per unit of effort.
Variations to try:
Easy to change, often 5–25% lift potential.
Variations:
| Tool | Best for | Cost |
|---|---|---|
| Meta Ads built-in A/B test | Creative, audience, placement on Meta | Free |
| TikTok Ads Split Test | TikTok ad creative and audience tests | Free |
| Google Ads Experiments | Google Ads campaigns and ad copy | Free |
| Optimizely Web | Enterprise web experimentation, sequential testing | $$$ enterprise |
| VWO | Mid-market web A/B + heatmaps | $199+/mo |
| Convert.com | Privacy-first web testing | $99+/mo |
| PostHog | Product feature flags + experiments + analytics | Free tier, generous |
| GrowthBook | Open-source A/B testing platform | Free / hosted plans |
| Statsig | Product experimentation with feature flags | Free tier |
| AB Tasty | Web experimentation + personalization | $$$ |
| Unbounce / Instapage | Built-in A/B for landing pages | $90+/mo |
| Custom (split URL) | Two pages, 50/50 redirect, GA4/Pixel attribution | Free |
Note: Google Optimize was sunset in September 2023. Migration paths: GA4 + a third-party platform (Optimizely, VWO, Convert) or PostHog/GrowthBook for product-led teams.
1. Build two versions of the page: /landing-a and /landing-b
2. Split traffic 50/50:
- Meta Ads: 2 ad sets, identical audience, different destination URLs
- Google Ads: 2 ads in the same ad group, identical targeting, different URLs
- Email: list-split feature in your ESP
3. Track conversions per variant:
- Meta Pixel custom event with parameter: page_version = "A" / "B"
- GA4 event with custom dimension
- PostHog feature flag exposure event
4. Run for the planned duration. Don't peek mid-test.
5. Export raw counts. Run significance test (calculator below).
Use a calculator. Recommended:
evanmiller.org/ab-testing/chi-squared.htmlabtestguide.com/calc/Inputs:
Outputs:
| p-value | Lift size | Decision |
|---|---|---|
| < 0.05 | > 5% | B wins — implement and document |
| < 0.05 | < 5% | Significant but small — weigh implementation cost |
| 0.05–0.10 | > 10% | Borderline — extend test if feasible |
| > 0.10 | any | No evidence — keep A or design a stronger test |
# A/B Test: [test name]
Created: [YYYY-MM-DD]
Owner: [name]
## 1. Hypothesis
"If we [change X], [metric Y] will increase by [Z%] because [reason]."
## 2. Variants
- Variant A (Control): [current state description]
- Variant B (Challenger): [changed state description]
- Single change: [the one element that differs]
## 3. Metrics
- Primary: [e.g. conversion rate]
- Secondary (guardrails): [e.g. bounce rate, time on page, AOV]
## 4. Sample size & duration
- Baseline (p): [%]
- Minimum detectable effect (MDE): [%]
- Sample needed per variant: [N]
- Daily traffic to test surface: [N]
- Estimated days to complete: [N]
## 5. Setup
- Tool: [Optimizely / VWO / PostHog / Meta built-in / custom]
- Variant A URL or asset: [...]
- Variant B URL or asset: [...]
- Tracking events: [list]
- Split ratio: 50/50
## 6. Timeline
- Start: [date]
- End (planned): [date]
- Review meeting: [date]
## 7. Results (filled in after test ends)
| Variant | Visitors | Conversions | Rate | Lift vs A |
|---------|----------|-------------|------|-----------|
| A | | | | — |
| B | | | | +X% |
p-value: [x]
95% CI on lift: [lower%, upper%]
Significant (p < 0.05): [Yes / No]
## 8. Decision
[Ship B / Keep A / Inconclusive — extend or redesign]
## 9. Action
[Implement variant B globally / Roll back / Schedule next iteration]
## 10. Lessons
[What this teaches generalizable for future tests]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (minhnv0807/ai-business-skills) — no native marketplace selected
npx claudepluginhub p/minhnv0807-ai-business-skills132 skills in this plugin
/00-ke-hoach-mktDung khi can ke hoach marketing tong the cho mot ky — muc tieu, phan khuc, kenh, ngan sach, timeline, KPI va ma tran rui ro. Co ca che do ban day du va che do ke hoach 1 trang cho chu doanh nghiep nho. Kich hoat khi user nhac 'lap ke hoach marketing', 'ke hoach MKT', 'marketing plan', 'chien luoc marketing nam', 'plan quy toi', 'ke hoach 1 trang'. Khong dung cho — tinh nguoc ngan sach tu doanh thu thi dung skill 10-tinh-kpi-nguoc; phan bo ngan sach chi tiet theo kenh thi dung skill 61-budget-planning; brief mot chien dich cu the thi dung skill 02-brief-chien-dich./00-marketing-plan-globalUse when the user needs an overall marketing plan for a period — objectives, segments, positioning, channel mix, content direction, budget, timeline, KPIs, and a risk matrix, adapted to US, EU, SEA, or LATAM. Trigger on 'marketing plan', 'marketing strategy for next year', 'go-to-market roadmap', 'plan for Q3', 'we have no marketing plan', 'where should we spend next quarter'. Also use when a founder only says the business needs to grow and has no idea which channel to start with. Not for — one specific campaign, see `02-campaign-brief-global`; working backward from a revenue goal to spend, see `10-reverse-kpi-global`; splitting a budget across channels and months, see `61-budget-planning-global`; taking a brand new product to market, see `59-go-to-market-global`./01-content-calendar-globalUse when the user needs a monthly or weekly content calendar — posting schedule per channel, funnel ratio, content pillars, repurposing matrix, and an owner per slot. Trigger on 'content calendar', 'posting schedule', 'what should we post this month', 'editorial calendar', 'social media plan', 'we post randomly with no plan'. Also use when the user only says the team keeps running out of things to post. Not for — the brief for one specific post, see `36-content-brief-global`; the caption text itself, see `37-social-caption-global`; deciding next period content from last period data, see `40-next-content-plan-global`; a paid campaign timeline, see `02-campaign-brief-global`./01-lich-noi-dungDung khi can lich dang bai cho ca thang — chot content pillar va ti le, xep bai theo ngay va khung gio, ma tran tai su dung noi dung, va gan muc tieu cho tung tru cot. Kich hoat khi user nhac 'lich noi dung', 'content calendar', 'thang nay dang gi', 'len lich dang bai', 'ke hoach content thang', 'phan bo noi dung'. Khong dung cho — brief tung bai truoc khi viet thi dung skill 36-content-brief; viet caption thanh pham thi dung skill 37-caption-social; lap plan ky sau tu data thi dung skill 40-next-content-plan./02-brief-chien-dichDung khi can brief mot chien dich cu the cho ca team thuc thi — muc tieu, thong diep, deliverable, timeline phan cong theo tuan, gate duyet va ma tran rui ro. Kich hoat khi user nhac 'brief chien dich', 'ke hoach campaign', 'len brief cho team', 'chien dich thang toi', 'phan cong campaign', 'timeline chien dich'. Khong dung cho — ke hoach marketing ca ky thi dung skill 00-ke-hoach-mkt; danh sach asset can thiet ke thi dung skill 41-campaign-asset-list; giao viec cho tung nguoi thi dung skill 64-team-brief./02-campaign-brief-globalUse when a specific campaign needs a brief the whole team can execute from — context, objective, audience, core message, creative direction, channels, deliverables, week-by-week timeline, approval gates, and risks. Trigger on 'campaign brief', 'creative brief', 'launch brief', 'brief the team on this campaign', 'we are running a promo next month', 'what is the plan for this campaign'. Also use when the user describes a promotion out loud and asks for something the team can actually run. Not for — the whole period plan, see `00-marketing-plan-global`; the list of design files needed, see `41-campaign-asset-list-global`; assigning work to one person, see `64-team-brief-global`; a new product launch sequence, see `59-go-to-market-global`.Other plugins' skills for the same job