Communitygithub.com

YepAPI/skills

转化漏斗建模、流失分析、事件追踪及基于群组的指标分析。

skills 是什么?

该技能专注于提供全面的转化漏斗分析能力,包括漏斗步骤建模、用户流失点识别、事件追踪以及基于群组的指标对比。它支持开发者通过定义有序的步骤数组(如 `[{ name, event, optional? }]`)来构建漏斗,并强调服务端事件追踪以避免广告拦截器导致的20-40%数据丢失。技能支持多种分析维度,如按设备类型、获取来源、用户计划和地理区域细分漏斗,并能计算每步的流失率(超过20%视为关键)、步骤间隔时间以及转化窗口(如7天)。此外,还能基于用户注册周或获取渠道进行群组分析,以比较不同群体间的漏斗表现。该技能适用于需要优化用户体验、提升转化率和诊断流程瓶颈的开发团队,可在Claude Code、Cursor、Codex等平台上使用,通过配置化漏斗定义支持快速迭代。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/YepAPI/skills/tree/HEAD/skills/funnel-analytics

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

漏斗分析

规则

  • 将漏斗定义为有序步骤数组:[{ name, event, optional? }] —— 每一步都会过滤上一步的用户
  • 在服务端追踪事件:从 API 路由发送事件,而非客户端 —— 广告拦截器会跳过 20-40% 的客户端事件
  • 事件架构:{ event, userId, timestamp, properties: {} } —— 始终包含 sessionId 以便重建漏斗
  • 每步流失率:(进入 - 退出) / 进入 * 100 —— 将流失率超过 20% 的步骤标记为关键
  • 步骤间时间:计算从第 N 步到第 N+1 步的中位时间 —— 长时间间隔表示存在摩擦
  • 群组分析:按用户注册周或获取渠道分组 —— 比较不同群组间的漏斗表现
  • 转化窗口:设置漏斗完成的最大时间(例如 7 天)—— 忽略超过该时间的会话
  • 可视化:水平漏斗图,每步带有百分比标签 —— 使用与剩余用户数成比例的条形宽度
  • 按以下维度细分漏斗:设备类型、获取来源、用户计划、地理区域 —— 寻找异常流失的细分群体
  • 存储原始事件,在读时计算漏斗 —— 不要预先聚合,后续可能需要重新切片

避免

  • 超过 7 步的漏斗 —— 简化或合并中间步骤
  • 将页面浏览量计为漏斗步骤 —— 使用有意向的操作(点击、提交、购买)
  • 忽略移动端与桌面端的差异 —— 转化率通常相差 2-3 倍
  • 硬编码漏斗定义 —— 存储在配置中,以便产品无需部署即可迭代

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

YepAPI/skills

WCAG 2.1 AA — semantic HTML, keyboard navigation, screen readers.

YepAPI/skills

Experiment setup, variant splitting, statistical significance, and feature flag integration.

YepAPI/skills

CRUD generators, data tables, user management, role-based access, and bulk operations.

YepAPI/skills

Monitor what ChatGPT and Gemini say about your brand using YepAPI.

YepAPI/skills

Queue workers with BullMQ/Inngest/Trigger.dev, job retries, dead letter queues, concurrency.

YepAPI/skills

Commander.js, interactive prompts with Clack, spinners, colors, config files, exit codes, and npm publishing.

YepAPI/skills

cmdk integration, Cmd+K trigger, fuzzy search, grouped actions, keyboard navigation, and dynamic action registration.

YepAPI/skills

Content planning with trend and sentiment data from YepAPI.

YepAPI/skills

Content calendar, keyword-driven planning, and content briefs.

YepAPI/skills

Theme switching with CSS variables, system preference detection, next-themes, and persistence.

YepAPI/skills

Threaded comments, @mentions, reactions, moderation queue, optimistic UI, and cursor pagination.

YepAPI/skills

Competitive analysis between domains using YepAPI.

YepAPI/skills

Layout grids, KPI cards, data tables with sorting/filtering, sidebar navigation, and responsive breakpoints.

YepAPI/skills

Data encryption — TLS everywhere, AES-256-GCM for PII, bcrypt passwords, encrypted backups.

YepAPI/skills

Chart patterns with Recharts/Nivo/D3, responsive containers, color scales, and accessibility.

YepAPI/skills

Drizzle schema definition, push vs migrate, type-safe queries, relations, transactions, and prepared statements.

YepAPI/skills

Upload handling, resize/compress, CDN delivery, blur placeholders, and next/image patterns.

YepAPI/skills

Local business and Google Maps research using YepAPI.

YepAPI/skills

Cursor-based pagination, IntersectionObserver, virtualized lists with @tanstack/react-virtual, and scroll position restoration.

YepAPI/skills

Chat UI components, streaming responses with AI SDK, context window management, and RAG patterns.

相关技能