Ab test setup

From frank-luongt/faos-skills-marketplace · View interactive version

Ab test setup is an AI agent skill from the GitHub repository frank-luongt/faos-skills-marketplace. Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness. Use when planning experiments, defining test hypotheses, calculating sample sizes, or validating A/B test designs.

How to use this skill

Skill file

<!-- AUTO-GENERATED by export-skills.py — DO NOT EDIT -->


name: ab-test-setup

description: Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness. Use when planning experiments, defining test hypotheses, calculating sample sizes, or validating A/B test designs.


A/B Test Setup

Purpose & Scope

Ensure every A/B test is valid, rigorous, and safe before a single line of code is written.


Pre-Requisites

You must have:

Hypothesis Quality Checklist

A valid hypothesis includes:


Hypothesis Lock (Hard Gate)

Before designing variants or metrics, you MUST:

Ask explicitly:

"Is this the final hypothesis we are committing to for this test?"

Do NOT proceed until confirmed.


Assumptions & Validity Check (Mandatory)

Explicitly list assumptions about:

If assumptions are weak or violated:


Test Type Selection

Choose the simplest valid test:

Default to A/B unless there is a clear reason otherwise.


Metrics Definition

Primary Metric (Mandatory)
Secondary Metrics
Guardrail Metrics

Sample Size & Duration

Define upfront:

Estimate:

Do NOT proceed without a realistic sample size estimate.


Execution Readiness Gate (Hard Stop)

You may proceed to implementation only if all are true:

If any item is missing, stop and resolve it.


Running the Test

During the Test

DO:

DO NOT:


Analyzing Results

Analysis Discipline

When interpreting results:

Interpretation Outcomes

| Result | Action |

| -------------------- | -------------------------------------- |

| Significant positive | Consider rollout |

| Significant negative | Reject variant, document learning |

| Inconclusive | Consider more traffic or bolder change |

| Guardrail failure | Do not ship, even if primary wins |


Documentation & Learning

Test Record (Mandatory)

Document:

Store records in a shared, searchable location to avoid repeated failures.


Refusal Conditions (Safety)

Refuse to proceed if:

Explain why and recommend next steps.


Key Principles (Non-Negotiable)


Final Reminder

A/B testing is not about proving ideas right.

It is about learning the truth with confidence.

If you feel tempted to rush, simplify, or "just try it" --

that is the signal to slow down and re-check the design.

<!-- Source: .faos/custom/skills/business/ab-test-setup/SKILL.md -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.