19 Ab Test Setup logo

19 Ab Test Setup

Community
minhnv0807
19-ab-test-setup

Dung khi can test co ky luat de biet phuong an nao thang that — chon dung mot bien de test, viet gia thuyet, tinh sample size, setup tracking, doc y nghia thong ke va ghi test log cho ads, landing page, email hoac gia. Kich hoat khi user nhac 'A/B test', 'split test', 'test creative', 'test copy', 'test landing', 'chay bao lau moi du ket luan', 'ban nao thang', 'test xong khong biet doc ket qua', 'ket qua co dang tin khong'. Khong dung cho — so dang xau va can chan doan nguyen nhan thi dung skill 03-danh-gia-hieu-suat; nhan ngan sach cho creative da thang thi dung skill 55-scaling-ads; ra soat toan bo trang khong ra don thi dung skill 68-cro-audit-trang.

Overview

Publisherminhnv0807
Repositoryai-business-skills
Skill name19-ab-test-setup
Stars
612
Forks
228
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by minhnv0807 on GitHub. Read the source before you install it.

Installation

Install the 19 Ab Test Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/minhnv0807/ai-business-skills/tree/master/skills/vi/19-ab-test-setup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/minhnv0807/ai-business-skills.git /tmp/ai-business-skills
mkdir -p .claude/skills
cp -r /tmp/ai-business-skills/skills/vi/19-ab-test-setup .claude/skills/19-ab-test-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 19 Ab Test Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 19 Ab Test Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 19 Ab Test Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

A/B Test Setup

Thu thap thong tin

Buoc 0: Kiem tra context

Doc .agents/product-marketing-context.md neu co.

Buoc 1: Hoi user

  1. Test cai gi? (Headline ads / Landing page / Email subject / Gia / CTA button / Creative video)
  2. Metric chinh? (CTR / Conversion rate / CPMess / Revenue / Open rate)
  3. Traffic hang ngay cua trang/ads? (De tinh sample size can thiet)
  4. Muc tieu test? (Tang X% metric chinh / Tim ra version tot nhat)

7 Nguyen tac A/B test

1. Test 1 bien duy nhat

Quy tac cot loi. Neu test 2 bien cung luc → khong biet bien nao tac dong.

  • XAU: Doi headline + doi CTA + doi anh → khong ket luan duoc
  • TOT: Chi doi headline (A vs B), moi thu khac giu nguyen

Mot ngoai le duy nhat — test hook video. Hook va doan on-ramp 3-15s ngay sau no la mot cap khong tach roi: doi hook ma bung nguyen than video cu se lam dut mach va hold rate sup, khien ket qua vo nghia. Khi test hook, viet lai on-ramp cho khop tung hook va ghi bien test la "hook + on-ramp". Chi tiet: references/hook-formulas-vn.md.

2. Gia thuyet co the kiem dinh

Format: "Neu lam [X], metric [Y] se tang [Z%]"

  • TOT: "Neu doi CTA tu 'Dang ky' sang 'Nhan tu van mien phi', conv rate tang 15%"
  • XAU: "Copy moi tot hon" (khong cu the, khong do duoc)

3. Sample size du

Khong duoc dung test som.

  • Toi thieu: 100 conversion moi variant (khong phai 100 visitor)
  • Tot nhat: Tinh truoc (xem cong thuc ben duoi)

4. Thoi gian du

Test tung tuan tron (khong 3 ngay, khong 10 ngay) — khach mua hanh vi khac nhau cac ngay.

  • Toi thieu: 7 ngay
  • Nen co: 14 ngay

5. Khong peek som

Khong check ket qua moi gio. Dung ket qua cho den khi het thoi han + du sample.

  • Peek som + stop som = false positive.

6. Significance > 95%

Chi tin khi p-value < 0.05. Neu khong: ngau nhien, khong phai do bien cua ban.

7. Documented

Ghi lai:

  • Gia thuyet
  • Ngay bat dau / ket thuc
  • Sample size
  • Ket qua
  • Ket luan

→ De sau nay ban khong test lai cai da test.


Cong thuc tinh Sample Size

Khong muon tinh tay, hoac dang bi ket khong biet test gi tiep: doc references/sample-size-va-y-tuong-test.md — co bang tra sample size da tinh san, loi thoat khi traffic qua thap, va ngan hang 70+ y tuong test kem gia thuyet theo tung be mat.

Cong thuc don gian

Sample size/variant =
  16 × p × (1-p) / MDE²

