ab-testing
Skill này làm gì
Giúp lên kế hoạch và chạy các thử nghiệm A/B (hay thử nghiệm chia đôi) để so sánh hai phiên bản của một thứ (như trang web hoặc quảng cáo) và xem phiên bản nào hoạt động tốt hơn. Mục tiêu là đưa ra quyết định dựa trên dữ liệu.
Khi nào nên dùng
- ✓Khi bạn muốn thử xem tiêu đề quảng cáo nào được nhiều lượt nhấp hơn.
- ✓Khi bạn quyết định màu nút nào trên trang web mang lại nhiều doanh số hơn.
- ✓Khi bạn muốn cải thiện tỷ lệ đăng ký trên một biểu mẫu.
Liên kết skill
https://github.com/coreyhaines31/marketingskills/blob/main/skills/ab-testing/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn thử hai phiên bản tiêu đề cho quảng cáo Facebook của mình. Phiên bản nào nên có nhiều lượt nhấp hơn?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI giúp xác định một giả thuyết rõ ràng (điều bạn kỳ vọng sẽ xảy ra), chọn điều cần thử (chỉ một thứ mỗi lần), tính xem cần bao nhiêu người xem thử nghiệm và xác định cách đo thành công.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), 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:
- Test Context - What are you trying to improve? What change are you considering?
- Current State - Baseline conversion rate? Current traffic volume?
- 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
Quick Reference
| Baseline | 10% Lift | 20% Lift | 50% Lift |
|---|---|---|---|
| 1% | 150k/variant | 39k/variant | 6k/variant |
| 3% | 47k/variant | 12k/variant | 2k/variant |
| 5% | 27k/variant | 7k/variant | 1.2k/variant |
| 10% | 12k/variant | 3k/variant | 550/variant |
Calculators:
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 variant |
| Ramping | Start small, increase | Technical risk mitigation |
Considerations:
- Consistency: Users see same variant on return
- Balanced exposure across time of day/week
Implementation
Client-Side
- JavaScript modifies page after load
- Quick to implement, can cause flicker
- Tools: PostHog, Optimizely, VWO
Server-Side
- Variant determined before render
- No flicker, requires dev work
- Tools: PostHog, LaunchDarkly, Split
Running the Test
Pre-Launch Checklist
- Hypothesis documented
- Primary metric defined
- Sample size calculated
- Variants implemented correctly
…
Câu hỏi thường gặp
Thử nghiệm A/B là gì?
Đó là phương pháp so sánh hai phiên bản (A và B) của một thứ, như trang web hoặc email, để xem phiên bản nào hoạt động tốt hơn dựa trên các chỉ số cụ thể.
Vì sao có giả thuyết lại quan trọng?
Giả thuyết biến thử nghiệm từ “cứ xem chuyện gì xảy ra” thành một dự đoán dựa trên lý luận hoặc dữ liệu. Nó định hướng thử nghiệm và giúp hiểu kết quả.
Tôi có thể dừng thử nghiệm bất cứ lúc nào không?
Không nên. Dừng thử nghiệm sớm, trước khi đạt số người tham gia đã lên kế hoạch, có thể dẫn đến kết luận sai. Điều quan trọng là kiên nhẫn và giữ đúng kế hoạch.
Chi tiết
Mô tả gốc của tác giả
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "gro
Độ phổ biến
- Sao GitHub
- 55k
- Vị trí xếp hạng
- #3288
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
ad-creative
55kGiúp agent của bạn tạo và cải thiện quảng cáo. Hữu ích để tạo nội dung quảng cáo hiệu quả hơn cho các nền tảng khác nhau.
ads
55kGiúp agent của bạn với các chiến dịch quảng cáo trả phí. Hữu ích để quản lý quảng cáo trên các nền tảng như Google và Facebook.
ai-seo
55kGiúp agent của bạn tối ưu nội dung cho tìm kiếm bằng AI. Hữu ích để nội dung của bạn xuất hiện trong các câu trả lời do AI tạo ra.
analytics
55kGiúp agent của bạn thiết lập và cải thiện việc theo dõi dữ liệu. Hữu ích để hiểu cách người dùng tương tác với trang web hoặc ứng dụng của bạn.
Skill tương tự
competitive-platform-analysis
280kGiúp bạn hiểu rõ đối thủ cạnh tranh. Công cụ xác định, phân loại và lọc các công ty cạnh tranh trước khi phân tích sâu hơn.
competitive-report-structure
280kTạo báo cáo đối thủ cạnh tranh toàn diện. Kết hợp thông tin để thể hiện bức tranh chung, đề xuất và giúp đồng đội thống nhất hướng đi.
lead-intelligence
280kGiúp agent tìm và liên hệ với những người quan trọng. Phân tích khách hàng tiềm năng, gợi ý cách tiếp cận và quản lý việc liên lạc qua email và mạng xã hội.