Chart Clarity 标志

Chart Clarity

社区
Mathews-Tom
chart-clarity

运用 Edward Tufte 的设计原则创建、评审和重新设计数据可视化,包括提高数据墨水比、直接标注、范围框坐标轴、小多图、无障碍配色、自适应图表和诚实的比较。触发语句包括:“创建图表”“调整图表样式”“评审这张图”“Tufte 图表”“数据可视化”“Recharts”“Plotly”“matplotlib”“Chart.js”“ECharts”“D3”。适用于生成或评析图表、仪表盘、迷你图和数据表。

Add to TypingMind

概览

发布者Mathews-Tom
代码仓库armory
技能名称chart-clarity
星标数
318
复刻数
47
附带文件
31
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 31 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mathews-Tom/armory.git /tmp/armory
mkdir -p .claude/skills
cp -r /tmp/armory/skills/chart-clarity .claude/skills/chart-clarity
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Chart Clarity。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Chart Clarity

Create and critique charts that make quantitative comparisons obvious without decorative chartjunk. This skill adapts Caylent's MIT-licensed tufte-data-viz skill into armory under the broader chart-clarity name. It applies Edward Tufte's core data visualization principles and adds screen-first requirements for accessibility, responsiveness, dark mode, progressive disclosure, and human-readable numbers.

Use this skill whenever the user asks for a chart, graph, plot, dashboard visualization, sparkline, slopegraph, data table, or visualization review. It covers Recharts, ECharts, Chart.js, matplotlib, Plotly, seaborn, D3.js, SVG, and HTML.

When to Use

User needUse chart-clarityUse instead
Generate chart code in Recharts, Plotly, matplotlib, Chart.js, ECharts, D3, SVG, or HTMLYes—
Review an existing chart for misleading design, clutter, accessibility, or readabilityYes—
Restyle dashboard charts while keeping the dashboard structure unchangedYesux-expert for broader dashboard UX
Build a static infographic or rich HTML artifact around chartsNostatic-web-artifacts-builder
Design a slide deck or presentation using chartsNohtml-presentation, marp-slides, or pptx
Design logos, posters, icons, or non-data visualsNoconcept-to-image or canvas-design

Trigger Families

  • Chart creation: "create a chart", "plot this data", "make a graph", "build a sparkline", "generate a slopegraph".
  • Chart review: "review this visualization", "what is wrong with this graph", "make this chart clearer", "remove chartjunk".
  • Tufte-specific: "Tufte chart", "high data-ink ratio", "range-frame axes", "small multiples", "direct labels".
  • Library-specific: "Recharts", "ECharts", "Chart.js", "matplotlib", "seaborn", "Plotly", "D3", "SVG chart".

Workflow

Follow this order for every chart task.

  1. Identify the message. Determine the finding the chart needs to make visible. A useful title states the finding: "Revenue Beat Target by 24% in Q2", not "Revenue by Month".
  2. Identify comparison context. Add a baseline, prior period, target, average, peer group, or distribution. A number without comparison context is weak evidence.
  3. Choose the chart type. Use the data shape to select line, horizontal bar, scatter, small multiple, sparkline, slopegraph, heatmap, or table. Refuse pie charts by default; use sorted horizontal bars unless the user explicitly asks for a pie chart.
  4. Apply the universal rules. Remove decorative ink, direct-label series, use gray-first color, annotate notable features, format numbers for humans, and ensure the chart earns its space.
  5. Read one library reference. For implementation code, read exactly one matching library file from references/rules/ unless the task compares multiple libraries.
  6. Validate before presenting. Run the checklist at the end of this file against the final chart or review output.

