Token导航 LogoToken导航

Agent Skill · 研究检索

tufte-data-viz(簇状数据可视化)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

tufte-data-viz 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 49,632。

总安装 643周安装 26GitHub Stars 37下载 202核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tufte-data-viz(簇状数据可视化)
来源仓库:https://github.com/caylent/tufte-data-viz
仓库路径:skills/tufte-data-viz
安装命令:
npx skills add https://github.com/caylent/tufte-data-viz --skill tufte-data-viz
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/caylent/tufte-data-viz --skill tufte-data-viz

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于辅助数据整理、表格处理、CSV/Excel 分析和图表准备。适合清洗字段、汇总数据、发现异常或生成统计口径。使用时需确认数据来源、字段含义和时间范围,避免误用样本为全量。涉及敏感数据导出时应先确认权限和脱敏边界。tufte-data-viz 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/tufte-data-viz

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/caylent/tufte-data-viz --skill tufte-data-viz;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

tufte-data-viz 怎么安装?

在终端执行 npx skills add https://github.com/caylent/tufte-data-viz --skill tufte-data-viz。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tufte-data-viz 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tufte-data-viz 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

tufte-data-viz 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tufte-data-viz 用的人多吗?

公开数据是累计安装 643 次,近一周安装 26 次,下载 202 次,GitHub 37 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tufte-data-viz 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tufte-data-viz

簇状数据可视化 · 本页

64337只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Tufte Data Visualization

Apply Edward Tufte's principles whenever generating or reviewing code that renders data visually. This skill covers chart generation, not slide/presentation design.

Workflow

Follow these steps in order when creating any chart:

Step 1: Identify the message

Before writing code, determine:

  1. The key finding or trend the chart must make visible.
  2. The comparison context — a baseline, prior period, target, or peer group. A number without context is meaningless.
  3. The chart type that best fits the data structure (see Chart type guidance below).

Step 2: Apply universal rules

Review the rules below. Every rule is a default — deviate only when the user explicitly requests otherwise.

Step 3: Apply library-specific config

Use the Library quick reference table to find the essential overrides for the target library. For complete code examples and helper functions, read ONE rule file from rules/ matching the library.

Step 4: Validate

Run through the validation checklist at the bottom of this file before presenting the chart.


Universal rules

Rules 1–14 cover static principles; 15–19 extend them for screens; 20–22 address content and formatting.

1. Remove top and right borders

No chart should have top or right axis lines, borders, or spines. The bottom and left axes are sufficient. Top and right lines are pure chartjunk.

2. Direct labels, not legends

Label each data series directly — at the endpoint of a line, on or beside a bar, next to a cluster. Remove the <Legend> component entirely. If there is only one series, the chart title provides that context; no label is needed.

3. No gridlines by default

The default is zero gridlines. For static charts where users need to read precise values, add horizontal-only gridlines at very low opacity (0.08–0.12). For interactive charts, prefer a contextual crosshair on hover instead (see rule 15). Never add vertical gridlines.

4. Range-frame axes

Axis lines should span only the range of the data, not from zero to some arbitrary maximum. The axis starts at (or near) the minimum data value and ends at the maximum.

5. No 3D effects

No perspective, no depth, no shadows on chart elements. Two-dimensional data gets two-dimensional representation.

6. No pie charts unless explicitly requested

Default to a horizontal bar chart sorted by value. If the user explicitly asks for a pie chart: maximum 4 slices, 2D only, start at 12 o'clock, direct percentage labels on each slice.

7. Aspect ratio ~1.5:1

Charts should be approximately 50% wider than tall. Standard sizes: 600x400, 750x500, 900x600. Exception: sparklines and small multiples may be more compact.

8. Gray first, highlight selectively