Trong do:
  p = Baseline conversion rate hien tai (vi du 0.02 = 2%)
  MDE = Minimum Detectable Effect (muc do thay doi toi thieu ban muon phat hien, vi du 0.2 = 20% tang)

Vi du

Landing page hien co conv rate 3%, muon phat hien thay doi 20%+:

  • p = 0.03
  • MDE = 0.2 × 0.03 = 0.006 (tuc tang tu 3% len 3.6%)
  • Sample size = 16 × 0.03 × 0.97 / 0.006² = 12,933 visit/variant

=> Can 25,866 visit total, neu 500 visit/ngay → 52 ngay.

Landing page hien conv rate 10%, muon phat hien 20%+:

  • p = 0.10
  • MDE = 0.02 (tu 10% len 12%)
  • Sample size = 16 × 0.10 × 0.90 / 0.02² = 3,600/variant

=> 7,200 visit total, 500/ngay → 14 ngay (kha thi).

Quy tac nhanh

Traffic/ngayConv rateThoi gian canCo nen test?
< 100 visitBat ky2+ thangKhong — traffic thap
100-5002-5%3-6 tuanCo, nhung kien nhan
500-2K2-5%2-3 tuanCo — ly tuong
2K+Bat ky1-2 tuanCo — nhanh

Neu traffic thap (< 100/ngay) → khong test, thay vao do tap trung tang traffic truoc.


8 Yeu to nen test (uu tien)

1. Headline

Tac dong cao nhat. 80% nguoi doc headline, 20% doc body → headline thay doi toi uu = bien nho nhat.

Idea:

  • Question vs Statement
  • Number specific vs generic
  • Outcome-focused vs Feature-focused
  • Short (5-7 tu) vs Long (12-15 tu)

2. CTA Button

Do thay doi duoc de test. Thuong tang 5-25%.

Test:

  • Text: "Dang ky" vs "Nhan tu van mien phi" vs "Bat dau ngay"
  • Color: Xanh primary vs Do vs Cam
  • Size: Standard vs Lon
  • Position: Tren cung vs Cuoi trang

3. Hero Image / Video

Test:

  • Anh san pham vs Anh nguoi dung
  • Video vs Anh tinh
  • Testimonial video vs Demo video

4. Price Display

Test:

  • 299K vs 299,000 vs 299.000đ
  • Co discount strikeout vs khong
  • Monthly vs Yearly highlight

5. Social Proof

Test:

  • So con so vs Review chi tiet
  • Logo bao chi vs So khach
  • Testimonial video vs text

6. Form Fields

Test:

  • 3 fields vs 5 fields vs 7 fields
  • Label tren vs ben trai
  • Placeholder example vs khong co

7. Email Subject Line

Test:

  • Question vs Benefit
  • Personalization ([Ten]) vs Khong
  • Emoji vs Khong (VN: khong emoji tot hon)

8. Ad Creative

Test:

  • Hook 3s dau khac nhau
  • UGC vs Brand
  • Format: Single image vs Carousel vs Video

Ma tran uu tien bien test

Khong test theo hung. Chon bien theo tac dong truoc, do de sau.

BienTac dong len ket quaDo kho thuc hienUu tienMetric chinh
Creative — hook 0-3sRat cao (quyet dinh CTR va CPM)De — chi doi 3 giay dau1Hook rate, CTR
Audience / tepCao (ai nhin thay ads)De — doi setting2CPM, CPL
Offer / CTARat cao (ho nhan duoc gi)Trung binh — can quyet dinh kinh doanh3CVR, CPL
Landing pageCao (trai nghiem sau click)Kho — can dev/design4CVR, bounce
Ad copy (than bai)Trung binhDe5CTR, CVR
Mau sac / font / chi tiet nhoThapDe6—

Quy tac: het bien uu tien 1 roi moi xuong 2. Dung nhay thang vao test mau nut khi hook chua bao gio duoc test.


Quy trinh test ads tren nen tang

Thu tu test creative (chay lan luot, khong chay song song)

VongTest giCach lamMetric doc
1Hook 0-3s3-5 hook khac nhau, giu nguyen than bai va CTA — Pain vs To mo vs Social proofHook rate
2FormatVideo doc vs Anh tinh vs CarouselCTR, CPM, CPL
3Goc nhinLoi ich vs Van de vs Bien doi (before-after)CTR, CVR
4Do dai15s vs 30s vs 60sWatch rate, CTR, CPL

Khung test tep

TestPhuong an APhuong an B
Broad vs InterestTep rong (de he thong tu tim)Interest cu the
Interest A vs B[Nhom so thich 1][Nhom so thich 2]
Do tuoi25-3435-44
Lookalike1% LAL3% LAL
Vi tri hien thiTu dongChi Feed

