Tell Data Story 标志

Tell Data Story

社区
eyadkht
tell-data-story

根据用户的数据和目标,挑选 2–3 种合适的叙事设计模式,然后生成一个独立的 HTML 页面,用这些数据演示所选模式。用户分享数据集(CSV、PDF、表格、JSON、文本)、数字截图,或描述数据并询问如何呈现、传达、让人印象深刻、更有说服力或更能引发情感共鸣时,使用此技能。传入模式名称或编号作为参数,即可直接应用指定模式,而不是自动挑选。

Add to TypingMind

概览

发布者eyadkht
代码仓库narrative-design-patterns
技能名称tell-data-story
星标数
3
复刻数
0
附带文件
3
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 eyadkht 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Tell Data Story AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/eyadkht/narrative-design-patterns/tree/main/skills/tell-data-story
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eyadkht/narrative-design-patterns.git /tmp/narrative-design-patterns
mkdir -p .claude/skills
cp -r /tmp/narrative-design-patterns/skills/tell-data-story .claude/skills/tell-data-story
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Tell Data Story,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Tell Data Story。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Tell Data Story 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Tell Data Story

Turn raw data plus a goal into a one-page interactive story built from 2-3 narrative design patterns. The output is a single self-contained HTML file the user can open in a browser, send to a colleague, or paste into a CMS.

Inputs

The user provides:

  1. Data — file path to CSV/PDF/JSON/Markdown table, a pasted table, or a verbal description of numbers.
  2. Goal and audience — what they want the reader to take away, and who that reader is. If missing, ask in Step 2.

Optional $ARGUMENTS: a pattern name (compare, concretise) or pattern number (13, 08). Empty argument means auto-pick mode.

Workflow

Copy this checklist into your response and tick boxes as you go:

- [ ] Step 1: Read the data and note its shape
- [ ] Step 2: Clarify takeaway, audience, format (skip questions already answered)
- [ ] Step 3: Confirm the goal back to the user before going further
- [ ] Step 4: Propose patterns (direct from $ARGUMENTS, or auto-pick 2-3) and get sign-off
- [ ] Step 5: Generate narrative-output.html from template.html
- [ ] Step 6: Report picks, rationale, and output path

Step 1 — Read the data

  • CSV, JSON, Markdown, plain text: read directly with the Read tool. Note row count, column names, key dimension (time, category, geography), magnitude range, and any obvious outliers.
  • PDF: try python3 -c "import pdfplumber, sys; print(pdfplumber.open(sys.argv[1]).pages[0].extract_text())" <path>. If pdfplumber is not installed or extraction fails, ask the user to paste the key rows.
  • Pasted table or verbal description: work from what they gave you; ask for a sample if it is too abstract to choose patterns from.

State the shape back in one sentence so the user can correct you before pattern selection.

Step 2 — Clarify intent

If the user has not already said, ask up to three questions in a single message. Do not ask more than three. Skip any that are already answered:

  1. Takeaway — In one sentence, what should the reader walk away thinking?
  2. Audience — General public, technical/expert, internal decision-makers, or something else?
  3. Format — Where does this live? Slide, blog post, social share, internal report, exhibit panel?

Step 3 — Confirm the goal

Before picking patterns, mirror the brief back to the user in 2 to 4 short lines, then stop and wait for confirmation. Do not move on until they reply.

Use this shape:

Data: one line restating the shape (rows, dimension, range). Takeaway: the one-sentence message you'll build the story around. Audience and format: who it's for, where it lives.

Sound right, or want to adjust before I pick patterns?

If the user corrects anything, update your understanding and re-confirm only if the change is material (different takeaway, different audience). Small wording tweaks do not need a second round.

Step 4 — Propose patterns and get sign-off

If $ARGUMENTS is non-empty (direct mode):

  • Match against the list in Available patterns below. Accept the id (13-compare), the short name (compare), or the number (13).
  • If no match, stop and list the 18 valid names so the user can retry.
  • Apply that single pattern. Skip auto-pick heuristics. Still walk the user through it (one or two sentences on why it fits their data) and ask for the green light before generating.

Otherwise (auto-pick mode), choose 2 to 3 patterns. Use these heuristics, then read patterns.md for the candidates' full why and how before finalising:

  • Persuade / argue a point → Argumentation: 01-repetition, 02-silent-data, 13-compare
  • Make scale or magnitude land → Emotion: 08-concretise, 05-humans-behind-the-dots
  • Pull the reader in, let them play → Engagement: 03-exploration, 04-users-find-themselves, 16-make-a-guess
  • Sequence complex material → Flow: 06-gradual-reveal, 07-speed-up-slow-down
  • Shift perspective, reframe → Framing: 09-familiarisation, 15-defamiliarisation, 14-convention-breaking, 17-physical-metaphor
  • Move the reader to act → Engagement: 18-call-to-action
  • Empathy / personal stake → Emotion + Framing: 11-breaking-the-4th-wall, 12-addressing-the-audience

