ab-testing
ما الذي تفعله
تساعد على تخطيط اختبارات A/B (أو الاختبارات المنقسمة) لمقارنة نسختين، مثل موقع أو إعلان، ومعرفة أيهما يحقق نتائج أفضل. الهدف اتخاذ قرارات مبنية على البيانات.
متى تستخدمها
- ✓عندما تريد اختبار أي عنوان إعلان يحصل على نقرات أكثر.
- ✓عندما تقرر أي لون زر في موقع يؤدي إلى مبيعات أكثر.
- ✓عندما تسعى إلى تحسين معدل التسجيل في نموذج.
رابط المهارة
https://github.com/coreyhaines31/marketingskills/blob/main/skills/ab-testing/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد اختبار نسختين من عنوان لإعلان فيسبوك. أيهما يجب أن يحصل على نقرات أكثر؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يساعد الذكاء الاصطناعي على تحديد فرضية واضحة (ما تتوقع حدوثه)، واختيار ما يجب اختباره (شيء واحد فقط في كل مرة)، وحساب عدد الأشخاص الذين يجب أن يروا الاختبار، وتحديد طريقة قياس النجاح.
المحتوى التقني (ملف 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 .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
…
الأسئلة الشائعة
ما هو اختبار A/B؟
هو طريقة لمقارنة نسختين (A وB) من شيء ما، مثل صفحة ويب أو بريد إلكتروني، لمعرفة أيهما يؤدي أداءً أفضل وفق مقاييس محددة.
لماذا تُعد الفرضية مهمة؟
الفرضية تحوّل الاختبار من «دعنا نرى ماذا سيحدث» إلى توقع مبني على تفكير أو بيانات. فهي توجه الاختبار وتساعد على فهم النتائج.
هل يمكنني إيقاف الاختبار في أي وقت؟
لا يُنصح بذلك. فإيقاف الاختبار مبكرًا، قبل الوصول إلى عدد المشاركين المخطط له، قد يؤدي إلى استنتاجات خاطئة. من المهم أن تكون صبورًا وتلتزم بالخطة.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 55k
- الترتيب
- #3288
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ad-creative
55kيساعد وكيلك على إنشاء الإعلانات وتحسينها. مفيد لكتابة نصوص إعلانية أكثر فعالية لمنصات مختلفة.
ads
55kيساعد وكيلك في حملات الإعلانات المدفوعة. مفيد لإدارة الإعلانات على منصات مثل Google وFacebook.
ai-seo
55kيساعد وكيلك على تحسين المحتوى لنتائج البحث بالذكاء الاصطناعي. مفيد لظهور محتواك في الإجابات التي تولدها أنظمة الذكاء الاصطناعي.
analytics
55kيساعد وكيلك على إعداد تتبع البيانات وتحسينه. مفيد لفهم كيفية تفاعل المستخدمين مع موقعك أو تطبيقك.
مهارات مشابهة
competitive-platform-analysis
280kيساعدك على فهم منافسيك. يحدد الشركات المنافسة ويصنّفها ويصفيها قبل أي تحليل أعمق.
competitive-report-structure
280kينشئ تقارير شاملة عن المنافسين. يجمع المعلومات ليوضح الصورة العامة للسوق والتوصيات، ويساعد على توحيد رؤية الفريق.
lead-intelligence
280kيساعد وكيلك على إيجاد الأشخاص المهمين والتواصل معهم. يحلل العملاء المحتملين، ويقترح أساليب الوصول إليهم، ويدير التواصل عبر البريد ووسائل التواصل الاجتماعي.