Ngan sach va thoi gian test

Hang mucNguong thuc dung
% ngan sach danh cho testing30% tong ngan sach (Testing 30% · Scale 50% · Retarget 15% · Lookalike 5%)
Ngan sach toi thieuDu de moi bien the ra it nhat 1 conversion/ngay — duoi muc nay test khong bao gio ket luan duoc
Thoi gian toi thieu7 ngay tron (khong 3 ngay, khong 10 ngay le tuan)
Sample toi thieu — test ads tren nen tang50 conversion/bien the (hoac 1,000 click neu test CTR)
Sample ly tuong — test landing page100 conversion/bien the, hoac tinh theo cong thuc o tren
Dung somChi dung truoc han khi 1 bien the CPL > 2x target sau 3 ngay — dung bien the do, khong dung ca test

Hai nguong sample khac nhau la co chu y: 50 la nguong thuc dung cho test ads (nen tang chay lien tuc, con nhieu vong test phia sau), 100 la nguong ly tuong khi test landing page (test 1 lan, sua xong kho lam lai).


Tieu chi winner va quy trinh quyet dinh

Du dieu kien ket luan khi dat CA 4

  • Da chay >= 7 ngay
  • >= 50 conversion moi bien the (hoac >= 1,000 click neu la test CTR)
  • Confidence >= 95% (p-value < 0.05)
  • Bien the thang cai thien metric chinh >= 15%

Bang quyet dinh

Ket quaQuyet dinhBuoc tiep
Winner ro (>= 15%, du data, p < 0.05)Scale winner, luu tru loser55-scaling-ads
Chenh lech < 15%Hoa — giu control, chuyen sang test bien khacQuay lai ma tran uu tien
Cac metric mau thuan nhau (VD: CTR B cao hon nhung CPL A tot hon)Theo metric chinh da chot tu dau, khong doi metric giua chung—
Chua du sample khi het thoi gianKeo dai them 3-7 ngay, hoac ket luan "khong du du lieu" va ghi vao log—
Ca 2 bien the deu te hon baselineVan de khong nam o bien dang test21-audit-ads-performance

Winner hom nay = baseline de test tiep. Khong co diem dung — moi vong test lay winner cu lam control moi.


Test log — nhat ky test tich luy

Bang nay quan trong khong kem ket qua tung test. Sau 6-12 thang, pattern trong log cho biet loai bien nao thuc su tao ra khac biet o nganh cua minh.

#Ngay bat dauNgay ket thucBien testControl (A)Variant (B)Metric chinhKet quap-valueUpliftHanh dongBai hoc
1Winner A / Winner B / HoaScale / Luu tru / Test lai
2

Ky luat ghi log

  1. Ghi ca test thua va test hoa. Test that bai la thong tin — no ngan minh test lai dieu da biet la khong hieu qua.
  2. Cot "Bai hoc" khong duoc de trong. Neu khong rut ra duoc gi thi thiet ke test do co van de.
  3. Ra soat log moi quy. Dem xem loai bien nao hay thang → uu tien loai do o quy sau.
  4. Toi thieu 1 test/thang neu du traffic. Khong test = khong cai thien, chi lap lai.

Setup tracking

Tool khuyen dung

ToolPhu hopChi phi
Meta Ads A/B test built-inTest ads (creative/audience/placement)Free
TikTok Ads Split testTest TikTok adsFree
Google Optimize (deprecated)Da ngung — dung thay the: VWO, Convert.comTu $199/thang
PostHogTest product features, landingFree tier OK
Unbounce / InstapageLanding page built-in A/B$90+/thang
Manual (split URL)Don gian, 50/50 URL redirectFree

Setup don gian (no-tool)

1. Tao 2 phien ban landing page: /page-a va /page-b
2. Split traffic 50/50:
   - Qua Meta Ads: 2 ad set cung audience, khac link dich
   - Qua Google Ads: 2 ad cung traffic, khac link
   - Qua organic: dung URL rewrite (rare)
3. Tracking conversion rieng tung page:
   - Meta Pixel: event "Lead" voi custom parameter "page_version" = A/B
   - GA4: UTM campaign=test-header, utm_content=a/b
4. Sau 14 ngay + du sample, export data

Phan tich ket qua

Tinh significance (p-value)

Dung calculator online: https://www.evanmiller.org/ab-testing/chi-squared.html

Input:

  • Variant A: Visitor count + Conversion count
  • Variant B: Visitor count + Conversion count

