본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트29k · #9630

ab-test-setup

하는 일

이 스킬은 결과를 신뢰할 수 있도록 A/B 테스트와 다변량 테스트를 설계하도록 돕습니다. 실험을 운영하는 마케터, 제품 관리자, 성장 팀에 맞습니다.

사용하는 경우

  • ✓A/B, 분할, 다변량 테스트를 계획하거나 시작할 때.
  • ✓결과에 따라 행동하기 전에 테스트 결과가 유의미한지 알고 싶을 때.
  • ✓테스트의 주요 지표와 가드레일 지표를 정해야 할 때.

스킬 링크

https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/ab-test-setup/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/ab-test-setup/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“가격 페이지에 대한 A/B 테스트를 설정하고 싶어요. 명확한 가설과 적절한 표본 크기를 잡아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 목표와 기준 트래픽을 묻고, 계산기로 테스트 규모를 정하며, 테스트 시작 전에 가설, 지표, 중단 규칙을 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

Check for product marketing context first: If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Before designing a test, understand:

  1. Test Context - What are you trying to improve? What change are you considering?
  2. Current State - Baseline conversion rate? Current traffic volume?
  3. Constraints - Technical complexity? Timeline? 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

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

Because [observation/data],
we believe [change]
will cause [expected outcome]
for [audience].
We'll know this is true when [metrics].

Example

Weak: "Changing the button color might increase clicks."

Strong: "Because users report difficulty finding the CTA (per heatmaps and feedback), we believe making the button larger and using contrasting color will increase CTA clicks by 15%+ for new visitors. We'll measure click-through rate from page view to signup start."


Test Types

Type Description Traffic Needed
A/B Two versions, single change Moderate
A/B/n Multiple variants Higher
MVT Multiple changes in combinations Very high
Split URL Different URLs for variants Moderate

Sample Size

Calculate It (bundled tool)

Use this skill's own calculator — don't eyeball it:

python3 scripts/sample_size_calculator.py --baseline 0.05 --mde 0.20            # human-readable
python3 scripts/sample_size_calculator.py --baseline 0.05 --mde 0.20 --json    # for pipelines
python3 scripts/sample_size_calculator.py --baseline 0.05 --mde 0.20 --daily-traffic 2000  # adds test-duration estimate

Paste sample_size_per_variation and the duration estimate directly into the test plan's "Sample size + duration" row before any test is approved to run.

Quick Reference

Generated by sample_size_calculator.py (two-proportion z-test, α=0.05 two-tailed, 80% power; relative MDE):

Baseline 10% Lift 20% Lift 50% Lift
1% 163k/variant 43k/variant 7.7k/variant
3% 53k/variant 14k/variant 2.5k/variant
5% 31k/variant 8.2k/variant 1.5k/variant
10% 15k/variant 3.8k/variant 683/variant

Cross-check calculators (should agree with the script within rounding):

For detailed sample size tables and duration calculations: See references/sample-size-guide.md


Metrics Selection

Primary Metric

  • Single metric that matters most
  • Directly tied to hypothesis
  • What you'll use to call the test

Secondary Metrics

  • Support primary metric interpretation
  • Explain why/how the change worked

Guardrail Metrics

  • Things that shouldn't get worse
  • Stop test if significantly negative

Example: Pricing Page Test

  • Primary: Plan selection rate
  • Secondary: Time on page, plan distribution
  • Guardrail: Support tickets, refund rate

Designing Variants

What to Vary

Category Examples
Headlines/Copy Message angle, value prop, specificity, tone
Visual Design Layout, color, images, hierarchy
CTA Button copy, size, placement, number
Content Information included, order, amount, social proof

Best Practices

  • Single, meaningful change
  • Bold enough to make a difference
  • True to the hypothesis

Traffic Allocation

Approach Split When to Use
Standard 50/50 Default for A/B
Conservative 90/10, 80/20 Limit risk of bad varia
자주 묻는 질문

왜 표본 크기를 먼저 정하나요?

노이즈가 많은 결과로 테스트를 너무 일찍 끝내는 것을 막아 주며, 그렇지 않으면 잘못된 승자가 진짜처럼 보일 수 있습니다.

여러 변경을 동시에 테스트할 수 있나요?

스킬은 결과의 원인을 알 수 있도록 테스트 한 번에 한 가지만 다루라고 권장합니다.

가드레일 지표도 다루나요?

네. 주요 지표가 놓칠 수 있는 피해를 잡아내는 가드레일 지표를 포함합니다.

상세 정보

작성자의 원본 설명

Use before planning or launching any A/B, split or multivariate test, or when asked if a result is significant. Sizes the test with sample_size_calculator.py and writes the hypothesis, metric and stop rule first, so it is not called early on noise.

repo: alirezarezvani/claude-skills

인기도

GitHub 스타
29k
순위
#9630
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