experiment-framework

Design statistically rigorous A/B experiments with sample size calculations and metric definitions.

6|1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/vibbs/company-os --skill experiment-framework
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: experiment-framework
Source: https://github.com/vibbs/company-os/tree/main/.claude/skills/experiment-framework
Command: npx skills add https://github.com/vibbs/company-os --skill experiment-framework

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill brings statistical rigor to product experiments, preventing decisions driven by noise and ensuring that feature impact is accurately measured.

Core Features & Use Cases

  • Statistical Rigor: Ensures experiments have clear hypotheses, proper sample sizes, and structured analysis.
  • Metric Definition: Defines primary, secondary, and guardrail metrics to understand full impact.
  • Sample Size Calculation: Calculates necessary sample sizes based on baseline rates and desired MDE.
  • Use Case: When launching a new feature, use this Skill to design an A/B test that statistically validates its impact on conversion rates, while ensuring no critical guardrail metrics (like error rates) degrade.

Quick Start

Use the experiment-framework skill to design an A/B test for the new checkout flow, with a primary metric of conversion rate and a guardrail metric for page load time.

Frequently Asked Questions about experiment-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate sample size for an A/B test?

Sample size calculation for an A/B test requires baseline rates and a desired minimum detectable effect (MDE) to ensure statistical rigor. This framework uses those inputs to generate the necessary experiment specifications for validating product changes.

What are guardrail metrics in product experimentation?

Guardrail metrics in product experimentation are critical indicators monitored to ensure a new feature does not cause unintended harm, such as increased error rates or page load time degradation. They are defined alongside primary and secondary metrics during test design.

How do I design an A/B test to validate feature impact?

Designing an A/B test to validate feature impact involves defining clear hypotheses, structuring primary and guardrail metrics, and calculating proper sample sizes. This framework generates experiment specifications from inputs like PRD success metrics and feature flag specs.

Can I use this framework to analyze existing A/B test results?

Yes, you can analyze existing A/B test results by providing analytics configurations and outcome data. The framework applies statistical analysis to evaluate the impact, ensuring product decisions are driven by validated data rather than noise.

What inputs do I need to set up a statistically rigorous experiment?

Setting up a statistically rigorous experiment requires inputs like PRD success metrics, feature flag specs, and analytics configurations. These elements allow the framework to define hypotheses, calculate sample sizes, and structure the results analysis.

When should I use statistical analysis for A/B testing instead of simple conversion comparisons?

Statistical analysis for A/B testing is necessary when you need to prevent decisions driven by data noise and ensure feature impact is accurately measured. Use it to validate conversion rate changes and confirm that critical guardrail metrics do not degrade.