Logo Dataviz Precision

Dataviz Precision

Cộng đồng
skthewimp
dataviz-precision

Choose how many significant digits to show for chart and table numbers - keyed to the spread (max-min), not individual values, one uniform place per column. Never fabricate precision.

Tổng quan

Nhà phát hànhskthewimp
Kho mãkarthik-data-visualization-skill
Tên kỹ năngdataviz-precision
Sao
49
Bản fork
5
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được skthewimp công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Dataviz Precision trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-precision/claude
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skthewimp/karthik-data-visualization-skill.git /tmp/karthik-data-visualization-skill
mkdir -p .claude/skills
cp -r /tmp/karthik-data-visualization-skill/dataviz-precision/claude .claude/skills/dataviz-precision
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Dataviz Precision trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Dataviz Precision ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Dataviz Precision với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Dataviz Precision

Own the significant-digits decision for numbers on a chart or in a table: axis ticks, data labels, and table cells. Do not choose the chart's form, its colours, or its prose - those belong to dataviz-selector, dataviz-color, and chart-explainer. This skill generalises the precision philosophy that also governs karthik-table-style; when formatting numbers anywhere, this is the authority.

The mechanical computation lives in the dataviz MCP: recommend_precision. Without the server, apply the formula below by hand.

The rule: precision is keyed to the spread, not the value

The question is never "how precise is this number" but "how precise must the reader be to tell these numbers apart". So precision is set by the range of the column or axis (max minus min), not by any single value.

Call recommend_precision(values, role) with the numbers that will be shown together (role = axis, label, or table_column). It computes:

  • the range max - min over the values that must be distinguished,
  • a single uniform rounding place for the whole set, from the formula place = floor(log10(range)) - (target_steps - 1) where target_steps (~2) is how many significant figures of the range the reader needs to just about resolve the information,
  • a formatted preview of every value rounded to that place.

Example: {12483, 9210, 15040} has a range of ~5830, so the place is hundreds and the column shows 12,500 / 9,200 / 15,000 - two significant figures of the spread, and no more.

If you know the smallest difference that actually matters (d), pass smallest_meaningful_difference=d; the place is then floor(log10(d)).

Each preview row also carries a compact form: the same place, written in the largest short-scale unit (K, M, B, T) the column supports. When the column is already scaled - "$MM", "in thousands" - pass unit_multiplier (1e6, 1e3) so the unit comes out right: [70398, 77264] in $MM reads 70.4B / 77.3B. Numbers written in words - the title, a subtitle, an annotation - use the compact form; axis ticks and table cells use whichever the column reads best in.

What this means in practice

  • Significant digits, not decimal places. The place cuts to the left of the decimal too: 12,483 becomes 12,500 or 12,000 when the spread is coarse. Large, widely spread values usually want fewer digits, not more.
  • Round every value in a column to the same place, so length reads as magnitude and decimal points align.
  • Don't show precision the data cannot support, and never manufacture it to fill space - precision is a data decision, not a layout one.
  • The source's own precision is a hard ceiling the spread rule can lower but never raise. Integer source values stay integers (44, 1, not 44.0, 1.0 - a trailing .0 asserts a tenths measurement never made). Take the finer of the two: the spread's place, capped at the source's decimal places. Still one uniform place per column - never 36 beside 43.0.
  • Never round toward rounder-sounding numbers - round to the place the spread dictates, not to whatever looks tidy.
  • No approximation glyphs on a value that is known exactly. A plotted datum you hold precisely is labelled as itself - 610, not ≈610 or ~610 or about 610. The ≈ asserts an uncertainty the data doesn't have, and it also breaks the redundant-axis check (a tick reader matches label text to the mark value, and ≈610 no longer reads as 610), so the value axis it should have retired stays on the chart. Reserve ≈/~ for a figure that is genuinely an estimate (a rounded external headline, a read-off from a source chart), never for a value from the data in hand.
  • A displayed 0 must mean the value is zero. When a value far smaller than the spread would round away at the column place, recommend_precision refines the place just enough to keep it one significant digit and returns zero_collapse_prevented: true. It never lets a nonzero value print as 0.

Precedence: the spread rule is the default; exact digits are the exception

By default, recommend_precision governs every displayed number. Source digits override it in exactly one case: identifiers or a genuine exact-lookup requirement - an account number, a code, a reference value the reader must read off verbatim. Call recommend_precision(values, role, exact=True) for those; it preserves every source digit and returns exact_override: true.

Printed source labels, integer measurements and the existence of a data label are not exact-lookup requirements. Identify the reader's task that needs verbatim digits; a magnitude/change comparison uses spread precision even when the source prints every digit. Keep underlying data exact and round only its display.

An exact override is never silent: whenever you leave the spread rule behind, record the reason - why this column is an identifier or exact lookup rather than a quantity to compare. If you can't name why, the spread rule stands. If an upstream decision already marked a column as identifier/exact-lookup, obey that mark and carry its reason forward - don't silently re-decide at build. Carrying the decision as an explicit flag with its reason (not re-inferred from prose) is what lets a weaker downstream model apply it reliably.

Labels are not measurements: temporal and ordinal axes

A value that names a position rather than a quantity to compare - a year (2000, not 2,000), a quarter, month number, rank, stage, or any sequence/ID used as a coordinate - is a label, not a measurement: no thousands separator, no spread rounding, no forced decimals (a year axis reads 1970 2000 2030, never 1,970 or 2000.0). This isn't the exact-lookup override (that preserves a quantity's digits); a coordinate is simply never a quantity the spread rule governs. recommend_precision is for the measured values plotted against these axes, not the axis positions. Same for such a value inside an annotation ("in 2000", not "in 2,000").

Charts and tables

The rule is the same for both. On a chart it sets axis-tick and data-label formatting; in a table it sets each numeric column's rounding and, with karthik-table-style, the decimal alignment and tabular figures. Apply recommend_precision per axis and per column - each has its own spread.

Câu hỏi thường gặp

Kỹ năng AI Dataviz Precision làm được gì?

Choose how many significant digits to show for chart and table numbers - keyed to the spread (max-min), not individual values, one uniform place per column. Never fabricate precision.

Vì sao nên dùng Dataviz Precision trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Dataviz Precision là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Dataviz Precision trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/skthewimp/karthik-data-visualization-skill/tree/main/dataviz-precision/claude. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Dataviz Precision?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Dataviz Precision với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Dataviz Precision với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Dataviz Precision có miễn phí không?

Có. Kỹ năng này được skthewimp phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