MCP HubMCP Hub
SKILL·B44DAD

measure-experiment-design

product-on-purpose
Actualizado 1 month ago
9 vistas
476
62
476
Ver en GitHub
Pruebastestingdesign

Acerca de

Esta habilidad diseña planes estructurados de pruebas A/B, incluyendo hipótesis, variantes, métricas y parámetros estadísticos como el tamaño de la muestra. Se utiliza al planificar experimentos para validar cambios en el producto o probar hipótesis. El resultado garantiza configuraciones de experimento rigurosas y alineadas para evitar errores comunes como pruebas con potencia estadística insuficiente.

Instalación rápida

Claude Code

Recomendado
Principal
npx skills add product-on-purpose/pm-skills -a claude-code
Comando PluginAlternativo
/plugin add https://github.com/product-on-purpose/pm-skills
Git CloneAlternativo
git clone https://github.com/product-on-purpose/pm-skills.git ~/.claude/skills/measure-experiment-design

Copia y pega este comando en Claude Code para instalar esta habilidad

Documentación

<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->

Experiment Design

An experiment design document defines all parameters needed to run a rigorous A/B test or controlled experiment. It ensures the team aligns on what you're testing, how you'll measure success, and how long to run the test before drawing conclusions. Good experiment design prevents common pitfalls: underpowered tests, unclear success criteria, and decisions based on noise rather than signal.

When to Use

  • Before launching an A/B test to validate a product change
  • When testing a hypothesis that requires quantitative validation
  • After solution design to validate assumptions before full rollout
  • When stakeholders want data-driven evidence for a decision
  • To establish a culture of experimentation and learning

Instructions

When asked to design an experiment, follow these steps:

  1. Articulate the Hypothesis Write a clear, testable hypothesis in the format: "We believe [change] for [users] will [outcome] as measured by [metric]." One hypothesis per experiment . if you're testing multiple things, run multiple experiments.

  2. Define the Variants Describe the control (current experience) and treatment (new experience) in sufficient detail. Include screenshots, mockups, or precise descriptions so anyone can understand what users will see.

  3. Choose Primary and Secondary Metrics Select one primary metric that will determine success or failure. Add 2-3 secondary metrics to understand the broader impact. Include guardrail metrics to catch unintended negative effects.

  4. Calculate Sample Size Determine how many users you need per variant to detect your minimum detectable effect (MDE) with statistical significance. Specify your significance level (typically 0.05) and power (typically 0.80).

  5. Estimate Duration Based on sample size and available traffic, calculate how long the experiment needs to run. Account for weekly patterns . avoid ending mid-week if behavior varies by day.

  6. Define Targeting and Allocation Specify which users are eligible for the experiment and how traffic is split between variants. Document any exclusions (e.g., employees, specific segments).

  7. Set Success Criteria Define upfront what constitutes a win, a loss, or an inconclusive result. This prevents post-hoc rationalization and moving goalposts.

  8. Document Risks and Mitigations Identify what could go wrong and how you'll detect/address it. Include monitoring plans and rollback criteria.

Output Format

Use the template in references/TEMPLATE.md to structure the output.

Quality Checklist

Before finalizing, verify:

  • Hypothesis is falsifiable and specific
  • Only one primary metric is defined
  • Sample size calculation is documented with assumptions
  • Duration accounts for traffic patterns and statistical requirements
  • Success criteria are defined before the experiment starts
  • Guardrail metrics protect against unintended harm

Examples

See references/EXAMPLE.md for a completed example.

Repositorio GitHub

product-on-purpose/pm-skills
Ruta: skills/measure-experiment-design
0
agent-skillsagentskillsai-skillsclaude-codeclaude-desktopcodex
FAQ

Frequently asked questions

What is the measure-experiment-design skill?

measure-experiment-design is a Claude Skill by product-on-purpose. Skills package instructions and resources that Claude loads on demand, so Claude can perform measure-experiment-design-related tasks without extra prompting.

How do I install measure-experiment-design?

Use the install commands on this page: add measure-experiment-design to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does measure-experiment-design belong to?

measure-experiment-design is in the Testing category, tagged testing and design.

Is measure-experiment-design free to use?

Yes. measure-experiment-design is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Habilidades relacionadas

evaluating-llms-harness
Pruebas

Esta Skill de Claude ejecuta el benchmark lm-evaluation-harness para evaluar modelos de lenguaje en más de 60 tareas académicas estandarizadas como MMLU y GSM8K. Está diseñada para que los desarrolladores comparen la calidad de los modelos, realicen seguimiento del progreso del entrenamiento o reporten resultados académicos. La herramienta admite varios backends, incluidos modelos de HuggingFace y vLLM.

Ver habilidad
cloudflare-cron-triggers
Pruebas

Esta habilidad proporciona conocimiento integral para implementar Cron Triggers de Cloudflare y programar Workers mediante expresiones cron. Cubre la configuración de tareas periódicas, trabajos de mantenimiento y flujos de trabajo automatizados, manejando problemas comunes como expresiones cron inválidas y inconvenientes de zonas horarias. Los desarrolladores pueden utilizarla para configurar manejadores programados, probar activadores cron e integrar con Workflows y Green Compute.

Ver habilidad
webapp-testing
Pruebas

Esta habilidad de Claude proporciona un kit de herramientas basado en Playwright para probar aplicaciones web locales mediante scripts de Python. Permite verificación de frontend, depuración de interfaz de usuario, captura de pantallas y visualización de registros, mientras gestiona los ciclos de vida del servidor. Úsela para tareas de automatización de navegadores, pero ejecute los scripts directamente en lugar de leer su código fuente para evitar contaminación del contexto.

Ver habilidad
finishing-a-development-branch
Pruebas

Esta habilidad ayuda a los desarrolladores a completar el trabajo terminado verificando que las pruebas pasen y luego presentando opciones estructuradas de integración. Guía el flujo de trabajo para fusionar, crear PRs o limpiar ramas después de que se completa la implementación. Úsala cuando tu código esté listo y probado para finalizar sistemáticamente el proceso de desarrollo.

Ver habilidad