Ab plan

From anubhavg-icpl/vibe · View interactive version

Ab plan is an AI agent skill from the GitHub repository anubhavg-icpl/vibe. Design an LLM A/B test — pick platform (Statsig or GrowthBook), primary metric, guardrails, sample size with LLM-noise buffer, CUPED, sequential stopping, and multiple-comparison correction. Use when you need help with ab plan.

How to use this skill

Skill file

Given the feature change (prompt / model / generation parameter), baseline metrics, expected lift, and team posture (warehouse-native OSS vs bundled SaaS), produce an A/B plan.

Produce:

  1. Platform. Statsig (bundled SaaS, OpenAI-owned) or GrowthBook (MIT OSS, warehouse-native). Justify.
  2. Primary metric + guardrails. Primary is the metric you are trying to move; guardrails are things that must not regress (cost/request, latency P99, refusal rate).
  3. Sample size. Classical power calculation × 1.4 (LLM non-determinism buffer).
  4. Design. Fixed-horizon or sequential. Sequential if you expect strong signals; fixed if the change is subtle.
  5. CUPED. Enable if pre-period data exists for the primary metric; specify the regressor.
  6. Correction. Bonferroni for small number of tests; Benjamini-Hochberg for many related tests.
  7. SRM. Require SRM check on every experiment; halt and debug if flagged.

Hard rejects:

Refusal rules:

Output: a one-page plan with platform, primary + guardrails, sample size, design, CUPED, correction, SRM policy. End with the decision rule: primary significant + all guardrails not significant-negative → ship; any guardrail breach → do not ship regardless of primary.

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.