跳到正文
cccskills
免费在 GitHub 公开

info-funnel

Turn three to six stages of marketing, hiring, or selection data into a vertical funnel infographic. A single HTML file shows counts, stage conversion rates, overall conversion, and a brief explanation of losses.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

3-6 阶递减漏斗, 突出转化率 / 筛选比例 / 流量损耗。竖图适合 IG Story / 小红书

查看安装方法

适用场景

  • Visualizing the path from visitors to paying customers
  • Showing applicant counts across hiring stages
  • Comparing candidate counts during a selection process
  • Preparing a vertical funnel graphic for social media

包含的文件(3)

  • SKILL.md6.8 KB
  • example.html6.6 KB
  • example.md648 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

【模板: 漏斗信息图(Funnel Infographic)】

【意图】把"从大到小"的转化 / 筛选 / 损耗过程一眼看清。宽顶(输入)→ 窄底(结果), 每一阶有明确的"剩多少"和"漏多少"。典型场景:marketing funnel(曝光→点击→注册→付费)、招聘漏斗(投递→面试→录用→入职)、决策漏斗(候选→筛选→敲定)。

【数据形态】

输入应是有序的 3-6 个阶段 + 每阶的绝对数值(人数 / 件数 / 金额)。可选每阶名称、说明、单位。若用户只给了百分比, 默认顶端 = 100% / 10000 人。

阶段 1: 100,000 名访客
阶段 2:  18,500 名注册(18.5%)
阶段 3:   6,200 名启动试用(33.5%)
阶段 4:   1,450 名转付费(23.4%)
阶段 5:     920 名 30 天留存(63.4%)

【布局规则】

区域内容占比
Hero 顶部(约 15%)标题(≤ 20 字, 22-32px CJK)+ 副标题 / 时间窗口(灰色 14-16px)上 15%
漏斗主体(约 65%)3-6 个梯形 stage, 每段含:左大数字(48-72px tabular-nums)+ 右阶段名(18-22px bold)+ 右二行说明(13-15px 灰)+ 段间小箭头标转化率中 65%
底部 stat strip(约 20%)累计转化率(最大字号 80-120px)+ 1-2 句洞察文本(漏出最严重的环节 / 关键提示)下 20%

【漏斗实现】

用 CSS clip-path: polygon() 切梯形, 不用 SVG:

  • 每段 stage 是一个 <div>, 设固定 height(120-200px)+ 不同 clip-path
  • clip-path 的左右收缩量 = 50% × (1 - bottom_width_ratio), 累计每段比上一段窄
  • 每段背景色用同一 hue 不同 lightness, 顶端最饱和, 底端最深(accent → ink)
  • 阶段之间有 4-8px gap, 让"流动"感更明显
  • 数字用 font-variant-numeric: tabular-nums, letter-spacing -0.02em

【主题色 — 三选一, 不许混】

主题适用顶端底端inkpaper
klein-blue(默认)商业 / SaaS / AI 产品#4F7BD8#002FA7#0A0A0A#FAFAF8
sunset-amber零售 / 消费 / 餐饮#FBB040#C73E1D#0A0A0A#FFF8EC
deep-forest招聘 / 教育 / 健康#56A06E#1F4D2E#0A0A0A#F4F0E6

