選項
首頁首頁 Skill 資料庫管理 cohort-analysis

cohort-analysis

phuryn/pm-skills phuryn/pm-skills

按使用者群體分析使用者參與度和留存模式,以識別使用者行為、功能採用和長期參與的趨勢。

...展開全部
0
更新時間 2026-09-29

佇列分析與留存探索器

目的

透過佇列分析使用者參與度和留存模式,以識別使用者行為、功能採用和長期參與的趨勢。將定量洞察與定性研究建議相結合。

工作原理

第 1 步:讀取並驗證資料

  • 接受包含使用者佇列資訊的 CSV、Excel 或 JSON 資料檔案
  • 驗證資料結構:佇列識別符號、時間段、參與度指標
  • 檢查缺失值和資料質量問題
  • 總結關鍵統計資訊(佇列規模、日期範圍、可用指標)

第 2 步:生成定量分析

  • 計算佇列留存率和參與度趨勢
  • 識別留存曲線、流失模式和異常值
  • 計算各佇列的功能採用率
  • 計算環比或期間變化
  • 如被要求,使用 pandas 和 numpy 生成 Python 分析指令碼

第 3 步:建立視覺化圖表

  • 生成留存熱力圖(佇列與時間段)
  • 建立顯示佇列進展的折線圖
  • 構建功能採用的對比圖表
  • 視覺化流失點和參與度趨勢
  • 輸出為互動式圖表或靜態影象

第 4 步:識別洞察與模式

  • 發現一個或多個顯著模式:
    • 特定佇列的早期流失
    • 後期參與度變化
    • 功能採用叢集
    • 季節性或時間趨勢
  • 突出顯示令人驚訝的發現及偏差
  • 比較佇列表現以建立基準

第 5 步:建議後續研究

  • 推薦定性研究方法:
    • 針對流失使用者的定向使用者訪談
    • 針對高參與度佇列的功能使用調查
    • 關鍵互動模式的會話回放
    • 高留存與低留存佇列的贏/失分析
  • 設計後續定量研究
  • 建議 A/B 測試或功能實驗

使用示例

示例 1:上傳 CSV 資料

上傳包含以下列的 cohort_engagement.csv:cohort_month, weeks_active,
user_id, feature_x_usage, engagement_score

請求:“分析留存模式,並確定為何 2025 年第四季度佇列的表現不如第三季度”

示例 2:描述資料格式

“我有 2025 年 1 月至 12 月的月度使用者佇列。每行顯示:
佇列日期、使用者 ID、購買頻率和支援工單。
分析哪些佇列顯示出最佳的長期留存。”

示例 3:功能採用分析

上傳包含佇列採用資料的 feature_usage.xlsx。

請求:“比較新功能在各佇列中的採用曲線。
哪些佇列採用速度最快?是否存在任何模式?”

核心功能

  • 資料讀取:匯入 CSV、Excel、JSON、SQL 查詢結果
  • 留存分析:計算並視覺化隨時間變化的留存率
  • 佇列比較:跨佇列組比較指標
  • 異常檢測:標記異常模式或流失情況
  • Python 指令碼:生成可重用的分析程式碼以進行持續分析
  • 視覺化圖表:建立熱力圖、圖表和互動式儀表板
  • 研究設計:建議有針對性的後續研究和訪談方法
  • 統計摘要:提供定量指標和相關性分析

最佳實踐建議

  1. 包含時間維度:提供跨多個時間段的資料
  2. 明確定義佇列:使佇列分組明確(註冊月份、功能釋出日期等)
  3. 提供背景資訊:解釋該期間發生的產品變更、釋出或事件
  4. 多項指標:包括留存率、參與度、功能使用、收入等
  5. 充足的資料:至少 3-4 個佇列以進行有意義的模式識別
  6. 請求特定輸出:要求視覺化圖表、Python 指令碼或研究建議

輸出格式

您將收到:

  • 資料摘要:佇列概覽和資料質量評估
  • 定量發現:關鍵指標、留存率和趨勢分析
  • 視覺化圖表:顯示留存曲線和採用模式的圖表
  • 模式識別:來自資料的 2-3 個重要洞察
  • 研究建議:具體的定性和定量後續工作
  • 分析指令碼(如被要求):用於可重複分析的 Python 程式碼
  • 後續步驟:基於發現的優先行動建議

延伸閱讀

  • 佇列分析入門:如何降低流失率並做出更好的產品決策
  • 產品分析手冊:AARRR、HEART、佇列與漏斗,產品經理必備
  • 您是否在追蹤正確的指標?
在 GitHub 上查看
---
name: cohort-analysis
description: Analyze user engagement and retention patterns by cohort to identify trends in user behavior, feature adoption, and long-term engagement.
---

# Cohort Analysis & Retention Explorer

## Purpose
Analyze user engagement and retention patterns by cohort to identify trends in user behavior, feature adoption, and long-term engagement. Combine quantitative insights with qualitative research recommendations.

