Ab Test Design logo

Ab Test Design

Community
Productfculty-aipm
ab-test-design

Use this skill when the user asks to "design an A/B test", "how should I test this", "experiment design", "how do I run an experiment", "test this feature", "set up a split test", "how many users do I need", "statistical significance", "how do I know if this test worked", or wants to design a rigorous experiment to test a product hypothesis.

Overview

PublisherProductfculty-aipm
RepositoryPM-Copilot-by-Product-Faculty
Skill nameab-test-design
Stars
80
Forks
34
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Productfculty-aipm on GitHub. Read the source before you install it.

Installation

Install the Ab Test Design 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/Productfculty-aipm/PM-Copilot-by-Product-Faculty/tree/main/skills/ab-test-design
  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/Productfculty-aipm/PM-Copilot-by-Product-Faculty.git /tmp/PM-Copilot-by-Product-Faculty
mkdir -p .claude/skills
cp -r /tmp/PM-Copilot-by-Product-Faculty/skills/ab-test-design .claude/skills/ab-test-design
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ab Test Design 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 Ab Test Design 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 Ab Test Design 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 Design

You are helping the user design a rigorous A/B test — one that produces trustworthy, actionable results rather than ambiguous data. Most A/B tests in practice are designed poorly and lead to incorrect conclusions. The goal is to fix that.

Framework: Statistical testing principles, Lenny Rachitsky's experimentation guide, Ronny Kohavi (Trustworthy Online Controlled Experiments).

Step 1 — Load Context

Read memory/user-profile.md for product stage (pre-PMF products usually shouldn't be running A/B tests — qualitative research is more efficient) and analytics tool. Read context/company/analytics-baseline.md for baseline metrics needed for sample size calculation.

Pre-PMF warning: If the product is pre-PMF, flag: "A/B testing works best when you have enough traffic to detect effects and when the product direction is relatively stable. At this stage, qualitative user research often gives you more signal faster. Still want to proceed?"

Step 2 — Test Design Elements

For a well-designed A/B test, define each element:

Hypothesis: "If we [change], then [metric] will [increase/decrease] by [amount] because [reason]."

  • The hypothesis must be falsifiable (there must be a result that would prove it wrong)
  • The "because" is important — it forces you to think about the mechanism, not just the correlation

Primary metric (what the test will be judged on):

  • Must be the metric the feature is designed to move
  • Must be measurable within the test window
  • Must be sensitive enough to detect realistic effect sizes

Guardrail metrics (what must not get worse):

  • Core business metrics that should be protected even if the primary metric improves
  • Example: even if the new onboarding increases activation, it shouldn't tank 7-day retention

Control vs. treatment:

  • Control = current experience (baseline)
  • Treatment = new experience being tested
  • One change at a time — if multiple changes are made, it's impossible to know which caused the effect

Step 3 — Sample Size Calculation

Calculate the required sample size before starting the test:

Inputs needed:

  • Baseline conversion rate for the primary metric (from analytics-baseline.md or user input)
  • Minimum detectable effect (MDE): the smallest improvement worth caring about
  • Statistical power: 80% is standard (means 80% chance of detecting a real effect)
  • Significance level: 5% (p < 0.05) is standard (5% chance of a false positive)

Rule of thumb: To detect a 10% relative improvement with 80% power, you typically need ~1,600 users per variant. For a 5% relative improvement, you need ~6,400 per variant.

If the user doesn't have an analytics tool that does this automatically, provide the calculation: use the approximate formula or direct them to an online calculator.

Duration estimation: Users needed ÷ daily traffic to the tested area = test duration in days. Flag if this exceeds 4 weeks — tests longer than 4 weeks are at high risk of confounders.

Step 4 — Test Validity Checks

Before launching, verify:

  • No leakage: Users in control shouldn't be able to see the treatment experience
  • Consistent assignment: A user should always see the same variant
  • SRM check planned: Sample Ratio Mismatch (if the control and treatment don't have equal traffic, something's wrong)
  • Novelty effect consideration: New UI elements get extra attention initially — plan for this in the analysis window

Step 5 — Analysis Plan

Define before launch:

  • How long will the test run? (Set end date — don't peek and stop early)
  • Who is the final decision-maker?
  • What p-value counts as significant? (0.05 unless there's a reason otherwise)
  • What happens if the test is inconclusive? (No change, run longer, redesign?)
  • What happens if the treatment wins by exactly the MDE? (Ship, or run follow-up test?)

Step 6 — Output

Produce:

  • Hypothesis (falsifiable, with mechanism)
  • Test design summary (control, treatment, primary metric, guardrails)
  • Sample size requirement and estimated test duration
  • Validity checklist
  • Analysis plan
  • One thing that could invalidate this test if not controlled for

Frequently asked questions

What does the Ab Test Design AI skill do?

Use this skill when the user asks to "design an A/B test", "how should I test this", "experiment design", "how do I run an experiment", "test this feature", "set up a split test", "how many users do I need", "statistical significance", "how do I know if this test worked", or wants to design a rigorous experiment to test a product hypothesis.

Why use Ab Test Design on TypingMind?

Because you install it once and use it with any model. Ab Test Design 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 Ab Test Design in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Productfculty-aipm/PM-Copilot-by-Product-Faculty/tree/main/skills/ab-test-design. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Ab Test Design?

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 Ab Test Design?

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

Is the Ab Test Design AI skill free?

It is published on GitHub by Productfculty-aipm. Check the repository for licensing terms. 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 👇