Selection rules:

  • Prefer patterns whose categories (in patterns.md) align with the stated goal.
  • Diversify: when two patterns serve the same purpose, prefer the pair that covers different categories so the story has both head and heart.
  • Match data shape: small-multiples-able data favours 01-repetition; two-entity comparisons favour 13-compare; sequential or time-series data favours 06-gradual-reveal; large counts of people or events favour 05-humans-behind-the-dots or 08-concretise.

For each pick, write one sentence of rationale that names the user's specific data and goal, not a generic restatement of the pattern. Bad: "Use Compare to show the difference." Good: "Use Compare so the 3 % marketing spend sits next to the 47 % salary line at the same scale, and the gap becomes the chart."

Then present the proposal to the user as a short bulleted list (pattern name, one-sentence rationale each) and ask:

Happy with these, or want to swap one out? I'll generate the page once you say go.

Wait for a green light before Step 5. If they swap a pattern, update the list and re-confirm. If they say go, proceed.

Step 5 — Generate output

  1. Read template.html.
  2. Fill placeholders:
    • {{TITLE}} — short headline derived from the user's takeaway.
    • {{TAKEAWAY}} — the takeaway sentence verbatim.
    • {{PATTERN_BLOCKS}} — one <section class="pattern-demo"> per selected pattern, in the order the story should be read. Each block contains:
      • Category pill (use the primary category from patterns.md)
      • Pattern title and number
      • Why this pattern — one or two sentences pulled and tightened from the pattern's why
      • Applied here — one or two sentences naming the user's data and the specific move
      • A working demo built from the user's actual data: inline SVG, HTML, and JS. No frameworks, no external CSS, no build step. Match the visual language defined in design-system.html: Fraunces headings, monospace labels for axes/captions, the paper/ink/category tokens already inlined in template.html, yellow .hl only as a background behind text, soft .demo-frame panels for chart areas.
  3. Write the filled-in file to narrative-output.html in the current working directory. Overwrite if it exists.

Critical: the demo must use the user's numbers, not the example data from the pattern's catalog entry. The catalog's example field is a reference to existing work, not data to copy.

Step 6 — Report

In your final response, give the user:

  • A bulleted list of the 1-3 patterns picked, each with the one-sentence rationale from Step 3.
  • The output path (./narrative-output.html).
  • One line telling them to open it in a browser.

Keep the report short. The HTML is the deliverable.

Available patterns

Use these ids (or the bare number / short name) for $ARGUMENTS matching. Full why and how for each in patterns.md.

  • 01-repetition — Repeat one motif across small multiples until the pattern feels inescapable.
  • 02-silent-data — Ghost a data point, then reveal it for shock.
  • 03-exploration — Let the reader filter and drill in.
  • 04-users-find-themselves — Reader locates their own dot in the population.
  • 05-humans-behind-the-dots — Hover a dot, meet the person.
  • 06-gradual-reveal — Layer complexity one beat at a time.
  • 07-speed-up-slow-down — Control playback tempo to spotlight dense moments.
  • 08-concretise — Translate abstract magnitude into a familiar physical equivalent.
  • 09-familiarisation — Re-label the chart around the reader's own reference point.
  • 10-rhetorical-question — Open with a question, deliver the answer in the chart.
  • 11-breaking-the-4th-wall — A subject inside the chart turns and addresses the reader.
  • 12-addressing-the-audience — Rewrite copy in the second person.
  • 13-compare — Two things at the same scale; the disparity is the chart.
  • 14-convention-breaking — Set up a chart convention, then break it.
  • 15-defamiliarisation — Re-draw something familiar strangely.
  • 16-make-a-guess — Reader draws their prediction; reveal the truth over it.
  • 17-physical-metaphor — Direction carries feeling: up is good, down is bad.
  • 18-call-to-action — End with one specific, low-friction next step.

References

  • Full pattern catalog with why, how, and a real-world example for each: patterns.md
  • Output scaffold with the design tokens inlined: template.html
  • Visual language reference (colors, type, components, motion). Edit this file to retheme the skill; keep token names stable so template.html stays in sync: design-system.html

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Tell Data Story AI 技能有什么作用?

根据用户的数据和目标,挑选 2–3 种合适的叙事设计模式,然后生成一个独立的 HTML 页面,用这些数据演示所选模式。用户分享数据集(CSV、PDF、表格、JSON、文本)、数字截图,或描述数据并询问如何呈现、传达、让人印象深刻、更有说服力或更能引发情感共鸣时,使用此技能。传入模式名称或编号作为参数,即可直接应用指定模式,而不是自动挑选。

为什么在 TypingMind 中使用 Tell Data Story?

因为您只需安装一次,就能搭配任何模型使用。Tell Data Story 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Tell Data Story?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/eyadkht/narrative-design-patterns/tree/main/skills/tell-data-story。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Tell Data Story?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Tell Data Story 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Tell Data Story 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Tell Data Story AI 技能免费吗?

eyadkht 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