## How It Works

### Step 1: Read and Validate Your Data
- Accept CSV, Excel, or JSON data files with user cohort information
- Verify data structure: cohort identifier, time periods, engagement metrics
- Check for missing values and data quality issues
- Summarize key statistics (cohort sizes, date ranges, metrics available)

### Step 2: Generate Quantitative Analysis
- Calculate cohort retention rates and engagement trends
- Identify retention curves, drop-off patterns, and anomalies
- Compute feature adoption rates across cohorts
- Calculate month-over-month or period-over-period changes
- Generate Python analysis scripts using pandas and numpy if requested

### Step 3: Create Visualizations
- Generate retention heatmaps (cohorts vs. time periods)
- Create line charts showing cohort progression
- Build comparison charts for feature adoption
- Visualize drop-off points and engagement trends
- Output as interactive charts or static images

### Step 4: Identify Insights & Patterns
- Spot one or more significant patterns:
  - Early churn in specific cohorts
  - Late-stage engagement changes
  - Feature adoption clusters
  - Seasonal or temporal trends
- Highlight surprising findings and deviations
- Compare cohort performance to establish baselines

### Step 5: Suggest Follow-Up Research
- Recommend qualitative research methods:
  - Targeted user interviews with churning users
  - Feature usage surveys with engaged cohorts
  - Session replays of key interaction patterns
  - Win/loss analysis for high vs. low retention cohorts
- Design follow-up quantitative studies
- Suggest A/B tests or feature experiments

## Usage Examples

**Example 1: Upload CSV Data**
```
Upload cohort_engagement.csv with columns: cohort_month, weeks_active,
user_id, feature_x_usage, engagement_score

Request: "Analyze retention patterns and identify why Q4 2025 cohorts
underperform compared to Q3"
```

**Example 2: Describe Data Format**
```
"I have monthly user cohorts from Jan-Dec 2025. Each row shows:
cohort date, user ID, purchase frequency, and support tickets.
Analyze which cohorts show best long-term retention."
```

**Example 3: Feature Adoption Analysis**
```
Upload feature_usage.xlsx with cohort adoption data.

Request: "Compare adoption curves for our new feature across cohorts.
Which cohorts adopted fastest? Any patterns?"
```

## Key Capabilities

- **Data Reading**: Import CSV, Excel, JSON, SQL query results
- **Retention Analysis**: Calculate and visualize retention rates over time
- **Cohort Comparison**: Compare metrics across cohort groups
- **Anomaly Detection**: Flag unusual patterns or drop-offs
- **Python Scripts**: Generate reusable analysis code for ongoing analysis
- **Visualizations**: Create heatmaps, charts, and interactive dashboards
- **Research Design**: Suggest targeted follow-up studies and interview approaches
- **Statistical Summary**: Provide quantitative metrics and correlation analysis

## Tips for Best Results

1. **Include time dimension**: Provide data across multiple time periods
2. **Define cohort clearly**: Make cohort grouping explicit (signup month, feature launch date, etc.)
3. **Provide context**: Explain product changes, launches, or events during the period
4. **Multiple metrics**: Include retention, engagement, feature usage, revenue, etc.
5. **Sufficient data**: At least 3-4 cohorts for meaningful pattern identification
6. **Request specific output**: Ask for visualizations, Python scripts, or research recommendations

## Output Format

You'll receive:
- **Data Summary**: Cohort overview and data quality assessment
- **Quantitative Findings**: Key metrics, retention rates, and trend analysis
- **Visualizations**: Charts showing retention curves, adoption patterns
- **Pattern Identification**: 2-3 significant insights from the data
- **Research Recommendations**: Specific qualitative and quantitative follow-ups
- **Analysis Scripts** (if requested): Python code for reproducible analysis
- **Next Steps**: Prioritized actions based on findings

---

### Further Reading

- [Cohort Analysis 101: How to Reduce Churn and Make Better Product Decisions](https://www.productcompass.pm/p/cohort-analysis)
- [The Product Analytics Playbook: AARRR, HEART, Cohorts & Funnels for PMs](https://www.productcompass.pm/p/the-product-analytics-playbook-aarrr)
- [Are You Tracking the Right Metrics?](https://www.productcompass.pm/p/are-you-tracking-the-right-metrics)

所有檔案

1 個檔案

安裝 cohort-analysis

將技能檔案下載並解壓至 .claude/skills/ 目錄。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/phuryn/pm-skills/tree/main/pm-data-analytics/skills/cohort-analysis # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/ 目錄。Claude 將自動檢測並使用該技能。
儲存庫 phuryn/pm-skills

相關技能

microservices-patterns
更新時間 2026-06-29
jpa-patterns
更新時間 2026-06-30
fabric-lakehouse
更新時間 2026-06-30
prisma-expert
更新時間 2026-06-29
OR