一键导入
ab-test
Analyze an A/B test experiment and provide a clear ship/iterate/no-ship recommendation. Use when evaluating experiment results.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze an A/B test experiment and provide a clear ship/iterate/no-ship recommendation. Use when evaluating experiment results.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run correlation analysis on connected data, identify strong relationships, and suggest regression models. Use when exploring relationships between variables.
Discover natural groupings in data using clustering algorithms with evaluation and visualization. Use when segmenting data or finding patterns.
Run an end-to-end data analysis pipeline — connect, profile, analyze, and report. Use when performing a complete analysis workflow.
Connect to a data source, profile its schema and quality, and recommend appropriate analyses. Use when starting work with a new dataset.
Analyze a time series and generate forecasts with confidence intervals. Use when predicting future values from historical data.
Explore a graph or network dataset — structure, statistics, paths, and visualization. Use when working with DOT, GML, GraphML, or Mermaid files.
| name | ab-test |
| description | Analyze an A/B test experiment and provide a clear ship/iterate/no-ship recommendation. Use when evaluating experiment results. |
| allowed-tools | mcp__localdata__describe_database mcp__localdata__execute_query mcp__localdata__analyze_ab_test mcp__localdata__analyze_effect_sizes |
| argument-hint | <database-name> |
Analyze experiment results and deliver a clear ship, iterate, or no-ship recommendation.
Explore experiment data. Call describe_database with the database name from $ARGUMENTS. Identify the table containing experiment results. Look for columns indicating: group assignment (treatment/control), the primary metric, and any segmentation variables.
Inspect the data. Call execute_query to sample rows from the experiment table. Confirm the group labels (e.g., "control" vs "treatment", "A" vs "B"). Note the metric column name and type. Check for any timestamp or user ID columns.
Check group balance. Call execute_query with a query that counts observations per group and computes mean/stddev of the primary metric per group. Verify that group sizes are roughly balanced (within 10% of each other). Flag any imbalance as a potential validity concern.
Run the A/B test. Call analyze_ab_test with the database name, metric column, and group column. Review the test results: test statistic, p-value, confidence interval for the difference, and the detected difference between groups.
Calculate effect sizes. Call analyze_effect_sizes with the same data. Get Cohen's d or the appropriate effect size measure. Classify the effect:
Assess statistical significance. Determine if the p-value is below the significance threshold (typically 0.05). Note the confidence interval for the treatment effect. A significant result with a confidence interval that excludes zero provides strong evidence.
Assess practical significance. Compare the effect size against business-relevant thresholds. A statistically significant result with a tiny effect size may not justify shipping. Conversely, a marginally insignificant result with a meaningful effect size may warrant further testing.
Make a recommendation. Apply this decision framework:
Present results. Provide:
Recommend next steps. Based on the recommendation, suggest: shipping the change, running a follow-up experiment with modifications, increasing sample size, or testing on specific segments using /localdata-mcp:analyze-correlations to find heterogeneous treatment effects.