Universal Rules

  1. Remove top and right borders, spines, frames, and plot boxes.
  2. Use direct labels instead of legends. Remove legend components unless the user explicitly requires one.
  3. Remove gridlines by default. If precision reading requires gridlines, use horizontal-only rules at 8-12% opacity.
  4. Use range-frame axes where the axis spans the data range rather than arbitrary empty space.
  5. Use two-dimensional marks only. No 3D, shadows, bevels, gradients, or perspective effects.
  6. Avoid pie charts. If explicitly requested, use no more than four slices, direct percentage labels, and 2D rendering only.
  7. Aim for an aspect ratio near 1.5:1 for ordinary charts. Sparklines and small multiples are exceptions.
  8. Start with gray data marks and one accent color for the key point, line, or series. Use no more than four distinct colors.
  9. Use off-white light backgrounds (#fffff8) and intentional dark backgrounds (#151515). Avoid pure white and pure black.
  10. Use serif fonts for titles, labels, annotations, and data values. Small axis ticks can use system sans-serif.
  11. Do not use dual y-axes. Use small multiples with shared x-axis or shared scales.
  12. Annotate peaks, troughs, inflection points, event boundaries, and outliers directly on the chart.
  13. Show comparison context with a reference line, target, prior-period series, shaded band, or peer group.
  14. Keep tooltips plain: label, value, unit, and minimal context. No shadows, arrows, decorative panels, or color blocks.
  15. Use progressive disclosure. Keep the overview clean and reveal details through hover, focus, tap, or click.
  16. Make charts accessible: 3:1 contrast for chart elements, 4.5:1 for text, text alternatives, keyboard access, and no color-only encoding.
  17. Make charts responsive by changing layout, tick density, or chart type across viewport widths. Do not merely shrink dense desktop charts.
  18. Animate data transformations only. Respect prefers-reduced-motion.
  19. Treat dark mode as a separate palette. Never invert colors mechanically.
  20. Make titles assert findings, not describe axes.
  21. Format numbers for humans: $1.2M, 12,450, consistent precision, units stated once.
  22. Do not chart one or two numbers. Use a sentence or table when that communicates more clearly.

Library Quick Reference

Read one matching reference file for concrete implementation details:

LibraryReferenceEssential defaults
Rechartsreferences/rules/recharts.mdHide grid, remove <Legend />, direct labels, no top/right axes, minimal tooltip
EChartsreferences/rules/echarts.mdsplitLine.show: false, legend.show: false, grid.show: false, endLabel
Chart.jsreferences/rules/chartjs.mdgrid.display: false, plugins.legend.display: false, direct labels plugin
matplotlib/seabornreferences/rules/matplotlib.mdHide top/right spines, set spine bounds, serif fonts, off-white figure background
Plotlyreferences/rules/plotly.mdshowgrid=False, showlegend=False, plot_bgcolor='#fffff8', zeroline=False
D3/SVG/HTMLreferences/rules/svg-html.mdMinimal domains, no plot backgrounds, direct SVG text labels, accessible roles

Cross-cutting references:

TopicReference
Anti-pattern detection and one-line fixesreferences/rules/anti-patterns.md
Accessibility, responsiveness, animation, dark modereferences/rules/interactive-and-accessible.md
Full palettes, font stacks, numeric typographyreferences/rules/typography-and-color.md
Small multiples, sparklines, slopegraphsreferences/rules/small-multiples-sparklines.md
Working examplesreferences/examples/
Interactive before/after demo, CDN-backed and reference-onlyreferences/interactive-demo.html
Upstream license and provenancereferences/upstream/

Chart Type Guidance

TypeDefault treatment
Line1.5-2px stroke, no dots unless fewer than seven points, direct label at endpoint, annotate notable events
BarPrefer horizontal bars for categories, sort descending, label values directly, use gray with one accent
ScatterSmall gray dots, highlight key cluster or outlier, add regression line only when analytically justified
Time seriesLabel events on the chart, compare against target or prior period, avoid dual axes
Small multiplesSame scale across panels, shared labels, no panel borders, direct panel titles
SparklineWord-sized, no axes or labels, min/max dots, endpoint value when useful
TableWhitespace and thin rules, right-aligned numbers, no zebra striping, highlight meaningful outlier only
SlopegraphBefore/after endpoints labeled with names and values, gray slopes plus one highlight
HeatmapSequential or diverging palette, cell values where readable, companion table for accessibility

Review Checklist

Before presenting code or critique, verify:

  • No top or right border/spine/frame.
  • No legend where direct labels work.
  • Gridlines are absent or horizontal-only at opacity no greater than 0.12.
  • Aspect ratio fits the data and target viewport.
  • Background uses #fffff8 or an intentional dark palette, not pure white or black.
  • Data labels and titles use a serif font stack.
  • Default series color is gray; accent color is selective.
  • No 3D, decorative gradients, shadows, gauges, or chartjunk.
  • No dual y-axis.
  • The chart includes comparison context.
  • The most important peak, trough, outlier, event, or inflection point is annotated.
  • Tooltips are plain and accessible.
  • Hover details have tap or focus alternatives.
  • Text alternatives exist through aria-label, nearby summary text, or data table.
  • Colors meet contrast requirements and are not the sole encoding.
  • Animation is purposeful and respects reduced motion.
  • The chart remains usable at narrow and wide viewports.
  • The title states a finding.
  • Numbers use readable units and consistent precision.
  • The chart is warranted; a sentence or table would not communicate better.

附带文件

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

常见问题

Chart Clarity AI 技能有什么作用?

运用 Edward Tufte 的设计原则创建、评审和重新设计数据可视化,包括提高数据墨水比、直接标注、范围框坐标轴、小多图、无障碍配色、自适应图表和诚实的比较。触发语句包括:“创建图表”“调整图表样式”“评审这张图”“Tufte 图表”“数据可视化”“Recharts”“Plotly”“matplotlib”“Chart.js”“ECharts”“D3”。适用于生成或评析图表、仪表盘、迷你图和数据表。

为什么在 TypingMind 中使用 Chart Clarity?

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

如何在 TypingMind 中安装 Chart Clarity?

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

哪些 AI 模型可以使用 Chart Clarity?

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

Chart Clarity 可以搭配多少个 AI 模型使用?

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

Chart Clarity AI 技能免费吗?

是的。Mathews-Tom 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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