product-analytics
alirezarezvani/claude-skills
利用AARRR、North Star和HEART等框架,在产品发现期、增长期和成熟期各阶段定义、追踪并解读产品指标。
...展开全部产品分析
在产品发现、增长和成熟阶段定义、追踪并解读产品指标。
何时使用
此技能适用于:
- 指标框架选择(AARRR、North Star、HEART)
- 按产品阶段定义关键绩效指标(KPI)(产品市场匹配前、增长期、成熟期)
- 仪表盘设计与指标层级
- 用户群组与留存分析
- 功能采用率及漏斗分析
工作流程
- 选择指标框架
- AARRR模型在增长循环与漏斗可视化中的应用
- “北极星”指标用于跨职能战略对齐
- HEART:用于衡量用户体验质量和用户体验
- 定义符合发展阶段的KPI
- 产品市场匹配(PMF)前阶段:激活、早期留存、定性成功
- 增长阶段:获客效率、业务扩张、转化速度
- 成熟期:留存深度、收入质量、运营效率
- 设计仪表盘层级
- 高管层:5-7个方向性指标
- 产品健康层:获客、激活、留存、参与度
- 功能层:采用率、使用深度、重复使用率、效果相关性
- 运行用户群组+留存分析
- 按注册用户群或功能曝光用户群进行分段
- 比较留存曲线,而非单点快照
- 识别围绕用户引导和首次价值时刻的转折点
- 解读并采取行动
- 将指标变化与产品变更及发布时间线建立关联
- 利用同期对比背景区分信号与噪声
- 针对每个主要指标的风险/机遇,提出一项明确的产品行动
各阶段KPI指导
产品市场契合(PMF)前阶段
- 激活率
- 第1周留存率
- 首次价值实现时间
- 问题与解决方案匹配度访谈评分
增长
- 各阶段漏斗转化率
- 月活跃用户
- 新用户群体的功能采用率
- 扩展/交叉销售替代指标
成熟
- 与净收入保留率相关的产品指标
- 重度用户占比及使用深度
- 按细分市场划分的流失风险指标
- 可靠性与支持需求分流相关的产品指标
仪表盘设计原则
- 展示趋势,而非孤立的点估计值。
- 每个KPI应由一名负责人负责。
- 为每个KPI配定目标值、阈值和决策规则。
- 默认使用用户群和细分群体筛选器。
- 优先采用可比的时间窗口(周对周、月对月)。
参见:
references/metrics-frameworks.mdreferences/dashboard-templates.md
用户群分析方法
- 定义用户群锚定事件(注册、激活、首次购买)。
- 定义留存行为(活跃天数、关键操作、重复会话)。
- 按用户群组、周/月及用户年龄段构建留存矩阵。
- 比较不同用户群体的曲线形态。
- 标记早期流失点并排查用户旅程中的摩擦点。
留存曲线解读
- 早期急剧下滑,随后平台期较低:入职流程不匹配或初始价值不足。
- 适度下滑,平台期稳定:核心用户群健康,流失率可预测。
- 在低水平趋于平稳:产品仅偶尔使用,需重新审视价值指标。
- 新用户群表现改善:用户引导或产品定位的优化措施正在奏效。
反模式
| 反模式 | 解决方案 |
|---|---|
| 虚荣指标——在缺乏激活背景的情况下追踪页面浏览量或总注册量 | 获取指标应始终与激活率和留存率结合 |
| 单点留存率——报告“30天留存率为20%” | 比较不同用户群体的留存曲线,而非孤立的快照 |
| 仪表盘信息过载——单屏显示30多项指标 | 高管层:5-7个指标。功能层:仅限单个功能 |
| 缺乏决策规则——追踪关键绩效指标(KPI)却没有阈值或行动计划 | 每个KPI都需要:目标值、阈值、负责人以及“若低于X,则执行Y”的规则 |
| 跨细分群体求平均值——报告混合指标,掩盖了各细分群体之间的差异 | 始终按用户群、套餐等级、渠道或地区进行细分 |
| 忽略季节性因素——在未进行调整的情况下将本周与上周进行比较 | 使用“同期对比”时需结合“去年同期”的背景 |
工具
scripts/metrics_calculator.py
用于从 CSV 数据进行留存率、用户群和漏斗分析的 CLI 工具。支持文本和 JSON 格式输出。
# Retention analysis
python3 scripts/metrics_calculator.py retention events.csv
python3 scripts/metrics_calculator.py retention events.csv --format json
# Cohort matrix
python3 scripts/metrics_calculator.py cohort events.csv --cohort-grain month
python3 scripts/metrics_calculator.py cohort events.csv --cohort-grain week --format json
# Funnel conversion
python3 scripts/metrics_calculator.py funnel funnel.csv --stages visit,signup,activate,pay
python3 scripts/metrics_calculator.py funnel funnel.csv --stages visit,signup,activate,pay --format json
留存率/用户群的 CSV 格式:
user_id,cohort_date,activity_date
u001,2026-01-01,2026-01-01
u001,2026-01-01,2026-01-03
u002,2026-01-02,2026-01-02
漏斗分析的CSV格式:
user_id,stage
u001,visit
u001,signup
u001,activate
u002,visit
u002,signup
交叉引用
- 相关:
product-team/experiment-designer— 在识别指标优化机会后进行 A/B 测试规划 - 相关:
product-team/product-manager-toolkit— 用于对指标驱动型功能进行 RICE 优先级排序 - 相关:
product-team/product-discovery— 用于在指标揭示未知情况时进行假设映射 - 相关:
finance/saas-metrics-coach— 针对SaaS特有的指标(ARR、MRR、流失率、LTV)
---
name: product-analytics
description: Define, track, and interpret product metrics across discovery, growth, and mature product stages using frameworks like AARRR, North Star, and HEART.
---
# Product Analytics
Define, track, and interpret product metrics across discovery, growth, and mature product stages.
## When To Use
Use this skill for:
- Metric framework selection (AARRR, North Star, HEART)
- KPI definition by product stage (pre-PMF, growth, mature)
- Dashboard design and metric hierarchy
- Cohort and retention analysis
- Feature adoption and funnel interpretation
## Workflow
1. Select metric framework
- AARRR for growth loops and funnel visibility
- North Star for cross-functional strategic alignment
- HEART for UX quality and user experience measurement
2. Define stage-appropriate KPIs
- Pre-PMF: activation, early retention, qualitative success
- Growth: acquisition efficiency, expansion, conversion velocity
- Mature: retention depth, revenue quality, operational efficiency
3. Design dashboard layers
- Executive layer: 5-7 directional metrics
- Product health layer: acquisition, activation, retention, engagement
- Feature layer: adoption, depth, repeat usage, outcome correlation
4. Run cohort + retention analysis
- Segment by signup cohort or feature exposure cohort
- Compare retention curves, not single-point snapshots
- Identify inflection points around onboarding and first value moment
5. Interpret and act
- Connect metric movement to product changes and release timeline
- Distinguish signal from noise using period-over-period context
- Propose one clear product action per major metric risk/opportunity
## KPI Guidance By Stage
### Pre-PMF
- Activation rate
- Week-1 retention
- Time-to-first-value
- Problem-solution fit interview score
### Growth
- Funnel conversion by stage
- Monthly retained users
- Feature adoption among new cohorts
- Expansion / upsell proxy metrics
### Mature
- Net revenue retention aligned product metrics
- Power-user share and depth of use
- Churn risk indicators by segment
- Reliability and support-deflection product metrics
## Dashboard Design Principles
- Show trends, not isolated point estimates.
- Keep one owner per KPI.
- Pair each KPI with target, threshold, and decision rule.
- Use cohort and segment filters by default.
- Prefer comparable time windows (weekly vs weekly, monthly vs monthly).
See:
- `references/metrics-frameworks.md`
- `references/dashboard-templates.md`
## Cohort Analysis Method
1. Define cohort anchor event (signup, activation, first purchase).
2. Define retained behavior (active day, key action, repeat session).
3. Build retention matrix by cohort week/month and age period.
4. Compare curve shape across cohorts.
5. Flag early drop points and investigate journey friction.
## Retention Curve Interpretation
- Sharp early drop, low plateau: onboarding mismatch or weak initial value.
- Moderate drop, stable plateau: healthy core audience with predictable churn.
- Flattening at low level: product used occasionally, revisit value metric.
- Improving newer cohorts: onboarding or positioning improvements are working.
## Anti-Patterns
| Anti-pattern | Fix |
|---|---|
| **Vanity metrics** — tracking pageviews or total signups without activation context | Always pair acquisition metrics with activation rate and retention |
| **Single-point retention** — reporting "30-day retention is 20%" | Compare retention curves across cohorts, not isolated snapshots |
| **Dashboard overload** — 30+ metrics on one screen | Executive layer: 5-7 metrics. Feature layer: per-feature only |
| **No decision rule** — tracking a KPI with no threshold or action plan | Every KPI needs: target, threshold, owner, and "if below X, then Y" |
| **Averaging across segments** — reporting blended metrics that hide segment differences | Always segment by cohort, plan tier, channel, or geography |
| **Ignoring seasonality** — comparing this week to last week without adjusting | Use period-over-period with same-period-last-year context |
## Tooling
### `scripts/metrics_calculator.py`
CLI utility for retention, cohort, and funnel analysis from CSV data. Supports text and JSON output.
```bash
# Retention analysis
python3 scripts/metrics_calculator.py retention events.csv
python3 scripts/metrics_calculator.py retention events.csv --format json
# Cohort matrix
python3 scripts/metrics_calculator.py cohort events.csv --cohort-grain month
python3 scripts/metrics_calculator.py cohort events.csv --cohort-grain week --format json
# Funnel conversion
python3 scripts/metrics_calculator.py funnel funnel.csv --stages visit,signup,activate,pay
python3 scripts/metrics_calculator.py funnel funnel.csv --stages visit,signup,activate,pay --format json
```
**CSV format for retention/cohort:**
```csv
user_id,cohort_date,activity_date
u001,2026-01-01,2026-01-01
u001,2026-01-01,2026-01-03
u002,2026-01-02,2026-01-02
```
**CSV format for funnel:**
```csv
user_id,stage
u001,visit
u001,signup
u001,activate
u002,visit
u002,signup
```
## Cross-References
- Related: `product-team/experiment-designer` — for A/B test planning after identifying metric opportunities
- Related: `product-team/product-manager-toolkit` — for RICE prioritization of metric-driven features
- Related: `product-team/product-discovery` — for assumption mapping when metrics reveal unknowns
- Related: `finance/saas-metrics-coach` — for SaaS-specific metrics (ARR, MRR, churn, LTV)





首页