文字色:

  • 漏斗内部数字与名字一律白色(#FFFFFF)
  • 顶端 / 副标题 / 底部 strip 用 ink(#0A0A0A)
  • 灰色辅助文字:rgba(10,10,10,0.55)

【字体栈】

"PingFang SC", "Heiti SC", "Helvetica Neue", "Arial", -apple-system, sans-serif

数字(tabular-nums 必须):

"SF Mono", "JetBrains Mono", "Menlo", "Roboto Mono", monospace

禁用 Inter —— 它太"AI 默认味"。优先 PingFang SC(CJK)+ Helvetica Neue(拉丁)。

【字号 / 间距锁死】

  • 主标题:clamp(28px, 2.8vw, 36px) font-weight 800 letter-spacing -0.02em
  • 副标题:14-16px font-weight 500 ink/0.6
  • 段内大数字:clamp(48px, 5.5vw, 72px) tabular-nums font-weight 900 white
  • 段内阶段名:20-22px font-weight 700 white
  • 段内说明:13-15px font-weight 400 white/0.85
  • 段间转化率徽章:13px font-weight 700, paper 底 ink 字, 圆角 6px, padding 2px 8px
  • 底部累计大数字:clamp(80px, 12vw, 120px) font-weight 900 ink letter-spacing -0.04em
  • 底部洞察:16-18px font-weight 500 ink/0.75 max-width 80%
  • 整体 padding:6vmin 7vmin
  • 段间 gap:6px
  • Hero 与漏斗之间 gap:32-48px
  • 漏斗与 strip 之间 gap:48-64px

【输出契约】

输出单文件 HTML, inline CSS, 不写 JS(静态图)。不外链 CDN / 图标库 / 字体文件。

  • 不放图标 / 不用 emoji 装饰(漏斗本身就是图)
  • 不放图表(饼图 / 柱状图)—— 一篇一个漏斗
  • 不放公司 logo
  • background 是 paper, 整张图占满 viewport
  • 用 aspect-ratio: 9 / 16 锁定容器, 内容用 flex column 填充

【数据规范】

  • 顶端数 = 100% 基准
  • 每阶转化率 = 当前段 / 上一段
  • 累计转化率 = 末段 / 顶段
  • 数字千分位用半角逗号(10,000 不要 10000)
  • 百分比保留 1 位小数(18.5% 不要 18.50% 也不要 19%)
  • 单位(人 / 件 / $)放在数字后, 13-15px 灰色
  • 编绝对数比写百分比更有说服力("少了 81,500 人"比"漏掉 81.5%"更扎心)

【洞察文本(底部 strip)】

写 1-2 句, 总长 ≤ 60 字:

  • 第一句:累计数字 + 评价("100,000 个访客中, 只剩 920 个真正留下")
  • 第二句(可选):指出最大漏出环节("最大流失在『访客→注册』, 81.5% 在第一步就走了")

禁止 AI 文案腔("通过本图表可以看出"、"由此可见"、"综上所述")。直接说事实。

【分阶段视觉宽度计算】

5 阶时, top_width=100%, bottom_width=30%(漏斗收口)。每段 bottom_width 比上一段窄 (100-30)/5 = 14%。例如:

  • Stage 1: top 100% → bottom 86%
  • Stage 2: top 86% → bottom 72%
  • Stage 3: top 72% → bottom 58%
  • Stage 4: top 58% → bottom 44%
  • Stage 5: top 44% → bottom 30%

clip-path 公式(每段独立 div):

clip-path: polygon(
  {(100-top)/2}% 0%,
  {100-(100-top)/2}% 0%,
  {100-(100-bottom)/2}% 100%,
  {(100-bottom)/2}% 100%
);

3-4 阶时收口可以放宽到 40-45%, 6 阶时压到 22-25%。

【禁区】

  • 不要在漏斗段内画图标 / 插画
  • 不要把数字放在段右、名字放在左(要左数字 / 右名字, 形成视觉重力)
  • 不要让段高度跟数值挂钩(这是 funnel 不是 H-bar chart, 信息密度靠宽度收缩传达)
  • 不要让漏斗居中悬浮——它该填满中段, 顶部贴 Hero, 底部贴 strip
  • 不要超过 6 阶(信息过载, 拆成两张图)
  • 不要 3D / 阴影 / 发光(platine 干净版式)
  • 不要 Inter 字体(见上)
  • 不要写"以下是漏斗"、"如下图所示"之类的 meta 文字

【致谢】 本 skill 设计参考 baoyu-skills · baoyu-infographic 的 funnel layout 规范, 视觉补完 + HTML 实现由 html-anything 独立编写。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Format long articles for blogs and newsletters with a magazine-style layout inspired by Substack and Medium. A centered text column, contrasting headings, styled quotations, and labeled code blocks give readers clear visual cues throughout the page.

中文简介正在准备中。当前显示英语简介。

  • Formatting a long blog article
  • Preparing an essay or newsletter for publication
  • Laying out articles with quotations and code examples
nexu-io/html-anything92072026年10月13日 更新

Turn a concept’s origins into a magazine-style visual story. Six distinct layouts combine diagrams, annotations, and typography to trace a concrete problem through failed attempts and a turning point, revealing the concept’s name at the end.

中文简介正在准备中。当前显示英语简介。

  • Illustrating how a concept emerged
  • Creating visual learning materials about failed attempts
  • Presenting a concept’s history as a magazine feature
nexu-io/html-anything92072026年10月13日 更新

blog-post

免费

Create magazine-style pages for long blog posts, essays, and case studies. The layout combines readable single-column text with a prominent title, captioned figures, highlighted quotations, author details, and related article cards.

中文简介正在准备中。当前显示英语简介。

  • Designing a long-form blog page
  • Presenting an essay with magazine-style typography
  • Laying out a case study with figures and quotations
nexu-io/html-anything92072026年10月13日 更新

Create a landscape card for an X post, featuring a short quote, insight, or data point. The layout combines prominent text with attribution, a handle, a category label, and a brand watermark.

中文简介正在准备中。当前显示英语简介。

  • Sharing a quote with author attribution on X
  • Highlighting a data point in a social post
  • Creating branded cards for short insights
nexu-io/html-anything92072026年10月13日 更新

Create a series of Xiaohongshu-style knowledge cards with a cover, focused content cards, and a closing summary. Soft colors, large text, and spacious layouts make the cards suitable for mobile reading and screenshots for social posts.

中文简介正在准备中。当前显示英语简介。

  • Turn practical tips into a series of social media cards
  • Explain one key idea per card for mobile readers
  • Prepare card layouts for social post screenshots
nexu-io/html-anything92072026年10月13日 更新

Turn supplied competitor research into a product strategy report. Compare positioning, features, pricing, and user feedback, then identify opportunities and propose actions for the next 30, 90, and 180 days, while marking missing evidence.

中文简介正在准备中。当前显示英语简介。

  • Comparing competitors to guide product decisions
  • Reviewing pricing and plan differences
  • Turning research notes into a strategy report
nexu-io/html-anything92072026年10月13日 更新

查看 nexu-io 的全部技能

报告此技能的问题