/product-experiments

An experiment with stable assignment, logged exposure and a decision rule set in advance.

Grow·Hypothesis → Test·MIT
$npx skills add tushaarmehtaa/tushar-skills --skill product-experiments -g -a claude-code -y

Then type /product-experiments in Claude Code, or describe the task and let it pick the skill.

What you get back recorded run · 9 Oct 2026

claude · tallyroom

Using /product-experiments
Don't ship Monday. The lift may come from users the test lost.
Claude Code 2.1.295·54s·1 file changed
  • My answer is no, don't ship Monday. The checklist arm does look better, but the test result isn't valid as it stands.
  • The arms are uneven. Assignment was meant to be 50/50, but control has 10,120 users and the checklist arm has 9,480. A gap that size is very unlikely to be chance (p ≈ 5×10⁻⁶). About 640 users are missing from the checklist arm.
  • The lift depends on those users. The primary metric (3 notes created by day 7) is up 2.0 percentage points: 37.0% vs 35.0%. If 35 or fewer of the 640 missing users would have reached 3 notes, the lift disappears.
CaveatIt worked only from a two-row summary CSV, so the Sept 6 to 8 crash check is still open.

Input → output from the run

Test results
variant,assigned_users,exposed_users,created_first_note_day1,created_3_notes_day7,active_week2,support_tickets_week1,median_onboarding_seconds
control,10120,10120,6578,3542,3036,142,212
checklist,9480,9480,6352,3507,2939,131,248
Readout
I wrote the readout to `results/readout.md`. My answer is no, don't ship Monday. The checklist arm does look better, but the test result isn't valid as it stands.

Why:

- The arms are uneven. Assignment was meant to be 50/50, but control has 10,120 users and the checklist arm has 9,480. A gap that size is very unlikely to be chance (p ≈ 5×10⁻⁶). About 640 users are missing from the checklist arm.

When to use it

Use when

Use when testing product behavior with flags, exposure tracking, staged releases or A/B tests.

Skip it when

Skip it if you want a ship call from underpowered data; it reports invalid or inconclusive instead.

The thinking behind it

Most tests prove nothing because the rules come after the data. Set the decision rule first, and every result tells you what to do.

Output contract from the skill's Output contract section

Return the applicable artifact:

  • experiment brief and analysis plan;
  • implementation changes and event schemas;
  • pre-launch validation report;
  • staged rollout/rollback plan;
  • analysis with data-quality checks, effect sizes, uncertainty, and limitations;
  • decision record with follow-up and flag cleanup.

How it checks its own work from the instructions

  • Assignment is stable and matches the intended unit
  • Exposure is deduplicated and joins to outcome events
  • Kill switch and rollback are tested
  • Sample-ratio mismatch and event completeness are checked

Requirements what it needs

Works in
Codex, Claude Code, Cursor
Needs
project files, terminal commands, network access

The instructions SKILL.md · 85 lines

Instructions & references

Back to overview ↑
SKILL.md · MIT

Product experiments

Turn a product question into a measurable decision. A feature flag without trustworthy exposure data and a decision rule is release control, not an experiment.

Choose a mode

  • Design: create an experiment brief and analysis plan.
  • Implement: add assignment, exposure tracking, metrics, and safeguards.
  • Rollout-only: release safely when causal inference is unnecessary.
  • Validate: audit instrumentation and assignment before launch.
  • Analyze: estimate effects and diagnose data-quality failures.
  • Conclude: decide ship, iterate, continue, or rollback and record why.

Keep design vendor-independent. Use an existing analytics/flag provider when present; add a new provider only when selected or explicitly authorized.

Experiment brief

Before implementation, record:

  • product decision and causal hypothesis;
  • mechanism: why treatment should change behavior;
  • eligible population and exclusions;
  • assignment unit, exposure unit, and identity transition rules;
  • control and variants, experiment key, and immutable version;
  • primary outcome with numerator, denominator, window, and direction;
  • guardrails and diagnostic metrics;
  • baseline, minimum detectable effect or smallest worthwhile effect, and uncertainty method;
  • minimum observation/maturity window and stop rules;
  • rollout stages, kill conditions, owner, and rollback path;
  • action triggered by positive, neutral, harmful, or invalid results.

If inputs are unavailable, state what can be designed now and what must be measured before launch. Do not invent power or duration.

Workflow

  1. Inspect the product, event taxonomy, identity model, analytics, flag system, existing experiments, and deployment constraints.
  2. Choose assignment and exposure units that match the causal question. Address anonymous-to-authenticated identity, group assignment, repeat exposure, interference, and concurrent experiments.
  3. Implement deterministic assignment or the provider's documented mechanism. Preserve assignment across requests and devices as required.
  4. Capture one deduplicated exposure record at the point treatment can affect behavior. Include experiment key, version, variant, subject, timestamp, and relevant context. Do not substitute flag evaluation for exposure.
  5. Instrument outcomes and guardrails with testable schemas. Verify that exposure joins to outcomes and that control/treatment event semantics match.
  6. Launch at a safe initial allocation. Monitor errors, latency, data loss, sample-ratio mismatch, and guardrails before widening.
  7. Analyze only after the planned maturity window unless a kill condition fires. Report effect size and uncertainty, not just significance. Check sample-ratio mismatch, missingness, novelty/carryover, peeking, multiple comparisons, censoring, and segment exploration.
  8. Conclude against the prewritten decision rule. Separate invalid, inconclusive, practically neutral, beneficial, and harmful results.
  9. Remove or graduate flags, document the decision, and verify the post-decision product state.

Provider guidance

  • If PostHog is already selected, read PostHog implementation if present. If it is absent, inspect installed versions and use current official documentation rather than copying remembered SDK code.
  • If the measurement layer is missing, use an available analytics capability or provide a minimal vendor-neutral event contract and identify the implementation blocker.

Safety

  • Do not expose users to security, privacy, billing, or irreversible-risk variants without appropriate review.
  • Minimize sensitive properties and define retention/access controls for experiment data.
  • Do not recommend shipping from underpowered or invalid data.
  • Never silently change the primary metric or exclusions after seeing results.

Output contract

Return the applicable artifact:

  • experiment brief and analysis plan;
  • implementation changes and event schemas;
  • pre-launch validation report;
  • staged rollout/rollback plan;
  • analysis with data-quality checks, effect sizes, uncertainty, and limitations;
  • decision record with follow-up and flag cleanup.

Verify

  • Assignment is stable and matches the intended unit.
  • Exposure is deduplicated, versioned, and recorded when treatment can act.
  • Exposure joins to outcome and guardrail events.
  • Control and treatment pass functional tests.
  • Kill switch, provider failure behavior, and rollback are tested.
  • Sample-ratio mismatch and event completeness are checked.
  • Analysis honors the registered population, windows, and decision rule.
  • Final decision includes practical significance, uncertainty, limitations, and cleanup.
View on GitHub ↗
Claude app, ChatGPT and ZIP download

local coding agent required

This skill requires project files, terminal commands, and network access. Uploading it to a chat app does not provide equivalent execution.

ChatGPT Skills

This workflow needs a local coding environment or capabilities that a chat-only Skills upload does not provide.

Package details
Package
product-experiments/SKILL.md
Author
@tushaarmehtaa
Added
20 Jun 2026
Tags
experimentsfeature-flagsposthogrolloutab-testingmeasurement