Ab test setup

From dangindev/antigravity-awesome-workspace-skill · View interactive version

Ab test setup is an AI agent skill from the GitHub repository dangindev/antigravity-awesome-workspace-skill. Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness.

How to use this skill

Skill file

A/B Test Setup

1️⃣ Purpose & Scope

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


2️⃣ Pre-Requisites

You must have:

Hypothesis Quality Checklist

A valid hypothesis includes:


3️⃣ 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.


4️⃣ Assumptions & Validity Check (Mandatory)

Explicitly list assumptions about:

If assumptions are weak or violated:


5️⃣ Test Type Selection

Choose the simplest valid test:

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


6️⃣ Metrics Definition

Primary Metric (Mandatory)
Secondary Metrics
Guardrail Metrics

7️⃣ Sample Size & Duration

Define upfront:

Estimate:

Do NOT proceed without a realistic sample size estimate.


8️⃣ 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.

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

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.