measure-product-experiments
Skill0 starsChanged 5 months agoMITView on GitHub
Defines trustworthy product measurement, event contracts, data-quality checks, and experiments tied to explicit decisions. Use when creating a measurement plan, selecting product metrics and guardrails, specifying analytics instrumentation, evaluating a rollout or product change, or designing an ethical randomized or quasi-experimental test.
In this repository72 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agents-md-initSkill
- analytical-frameworksSkill
- appkit-accessibility-auditorSkill
- assess-security-controlsSkill
- audit-accessibilitySkill
- automated-security-reviewSkill
- changelogSkill
- check-ai-onboard-updatesSkill
- agents-sdkSkill
- cloudflare-email-serviceSkill
- cloudflare-oneSkill
- durable-objectsSkill
- sandbox-sdkSkill
- turnstile-spinSkill
- workers-best-practicesSkill
- wranglerSkill
- cobra-commandSkill
- competitive-intelSkill
- component-scaffoldSkill
- conduct-open-source-investigationSkill
- conduct-user-researchSkill
- conventional-commitSkill
- coordinate-data-viewsSkill
- core-data-expertSkill
- data-storytellingSkill
- datavizSkill
- debug-systematicallySkill
- define-brand-foundationSkill
- dependency-vuln-scanSkill
- design-and-build-websiteSkill
- design-product-contentSkill
- design-product-interfaceSkill
- develop-apple-platform-appSkill
- develop-test-firstSkill
- evolve-design-systemSkill
- gh-issueSkill
- gh-prSkill
- gh-releaseSkill
- identity-managementSkill
- input-sanitizationSkill
- manage-vulnerability-riskSkill
- map-attack-surfaceSkill
- market-researchSkill
- obsidianSkill
- pr-descriptionSkill
- preserve-web-evidenceSkill
- prisma-migrateSkill
- retrieve-technical-docsSkill
- secret-managementSkill
- secret-scanSkill
- secure-codingSkill
- security-auditSkill
- shape-product-opportunitySkill
- simplify-code-safelySkill
- swift-api-design-guidelinesSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 13 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read project instructions, product strategy, research, existing telemetry, data definitions, privacy rules, architecture, and prior …
- Distinctive: line 20
Use assets/measurement-plan-template.md for a durable plan.
- Distinctive: line 36
Do not use a convenient proxy without explaining why it should track the intended outcome and how it could be gamed.
- Distinctive: line 41
Read references/tracking-and-experiments.md when defining events, assignment, exposure, or experiment analysis.
- Distinctive: line 60
Test expected, duplicate, retried, offline, partial, failure, and cross-device cases.
- Distinctive: line 66
Do not analyze an experiment until assignment, exposure, eligibility, and primary metric integrity pass their predeclared checks.
- Distinctive: line 71
Prefer a randomized controlled experiment when assignment is ethical, feasible, and unlikely to create unacceptable interference.
- Distinctive: line 93
Check guardrails and practically important segment differences without uncontrolled result hunting.
- Distinctive: line 95
Consider novelty, seasonality, interference, survivorship, logging changes, and delayed outcomes.
- Very specific: line 99
Use shape-product-opportunity when results must update the opportunity or product bet.
- Distinctive: line 104
Do not define success from engagement alone when the product aims for a user outcome.
- Distinctive: line 105
Do not change the primary metric or stopping rule after inspecting results without labeling the analysis exploratory.
- Distinctive: line 107
Do not report causality from a before-and-after comparison alone.
- Distinctive: line 108
Never fabricate telemetry, baselines, sample sizes, statistical results, or experiment outcomes.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
Measure product experiments
Design measurement around a decision, not around the volume of events available. Preserve the distinction between observed association and causal effect.
Define the decision and causal model
- Read project instructions, product strategy, research, existing telemetry, data definitions, privacy rules, architecture, and prior experiments.
- State the decision, owner, population, context, alternatives, and date it must be made.
- Describe how the product change is expected to alter user behavior and the desired outcome.
- List alternative explanations, possible harms, spillovers, and delayed effects.
- Record the baseline, current evidence, unknowns, and what result would change the decision.
Use assets/measurement-plan-template.md for a durable plan.
Choose measures that match the decision
Define:
- outcome measure: the user or business condition the decision ultimately targets;
- leading measure: earlier evidence on the proposed mechanism;
- guardrails: harms or regressions that make apparent success unacceptable;
- diagnostics: measures used to explain implementation and segment differences;
- data-quality measures: evidence that exposure, events, joins, and windows are trustworthy.
For every metric, specify numerator, denominator, unit of analysis, eligible population, exclusions, time window, segmentation, source, owner, and known limitations. Prefer rates and distributions when totals hide exposure or inequality.
Do not use a convenient proxy without explaining why it should track the intended outcome and how it could be gamed.
Specify instrumentation as contracts
Read references/tracking-and-experiments.md when defining events, assignment, exposure, or experiment analysis.
For each event, define:
- stable semantic name and business meaning;
- exact trigger and non-trigger cases;
- actor, object, context, and outcome properties;
- identifier, timestamp, deduplication, ordering, and version behavior;
- consent, minimization, retention, and access requirements;
- validation cases and responsible owner.
Capture exposure only when the participant could plausibly experience the treatment. Never include secrets, unnecessary content, or sensitive attributes merely for possible future analysis.
Validate the data path
- Trace the flow from user action to emitted event, transport, storage, transformation, metric, and decision surface.
- Test expected, duplicate, retried, offline, partial, failure, and cross-device cases.
- Compare telemetry with an independent source where possible.
- Inspect missingness, impossible values, sample-ratio imbalance, delayed arrival, bot or internal traffic, and version drift.
- Establish alerting or routine checks proportional to the decision risk.
Do not analyze an experiment until assignment, exposure, eligibility, and primary metric integrity pass their predeclared checks.
Choose an evaluation design
Prefer a randomized controlled experiment when assignment is ethical, feasible, and unlikely to create unacceptable interference. Otherwise choose the strongest feasible alternative and state its limitations: staged rollout, switchback, interrupted time series, matched comparison, difference-in-differences, or a descriptive pilot.
Predeclare:
- hypothesis and unit of assignment;
- eligibility and exclusion rules;
- treatment, control, exposure, and contamination;
- primary metric, guardrails, segments, and analysis window;
- minimum detectable effect or decision-relevant threshold;
- power or sample rationale, duration, stopping rule, and multiple-comparison handling;
- actions for positive, negative, mixed, harmful, and inconclusive results.
Seek qualified statistical, legal, privacy, or ethics review when stakes or organizational policy require it. Do not promise a valid sample size or causal claim without the necessary inputs.
Analyze and decide
- Report assignment, exposure, data quality, attrition, and protocol deviations before outcomes.
- Show effect size and uncertainty, not only a significance label.
- Check guardrails and practically important segment differences without uncontrolled result hunting.
- Distinguish planned analyses from exploratory findings.
- Consider novelty, seasonality, interference, survivorship, logging changes, and delayed outcomes.
- Make the precommitted decision or explain why new evidence invalidates the original rule.
- Record what was learned, remaining uncertainty, rollout or rollback, and follow-up measurement.
Use shape-product-opportunity when results must update the opportunity or product bet.
Apply quality rules
- Minimize data and respect consent, purpose, retention, access, and deletion obligations.
- Do not define success from engagement alone when the product aims for a user outcome.
- Do not change the primary metric or stopping rule after inspecting results without labeling the analysis exploratory.
- Do not report causality from a before-and-after comparison alone.
- Never fabricate telemetry, baselines, sample sizes, statistical results, or experiment outcomes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

