Communitygithub.com

YepAPI/skills

轉換漏斗建模、流失分析、事件追蹤與基於同類群的指標。

skills 是什麼?

這個技能專注於漏斗分析,用於建模使用者旅程、分析流失點、追蹤事件與執行同類群分析。它定義了有序步驟陣列(可選步驟),並建議在伺服器端追蹤事件以避免廣告攔截器造成的資料流失。技能提供具體的流失率計算公式(>20% 為關鍵),以及步驟間中位數時間測量,用於識別摩擦點。支援按裝置類型、獲取來源、使用者方案與地理區域進行細分,並強調原始資料儲存與即時查詢,以便後續重新分層分析。此技能適合開發者或 AI 代理用於產品分析、使用者行為監控與優化轉換路徑。

相容平台~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.

相關技能