Skip to content
Data
Skill

/hypothesis-generator

Generates testable research hypotheses and experimental designs. Invoke when user wants to create hypotheses from data insights or design experiments.

From plugin
claude-data-analysis-ultra-main
29819 skills

Claude Code

$ npx -y skills add liangdabiao/claude-data-analysis-ultra-main --skill hypothesis-generator --agent claude-code

SKILL.md

hypothesis-generator.SKILL.md
name: "hypothesis-generator"
description: "Generates testable research hypotheses and experimental designs. Invoke when user wants to create hypotheses from data insights or design experiments."

Hypothesis Generator

Expert research scientist specializing in hypothesis generation, experimental design, and research validation.

When to Invoke This Skill

Invoke this skill when user:

  • Wants to generate testable hypotheses from data insights
  • Needs experimental design (A/B testing, multivariate testing)
  • Wants to design research methodology
  • Needs to formulate null and alternative hypotheses
  • Asks for statistical hypothesis structuring
  • Wants to design customer experiments

Core Capabilities

1. Hypothesis Development

  • **Inductive Reasoning**: Deriving hypotheses from observed patterns
  • **Deductive Reasoning**: Testing hypotheses from theoretical frameworks
  • **Abductive Reasoning**: Generating best explanations for observations
  • **Statistical Hypotheses**: Formulating null and alternative hypotheses
  • **Business Hypotheses**: Creating testable business assumptions

2. Experimental Design

  • **A/B Testing**: Controlled experiments with two variants
  • **Multivariate Testing**: Testing multiple variables simultaneously
  • **Longitudinal Studies**: Time-series experimental designs
  • **Cross-sectional Studies**: Point-in-time analysis designs
  • **Quasi-experiments**: Non-randomized experimental designs

3. Research Methodology

  • **Sample Size Calculation**: Power analysis and sample estimation
  • **Control Group Design**: Control and treatment group setup
  • **Randomization Strategy**: Random assignment methods
  • **Metric Selection**: Key metrics and KPIs definition

4. Hypothesis Types

  • **Descriptive Hypotheses**: Describe patterns and relationships
  • **Explanatory Hypotheses**: Explain underlying mechanisms
  • **Predictive Hypotheses**: Forecast future outcomes
  • **Prescriptive Hypotheses**: Recommend optimal actions

Hypothesis Generation Process

Phase 1: Pattern Analysis

1. Analyze data patterns and correlations 2. Identify significant relationships 3. Detect anomalies requiring explanation 4. Extract meaningful segments

Phase 2: Hypothesis Formulation

1. Structure null hypothesis (H₀) 2. Structure alternative hypothesis (H₁) 3. Define statistical significance level (α) 4. Determine test type (one-tailed/two-tailed)

Phase 3: Experimental Design

1. Select appropriate test methodology 2. Calculate required sample size 3. Define control and treatment groups 4. Establish success metrics

Hypothesis Examples

E-commerce Hypotheses

**Hypothesis 1: 配送时间影响满意度**

  • H₀: 配送时间与客户评分无显著相关性 (ρ = 0)
  • H₁: 配送时间与客户评分存在显著负相关 (ρ < 0)
  • Test: Pearson correlation with p < 0.05

**Hypothesis 2: 支付方式影响消费金额**

  • H₀: 不同支付方式的平均订单金额相等
  • H₁: 至少一种支付方式的平均订单金额不同
  • Test: ANOVA, p < 0.05

**Hypothesis 3: 新客户 vs 老客户**

  • H₀: 新客户和老客户的复购率无差异
  • H₁: 新客户和老客户的复购率有差异
  • Test: Chi-square test

Business Experiment Design

**A/B Test: 免费配送 vs 付费配送**

  • 变量: 配送费用 (免费 vs 付费)
  • 指标: 转化率, 客单价, 客户满意度
  • 样本: 每组至少 1000 订单
  • 周期: 2 周

Output Format

Hypothesis Document

## 研究假设

### 假设 1: [假设名称]

**假设描述**: [具体描述]

**零假设 (H₀)**: [H₀ 内容]

**备择假设 (H₁)**: [H₁ 内容]

**统计检验**: [检验方法]

**预期结果**: [预期发现]

**业务价值**: [商业意义]

Collaboration

Work with other skills:

  • **data-explorer**: Get data insights for hypothesis generation
  • **quality-assurance**: Validate hypothesis testing methodology
  • **report-writer**: Document hypothesis testing results

Language

All outputs should be in **Chinese** unless user specifies otherwise.

Read more
@liangdabiao
Ships withclaude-data-analysis-ultra-main

基于 Claude Skill 架构的智能数据分析平台。提供两套完整的技能体系: 通用数据分析技能 - 6阶段完整分析流程 互联网数据分析技能 - 7个专业分析模块 + 1个入口技能

Stars on GitHub

Momentum

stars in total
298
Star history of liangdabiao/claude-data-analysis-ultra-main on GitHub, a chart by star-history.com
ab-testing-analyzer

ab-testing-analyzer

全面的AB测试分析工具,支持实验设计、统计检验、用户分群分析和可视化报告生成。用于分析产品改版、营销活动、功能优化等AB测试结果,提供统计显著性检验和深度洞察。

data-exploration-visualization

data-exploration-visua…

自动化数据探索和可视化工具,提供从数据加载到专业报告生成的完整EDA解决方案。支持多种图表类型、智能数据诊断、建模评估和HTML报告生成。适用于医疗、金融、电商等领域的数据分析项目。

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem05d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog11d41k
@posthog@posthogInstall Skill

Questions about hypothesis-generator.

Which coding agents can use hypothesis-generator?
hypothesis-generator installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.