ab-testing
Skill này làm gì
Công cụ này giúp bạn lên kế hoạch và chạy thử nghiệm A/B (hay thử nghiệm chia đôi) để so sánh các phiên bản khác nhau của một thứ (như website hoặc quảng cáo) và tìm ra phiên bản nào hoạt động tốt hơn. Nó đảm bảo thử nghiệm công bằng và kết quả đáng tin cậy.
Khi nào nên dùng
- ✓Khi bạn muốn thử xem tiêu đề quảng cáo nào thu hút nhiều lượt nhấp hơn.
- ✓Khi quyết định đổi màu nút trên website có làm tăng doanh số không.
- ✓Khi muốn xây dựng một chương trình thử nghiệm liên tục cho sản phẩm số.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/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. Một bản ghi “Mua ngay!” và bản kia ghi “Tìm hiểu thêm”. Tôi nên dùng bản nào và thiết lập thử nghiệm ra sao?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ hướng dẫn bạn xác định rõ điều muốn thử (giả thuyết), thay đổi cụ thể nào cần thực hiện (mỗi lần một biến) và cách đo thành công một cách đáng tin cậy, tránh dừng thử nghiệm quá sớm.
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
When to Use
Use this skill when you need 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,"...
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
…
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ứ, hiển thị mỗi phiên bản cho một nhóm khác nhau của khán giả để xem phiên bản nào hoạt động tốt hơn.
Vì sao tôi không nên xem kết quả bất cứ lúc nào?
Xem kết quả quá sớm có thể khiến bạn tin vào một kết quả chỉ là may mắn. Quan trọng là đợi đến khi có đủ dữ liệu để chắc chắn.
Giả thuyết là gì?
Đó là một phỏng đoán có cơ sở về điều bạn kỳ vọng sẽ xảy ra. Ví dụ: “Tôi tin nút màu đỏ sẽ được nhấp nhiều hơn nút màu xanh vì nó nổi bật hơn.”
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.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #3629
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự á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.