Output:

  • p-value: Neu < 0.05 → significant (95% confidence)
  • Uplift: Tang bao nhieu %

Ket luan

p-valueUpliftKet luan
< 0.05> 5%B thang — implement B
< 0.05< 5%Significant nhung nho — can nhac cost
0.05-0.10> 10%Ket qua borderline — keo dai test
> 0.10Bat kyKhong significant — giu A hoac test tiep

Bay thuong gap

  1. Peek som roi stop. Test ngan → ket qua ngau nhien.
  2. Sample khong deu. Neu split 30/70 thay vi 50/50 → kiem tra xem truyen thong co van de.
  3. Seasonality. Test T6 Chu nhat khac T2-T3 → luon test du tuan.
  4. Novelty effect. Phien ban moi thu hut chu y 2-3 ngay dau → sau do bang cu.

Output template

markdown
# A/B Test: [Ten test]
Ngay tao: [YYYY-MM-DD]
Chu so huu: [Ten nguoi]

## 1. Gia thuyet
"Neu [thay doi X], [metric Y] se tang [Z%]"

## 2. Bien test
- Variant A (Control): [Mo ta hien tai]
- Variant B (Challenger): [Mo ta thay doi]
- Chi thay doi: [1 thing]

## 3. Metric
- Primary: [VD: Conversion rate]
- Secondary: [VD: Bounce rate, Time on page]

## 4. Sample size & Duration
- Baseline: [p = %]
- MDE: [% change muon phat hien]
- Sample/variant: [so]
- Traffic/ngay: [so]
- Thoi gian can: [so ngay]

## 5. Setup
- Tool: [Ten]
- URL A: [...]
- URL B: [...]
- Tracking: [Meta Pixel / GA4 / PostHog events]
- Split: 50/50 (hoac khac ghi ro)

## 6. Timeline
- Start: [ngay]
- End: [ngay]
- Review: [ngay]

## 7. Ket qua (dien sau khi ket thuc)
| Variant | Visitors | Conversions | Rate | Uplift vs A |
|---------|----------|-------------|------|-------------|
| A | | | | — |
| B | | | | +X% |

p-value: [x]
Significant (p<0.05): [Yes/No]

## 8. Ket luan
[B thang / A thang / Khong significant]

## 9. Hanh dong
[Implement / Test tiep / Rollback]

## 10. Bai hoc
[Dieu hoc duoc → ap dung cho test sau]

Checklist chat luong

  • Chi test 1 bien
  • Co gia thuyet cu the voi so %
  • Sample size du (toi thieu 100 conv/variant)
  • Thoi gian du (toi thieu 1 tuan tron, ly tuong 2 tuan)
  • Khong peek som
  • p-value < 0.05 truoc khi ket luan
  • Document ket qua du thang hay thua
  • Toi thieu 1 test/thang neu traffic du
  • Bien dang test duoc chon theo ma tran uu tien — khong test chi tiet nho khi chua test hook
  • Test creative chay dung thu tu: hook → format → goc nhin → do dai
  • Ngan sach test nam trong 30% tong ngan sach, du de moi bien the ra >= 1 conversion/ngay
  • Da chot metric chinh TRUOC khi chay — khong doi metric giua chung
  • Winner phai cai thien >= 15% moi duoc goi la winner
  • Da ghi vao Test log, cot "Bai hoc" khong de trong

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 19 Ab Test Setup AI skill do?

Dung khi can test co ky luat de biet phuong an nao thang that — chon dung mot bien de test, viet gia thuyet, tinh sample size, setup tracking, doc y nghia thong ke va ghi test log cho ads, landing page, email hoac gia. Kich hoat khi user nhac 'A/B test', 'split test', 'test creative', 'test copy', 'test landing', 'chay bao lau moi du ket luan', 'ban nao thang', 'test xong khong biet doc ket qua', 'ket qua co dang tin khong'. Khong dung cho — so dang xau va can chan doan nguyen nhan thi dung skill 03-danh-gia-hieu-suat; nhan ngan sach cho creative da thang thi dung skill 55-scaling-ads; ra s...

Why use 19 Ab Test Setup on TypingMind?

Because you install it once and use it with any model. 19 Ab Test Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 19 Ab Test Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/minhnv0807/ai-business-skills/tree/master/skills/vi/19-ab-test-setup. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 19 Ab Test Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 19 Ab Test Setup?

As many as you like. As long as a model supports skills, you can use 19 Ab Test Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 19 Ab Test Setup AI skill free?

Yes. It is published on GitHub by minhnv0807 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