/product-engineer:experiment-readoutfrom product-engineer
Analyzes finished A/B tests with validity checks (SRM, duration, exposure), computes lift, confidence intervals, and p-values, then recommends ship/iterate/rollback with a stakeholder summary.
Ships in product-engineer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The readout is where experimentation most often loses its value: a dashboard shows +4 % in green, someone ships, and nobody checks whether the test was valid or whether +4 % is noise. This skill checks validity before results, computes the numbers reproducibly, and states the decision together with its uncertainty.
Read experiment.md in the feature folder (docs/product/<feature-slug>/) for the pre-registered primary metric, guardrails, MDE, duration and segments. Without a spec, reconstruct it with the user and label the readout as post hoc.
Get raw numbers per variant: users (randomization units) and conversions, or users, mean and standard deviation for continuous metrics. Sources, in order of preference: a warehouse query, the experimentation or analytics tool's API or export, numbers the user pastes. Prefer raw counts to percentages copied from a dashboard.
Stop and report if a check fails. A result from an invalid test isn't weak evidence; it's no evidence.
Run the bundled script, in the scripts/ folder next to this file:
# Conversions: users and conversions per variant
python3 scripts/readout.py --control 48210 5302 --treatment 48655 5598 --mde 0.05
# Continuous metric: users, mean and standard deviation per variant
python3 scripts/readout.py --control-mean 48210 41.2 38.5 --treatment-mean 48655 42.0 39.1
It prints the SRM check, each variant's rate or mean, the absolute and relative differences with 95 % confidence intervals, the p-value, and a verdict against the MDE. Run it for the primary metric and for each guardrail.
For metrics whose unit differs from the randomization unit (revenue per order, clicks per session), this script underestimates the variance. Use the delta method or the experimentation platform's computation instead, and say so in the readout.
Read the confidence interval, not only the p-value:
| Interval for the relative lift | Meaning |
|---|---|
| Entirely above zero and above the MDE | Clear win |
| Above zero, but includes lifts smaller than the MDE | Real, possibly too small to be worth maintaining: judgment call |
| Includes zero, stays within ± MDE | Flat: no effect large enough to matter. A useful result |
| Includes zero and reaches beyond ± MDE | Inconclusive: the test was too small to tell |
| Entirely below zero | The change hurts |
Then:
Recommend one of:
Whatever the decision, create the task or PR that removes the flag. Dead flags are permanent complexity.
Add a ## Readout section to experiment.md (or write readout.md): validity checks, a results table for the primary metric and guardrails with the commands that produced it, the interpretation, the decision, and what was learned. Open it with a five-line summary for stakeholders: decision, primary result with its interval, guardrails, confidence, next step.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/ab-test-designDesign an A/B test that can answer its question — hypothesis, one primary metric, guardrails, randomization unit, minimum detectable effect, sample size and duration with a bundled calculator — decide whether a test is worth running at all, and implement the variant behind the project's feature-flag tool (GrowthBook, LaunchDarkly, Statsig, PostHog, Optimizely, Unleash or in-house flags). Use when asked to A/B test, experiment, split test, or validate a change with data before rolling it out./accessibility-auditAudit and fix accessibility in the product's real UI code against WCAG 2.2 AA — contrast, semantics, keyboard and focus, screen-reader names and announcements, forms and errors, motion, target size — combining the automated checks the project supports (axe, lint rules) with a manual review of what tools can't catch. Use when accessibility is questioned, before shipping user-facing UI, for a compliance review, or when ux-review flags accessibility issues./adoption-planPlan how users will discover, try, activate and keep using a feature — map entry points against the moments users need it, define the adoption funnel and the value moment, design empty states and onboarding, plan launch communication, and diagnose low adoption after launch. Use when launching or relaunching a feature, when a shipped feature is under-used, or when asked about discoverability, onboarding, activation or feature adoption./design-system-adoptionMeasure how much of a codebase actually uses its design system — token coverage versus hardcoded colors, spacing and font sizes, design-system components versus local re-implementations and forks — find the hotspots and the repeated patterns that should become components, and plan a ratcheted migration with lint rules and safe codemods. Use when asked whether the design system is used, why the UI is inconsistent, to inventory components, or to plan a design-system migration./design-system-extractExtract design tokens — color, typography, spacing, radii, shadows, motion, breakpoints — from a codebase, brand guide or screenshots into a tokens file in the project's own format (CSS variables, Tailwind theme, TypeScript or DTCG JSON), and report where the product disagrees with itself. Use when a project has no tokens yet, when asked to "extract tokens" or "build a design system from the code", or before measuring design-system adoption./feature-briefFrame a feature before it is built — the user problem, a job story, one success metric with baseline and target, the adoption hypothesis, a click budget for the happy path, scope cuts, and kill criteria. Use when starting a new feature, epic or ticket, when someone says "we should build X", or when a spec has no measurable goal.npx claudepluginhub trystan-sa/product-engineer-skills --plugin product-engineerOther plugins' skills for the same job