agentleFS
rade-nugrohorade-nugroho/Agentic-Enteprises-Skill/ab-testing-engineer/SKILL.md

ab-testing-engineer

Skill9 starsChanged 6 months agoMITView on GitHub

Guides experimentation engineering for A/B and multivariate tests—hypothesis framing, primary/secondary/guardrail metrics, design (A/B, A/B/n, MVT), sample size and power, duration and seasonality, allocation and randomization units, SRM checks, instrumentation, analysis plans (frequentist and Bayesian workflow level), stopping rules, readouts, rollout/kill decisions, and experiment registry hygiene (sound statistical practice only). Use for "A/B test", "A/B testing engineer", "experiment design", "sample size calculator", "statistical significance", "power analysis", "split test", "experiment readout", "guardrail metrics", "SRM", "randomization unit", "experiment duration", "multivariate test", "holdout", or "experiment analysis". Not for analytics stack build (analytics-data-engineer), marketing copy (cmo-advisor), roadmap-only (cpo-advisor), ML model experiments (ml-research-engineer-safeguards), or privacy/legal review (compliance-engineer).

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write pre-registered analysis plans (frequentist and Bayesian workflow level)

    line 27
  2. Distinctive:

    Run readouts, interpret uncertainty, and recommend ship / iterate / kill / holdout

    line 28
  3. Distinctive:

    Document exclusions, mutual exclusion with other tests, and cooldown rules

    line 78
  4. Distinctive:

    Follow pre-registered analysis plan.

    line 94
  5. Distinctive:

    Run primary analysis with CIs.

    line 95

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

A/B Testing Engineer

When to Use

  • Frame hypotheses, success criteria, and decision rules before launch
  • Define primary, secondary, and guardrail metrics with clear ownership
  • Design A/B, A/B/n, or high-level MVT experiments with correct randomization units
  • Calculate sample size, power, MDE, and minimum runtime (seasonality, cycles)
  • Plan allocation, bucketing, exposure logging, and SRM monitoring
  • Align instrumentation with event taxonomy and analysis-ready tables
  • Write pre-registered analysis plans (frequentist and Bayesian workflow level)
  • Run readouts, interpret uncertainty, and recommend ship / iterate / kill / holdout
  • Maintain experiment registry hygiene and program operations

When NOT to Use

  • Build or operate warehouse pipelines, dbt models, or BI stack → analytics-data-engineer, data-warehouse-engineer
  • Executive dashboards and KPI storytelling without experiment design → bi-analyst
  • General ML modeling, causal inference beyond experiments, MLOps → data-scientist
  • Model training/eval A/B for ML systems (offline/online model comparison) → ml-research-engineer-safeguards, data-scientist
  • Marketing copy, campaigns, or channel strategy → communication-lead, cmo-advisor (if installed)
  • Product roadmap, portfolio prioritization without measurement design → product-management-monetization, cpo-advisor (if installed)
  • Weekly metrics review cadence without new experiment → metrics-review (if installed), bi-analyst
  • Legal privacy, consent, or regulatory sign-off for tracking → compliance-engineer, privacy-research-engineer-safeguards
  • Growth experiment ideation without statistical design → growth-marketer (if installed), marketing-analyst (if installed)

Related skills

NeedSkill
General ML, causal inference, production model evaldata-scientist
Warehouse metrics, dbt, analytics pipelinesanalytics-data-engineer
BI dashboards and metric definitionsbi-analyst
Business metrics and requirements framingbusiness-analyst
Product monetization and pricing experiments contextproduct-management-monetization
Model governance and ML experiment boundariesml-research-engineer-safeguards
Privacy engineering for event collectionprivacy-research-engineer-safeguards
Compliance controls for tracking and data usecompliance-engineer
Growth loops and channel tests (strategy)growth-marketer (if installed)
Campaign performance reportingmarketing-analyst (if installed)
Product strategy without experiment opsproduct-strategist (if installed)
Recurring metrics review ritualsmetrics-review (if installed)

Core Workflows

1. Hypothesis and metric contract

  1. State problem, user segment, and expected mechanism
  2. Lock one primary metric for the decision (pre-register)
  3. List secondary (learning) and guardrail (safety) metrics
  4. Define non-goals and segments that are out of scope for decision
  5. Agree rollout criteria: win threshold, guardrail breach, neutral band

See references/hypothesis_metrics_and_design.md.

2. Design and power

  1. Choose design type: A/B, A/B/n, factorial/MVT (high level), holdout
  2. Set MDE from business impact, not statistical convenience
  3. Compute per-variant sample size (α, power, one- vs two-sided)
  4. Estimate duration: traffic, allocation %, seasonality, full cycles
  5. Document exclusions, mutual exclusion with other tests, and cooldown rules

See references/sample_size_power_and_duration.md.

3. Randomization, instrumentation, and SRM

  1. Pick randomization unit (user, account, device, session—justify match to analysis)
  2. Define bucketing hash, sticky assignment, and cross-device policy
  3. Map exposure events to assignment logs; verify join keys
  4. Pre-launch QA: assignment distribution, latency, fallback behavior
  5. Monitor SRM and invariant checks during the run

See references/randomization_instrumentation_and_srm.md.

4. Analysis, readout, and decision

  1. Follow pre-registered analysis plan; intent-to-treat by default
  2. Run primary analysis with CIs; pre-defined segment slices only
  3. Apply multiplicity policy if multiple variants or metrics drive decisions
  4. Compare Bayesian vs frequentist readout needs with stakeholders
  5. Produce readout: effect, uncertainty, guardrails, recommendation, risks

See references/analysis_readout_and_decision.md.

5. Governance and program ops

  1. Register experiment in catalog (owner, dates, links, status)
  2. Enforce ethical constraints: no p-hacking playbooks, no optional peeking without correction
  3. Archive artifacts: config, power calc, analysis notebook, decision log
  4. Plan ramp, rollback, and long-term holdout if shipping

See references/governance_ethics_and_program_ops.md.

When to load references

TopicReference
Role boundaries and deliverablesreferences/ab_testing_engineer_scope.md
Hypothesis, metrics, design typesreferences/hypothesis_metrics_and_design.md
Sample size, power, durationreferences/sample_size_power_and_duration.md
Randomization, events, SRMreferences/randomization_instrumentation_and_srm.md
Analysis, readout, ship/killreferences/analysis_readout_and_decision.md
Registry, ethics, program opsreferences/governance_ethics_and_program_ops.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.