The default data series color is medium gray (#666). Use a single accent color to highlight the most important series or data point. Never use more than 4 distinct colors. Choose the right palette type: categorical (4-color muted) for unordered groups, sequential (single-hue ramp) for ordered magnitude, diverging (two-hue from center) for deviation from a midpoint. See rules/typography-and-color.md for hex values.

9. Off-white background

Light mode: #fffff8. Dark mode: #151515. Never use pure white (#ffffff) or pure black (#000000).

10. Serif fonts for data

Use serif fonts for data labels, annotations, and chart titles: "ET Book", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif. Sans-serif (system-ui, sans-serif) is acceptable only for small axis tick labels (11-12px).

11. No dual y-axes

Two y-axes on one chart create false implied correlations. Use small multiples instead — two charts stacked vertically with shared x-axis.

12. Annotate the notable

If the data contains a peak, trough, inflection point, or event boundary, add a text annotation pointing to it directly on the chart. Place annotations in the nearest clear space — offset from the data point with a short leader line if needed. When multiple annotations compete for space, keep only the most important; move others to a footnote or tooltip.

13. Show comparison context

Include at least one reference element: a reference line (average, target, prior period), a shaded band, or a second series. A chart showing one line with no context fails the "Compared to what?" test.

14. Minimal tooltips

Tooltips should be plain text with the data value and label. No colored background, no border, no arrow pointer, no shadow.

15. Progressive disclosure over static density

Default to the Tufte-clean overview — high data-ink, minimal chrome. Layer details through hover, tap, and click (values, annotations, comparisons). Don't frontload everything onto a single static view. A contextual crosshair on hover replaces permanent gridlines.

16. Accessible by default

3:1 contrast ratio minimum for chart elements against their background; 4.5:1 for text in charts. Never use color as the sole differentiator — pair with shape, pattern, or direct label. Provide a text alternative for every chart (aria-label with key finding, or companion data table). Interactive charts must be keyboard-navigable.

17. Responsive, not just resized

Charts must have a responsive strategy — fluid (percentage width + viewBox), adaptive (breakpoint-based layout changes), or hybrid. At narrow viewports, change chart type or layout (horizontal bars for categories, reduced tick density, abbreviated labels), don't just shrink.

18. Animate to explain, not to decorate

Transitions for data changes (sorting, filtering, time progression) are good — they help the viewer track transformations. Gratuitous entrance animations, bouncing, and decorative motion are chartjunk. Duration: 200–500ms, ease-out. Always respect prefers-reduced-motion.

19. Dark mode as first-class citizen

Design both light and dark palettes intentionally. Never invert colors. Reduce saturation in dark mode (bright colors "vibrate" on dark backgrounds). Respect prefers-color-scheme. Use semantic color tokens (--tufte-bg, --tufte-text, --tufte-series-default) so charts adapt automatically.

20. Titles assert findings

The chart title states the key insight, not the axis description. "Revenue Surged 23% in Q3" not "Revenue by Quarter, 2024". The subtitle can provide context ("vs. prior year, USD millions"). If the data has no clear finding, the chart may not be needed (see rule 22).

21. Format numbers for humans

Abbreviate large numbers: $1.2M not $1,200,000. Use thousand separators for mid-range numbers (12,450 not 12450). Match decimal precision to significance (don't show $4.2391M when $4.2M suffices). Right-align numbers in tables. Use consistent units and state them once (in the axis label or title), not on every data point.

22. Don't chart what a sentence can say

If the data is 1–2 numbers, write a sentence with inline context ("Revenue was $4.2M, up 23% from Q2"). If the data is a simple ranking of 3–5 items, consider a table. Charts earn their space by revealing patterns, trends, or distributions that text and tables cannot. A chart of two bars is almost always worse than a sentence.


Library quick reference

The universal rules above are sufficient for most charts. For complete code examples and library-specific helpers, read the appropriate rule file from the rules/ directory in this skill's folder. Only read ONE rule file per task.

LibraryRule file to readEssential config (apply even without reading the file)
Rechartsrules/recharts.md<CartesianGrid stroke="none" />, remove <Legend />, <YAxis axisLine={false} tickLine={false} />, <Line dot={false} strokeWidth={1.5} />
EChartsrules/echarts.mdsplitLine: {show: false}, legend: {show: false}, grid: {show: false}, use endLabel on series
Chart.jsrules/chartjs.mdgrid: {display: false}, border: {display: false}, plugins.legend.display: false, use chartjs-plugin-datalabels
matplotlibrules/matplotlib.mdspines['top'].set_visible(False), spines['right'].set_visible(False), spines['bottom'].set_bounds(min, max), font.family: serif
Plotlyrules/plotly.mdshowgrid=False, showlegend=False, plot_bgcolor='#fffff8', zeroline=False
D3/SVG/HTMLrules/svg-html.md.domain {display: none}, no <rect> backgrounds, stroke-opacity: 0.1 for any gridlines

Chart type guidance

TypeKey settings
Line1.5–2px stroke, dot={false} unless <7 points (then r=2), direct label at rightmost point
BarPrefer horizontal for categories, sort by value descending, direct value labels, #7a7a7a default fill
ScatterGray dots #999 r=3, highlight key cluster/outlier with accent, regression line if meaningful (dashed, thin)
Time seriesLabel events on chart ("Recession", "Launch"), range-frame x-axis, YoY via opacity (current solid, prior 30%)
Small multiplesSame scale ALL panels, shared axis labels (x on bottom row, y on left column), no panel borders
Sparklines~80x20px, no axes/labels/gridlines, min/max dots r=1.5, embed inline in text or table cells
Data tablesNo zebra striping, whitespace + thin rules every 3–5 rows, right-align numbers, font-feature-settings: 'onum' 1
SlopegraphBefore/after categories, label both endpoints (value + name), gray default + highlight key slopes
AreaPrefer lines. If area: fillOpacity 0.03–0.08, no gradient, direct labels at endpoints
Stacked barAvoid — use small multiples instead. If forced: sort by total, direct labels per segment, max 4 segments
HeatmapSequential or diverging palette only, value labels in cells, companion data table for accessibility

For small multiples, sparklines, and slopegraph implementation patterns, see rules/small-multiples-sparklines.md.


Color quick reference

TokenLightDark
Background#fffff8#151515
Text#111#ddd
Text secondary#666#999
Axis/rule#ccc#444
Grid (if used)#eee (8-12% opacity)#333
Default series#666#999
Highlight#e41a1c#fc8d62

Categorical (max 4): #4e79a7 steel blue · #f28e2b tangerine · #e15759 coral · #76b7b2 sage

Font stacks in rule 10. For full palettes (sequential, diverging), font loading, and old-style figures, see rules/typography-and-color.md.


Anti-pattern detection

When reviewing existing chart code, check for: legends (→ direct labels), pie charts (→ horizontal bars), 3D effects (→ flat 2D), dual y-axes (→ small multiples), heavy gridlines (→ remove or 0.1 opacity), rainbow palettes (→ gray + accent), gauge widgets (→ number + sparkline), gradient fills (→ solid color), rotated labels (→ flip axes or abbreviate), pure white/black backgrounds (→ #fffff8/#151515), hover-only information (→ tap/focus fallback), missing text alternatives (→ aria-label), color-only encoding (→ add shape/pattern).

For the full table with per-library detection patterns and one-liner fixes, see rules/anti-patterns.md.


Validation checklist

Before presenting any chart, verify:

  • No top or right borders/spines
  • No Legend component — series labeled directly on the chart
  • Gridlines removed or horizontal-only at opacity <= 0.12
  • Aspect ratio approximately 1.5:1
  • Background is #fffff8 (light) or #151515 (dark), not pure white/black
  • Serif font for data labels and titles
  • Default series color is gray (#666); color used only for emphasis
  • No 3D effects, no pie chart (unless explicitly requested)
  • Axis lines span only the data range (range-frame)
  • Notable data features annotated directly on chart
  • Comparison context present (reference line, band, or second series)
  • Tooltips are plain text with no decorative styling
  • Interactive elements have tap/click/focus alternatives (no hover-only)
  • Contrast ratios meet 3:1 (elements) / 4.5:1 (text) minimums
  • Chart has a text alternative (aria-label, description, or data table)
  • Animations respect prefers-reduced-motion
  • Charts render usably at 320px and 1440px+ widths
  • Title states the finding, not the axis description
  • Numbers are formatted for readability (abbreviations, separators, consistent precision)
  • A chart is warranted — the data couldn't be communicated as a sentence or table

Additional resources

Library rules (read ONE per task): rules/recharts.md, rules/echarts.md, rules/chartjs.md, rules/matplotlib.md, rules/plotly.md, rules/svg-html.md — complete code examples, helpers, and theme registrations.

Cross-cutting (read when specifically needed):

  • rules/interactive-and-accessible.md — progressive disclosure, WCAG, responsive, animation, dark mode
  • rules/typography-and-color.md — font loading, full palette tables, old-style figures
  • rules/anti-patterns.md — per-library detection heuristics and fixes
  • rules/small-multiples-sparklines.md — layout patterns for small multiples, sparklines, slopegraphs

Working examples in examples/ — one per library, plus an inline SVG sparkline.

平台分布

Codex

37.53%
按下载量换算76

Claude

29.58%
按下载量换算60

Cursor

19.66%
按下载量换算40

Gemini CLI

9.98%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills