Skip to content

shisuidata/ss-data-skills / skills/funnel-analysis

funnel-analysis

Verified

Use when analyzing conversion funnels across ordered business steps, such as registration, activation, payment, signup, onboarding, or checkout. Rebuilds strict ordered funnels from event data with a bundled zero-dependency script, decomposes period-over-period change into steps and into segment mix vs rate effects, detects tracking and truncation issues, and renders an HTML funnel report. 中文触发词:漏斗分析、转化漏斗、哪一步流失、转化率下降拆解。

FileKindSize
SKILL.mdskill md7.8 KB
assets/example_summary.jsonconfig975 B
references/cli.mdmarkdown1.4 KB
references/funnel-sql.mdmarkdown3.8 KB
references/input-schema.mdmarkdown2.8 KB
references/pitfalls.mdmarkdown2.3 KB
scripts/funnel.pyscript37.6 KB
scripts/sskit_io.pyscript14.9 KB
scripts/sskit_viz.pyscript36.1 KB

references/cli.md

View on GitHub
# 命令行参数

这份文档由脚本的参数定义生成,修改参数后请重新生成,不要手改。所有脚本都把结果以 JSON 打印到标准输出。

## `funnel.py analyze`

计算漏斗并生成报告

| 参数 | 必填 | 默认 | 说明 |
| --- | --- | --- | --- |
| `--summary` | 否 | — | 汇总数据 JSON(见 references/input-schema.md) |
| `--events` | 否 | — | 事件明细 CSV,每行一个事件 |
| `--user-col` | 否 | user_id | — |
| `--event-col` | 否 | event_name | — |
| `--time-col` | 否 | event_time | — |
| `--tz` | 否 | +08:00 | 业务时区,带时区的时间会换算到这里,默认 +08:00 |
| `--step`(可重复) | 否 | — | 步骤:名称=事件名,多个事件用 \| 分隔;按漏斗顺序重复填写 |
| `--users` | 否 | — | 用户属性 CSV(用于分群),按 --user-col 关联 |
| `--segment`(可重复) | 否 | — | 分群列;有 --users 时取用户属性,否则取入口事件所在行 |
| `--period`(可重复) | 否 | — | 时期:名称=YYYY-MM-DD..YYYY-MM-DD,按入口时间划分 |
| `--baseline` | 否 | — | 作为对比基准的时期名称 |
| `--window-days` | 否 | — | 转化窗口:入口后 N 天内完成才算转化;未走完窗口的用户会被排除 |
| `--name` | 否 | — | 报告标题 |
| `--html` | 否 | — | 输出 HTML 报告路径 |
| `--json` | 否 | — | 同时把 JSON 写入文件 |
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall