Logo Karthik Table Style

Karthik Table Style

Cộng đồng
skthewimp
karthik-table-style

Format tables as visualizations in Karthik's style - emphasis, decimal alignment, precision, column widths, minimal rules, tabular figures, and deliberate conditional formatting.

Tổng quan

Nhà phát hànhskthewimp
Kho mãkarthik-data-visualization-skill
Tên kỹ năngkarthik-table-style
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 Karthik Table Style 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/karthik-table-style/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/karthik-table-style/claude .claude/skills/karthik-table-style
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 Karthik Table Style 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 Karthik Table Style 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 Karthik Table Style 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.

Karthik Table Style

Use this skill when the chosen form is a table, or when reviewing a table's formatting. A well-formatted table is a visualization: alignment, precision, and restraint do the same perceptual work that position and colour do in a chart.

This skill owns table craft only. Whether the data should be a table or a chart is dataviz-selector's decision; the two-line note beside the table is chart-explainer; diagnosing an existing table is dataviz-critique. Apply the workflow below before finalizing a table or table-generating code. Private local references may add nuance, but this public skill is self-contained.

Workflow

Semantic preflight: before formatting, identify each column's measure, unit, denominator, and the smallest difference that is meaningful to the reader. A table that is numerically faithful but hard to scan, or that shows more precision than the data supports, is not finished.

  1. State the reader's task: look up one value, compare down a column, compare across a row, or scan for outliers. The task decides ordering, emphasis, and any conditional formatting.
  2. Order rows and columns for that task (see Craft principles).
  3. Format from data outward: values and their alignment first, emphasis second, rules and shading last.
  4. Apply the eraser test: remove any ink that does not carry data or necessary structure - full gridlines, vertical rules, repeated units, redundant precision, decorative shading.
  5. Reserve the whole table by measurement before you render - see the numbered steps below. Geometry is settled up front, not discovered by clipping.
  6. Render and inspect the actual table as the safety net, not just the code: the geometry was reserved at step 5; this pass confirms columns align, decimals line up, nothing wraps into a collision, and the smallest font meets the supplied delivery minimum at displayed size.

Reserve the frame before you render

Table geometry is measured, never eyeballed. A clipped title or a header band overlapping the rows is a reservation skipped on the first pass, not a revision owed later. Before you render, in order:

  1. Size columns from their content. Measure each column's longest formatted value and its complete header with the renderer's own text metrics, and give each column that width plus modest padding. Wrap a long header rather than widening the whole column for it.
  2. Reserve the frame like the columns. The title, subtitle, and footer/notes are wrapped to the table width and given their own bands; the header band is its own layer that must not overlap the subtitle above it or the first data row below it.
  3. A block wider than the canvas does not fit - resolve it by narrowing, wrapping, or splitting across pages, and never ship it clipped at the edge. Do not drop rows or columns to force a fit.
  4. Draw with the widths and heights you measured, not by re-normalising rows afterwards - the failure mode where a hand-rolled table ignores measured heights and clips the footer.

Craft principles

  • Information before whitespace. Default to a compact, readable table with small outer margins and modest cell padding. Space earns its place by separating columns, grouping rows, or preventing collisions. Avoid oversized margins, spacious dashboard-card styling, and tall rows around small text. Keep type readable and tighten the surrounding space; never shrink type to create air.

  • Order for the reader's task. Sort rows and columns by the value being compared, not alphabetically or by source order, unless lookup by name is the task. Time runs across columns; rankings run top to bottom. Ordering is more load-bearing than any formatting: a badly ordered table cannot be rescued by alignment.

  • Make the header row distinct. The header must read as a different layer from the body - weight plus a single rule beneath it, not merely alignment. This is the most common table failure; do not rely on position alone.

  • Emphasis is scarce ink. Bold or shade only the cells that carry the claim

    • a total, a winner, an outlier, the row the reader came for. Emphasising everything emphasises nothing. Keep one focal element as figure against a neutral ground.
  • Alignment. Right-align numbers and align them on the decimal point; left-align text; align each header with its column body. Equalise the decimal count down a column so digit-length itself reads as magnitude - the number's size becomes a small bar chart.

  • Precision keyed to variance. Full rule and computation: dataviz-precision (the recommend_precision MCP tool), which derives one uniform rounding place from the column's spread. Inside the construct pipeline each column's format is resolved upstream and handed to you - apply and align to it, don't re-derive. In brief: significant digits not decimal places; round every value in a column to the same place; coarse-round the noise off large widely-spread values (12,483 → 12,500 or 12,000); never show or manufacture precision the data can't support.

  • Column widths sized to content. Give each column the width its content needs; wrap long text columns deliberately and never let one column's wrap distort the grid or push number columns out of scanning range. Number columns stay narrow and dense.

  • Rules and whitespace. No full gridlines, no vertical rules. Use a few horizontal rules - header, group boundaries, total - and whitespace to group rows. Whitespace groups and separates; it is not filler.

  • Group related rows and set totals apart. Cluster rows that belong together with a little whitespace, keep the column structure identical across groups, and give a total or summary row a distinct weight or rule so it is not read as just another row.

  • Put the main comparison down a column. The eye compares down a column far more accurately than across a row, so orient the table so the comparison the reader came for runs vertically; prefer more rows than columns (portrait).

  • Tabular (lining) figures. Use mono-width digits so columns align vertically; pair with a clean text font. Proportional figures break decimal alignment.

  • Units and headers. Put the unit once - in the header or a note - not in every cell. Keep headers short and their meaning unmistakable.

Treatment and layout

A table of comparable numbers is formatted by default. Numbers alone make the reader do the comparison in their head; a magnitude channel in the cell (a bar or a shade) lets the eye see the pattern while the number stays there for lookup. Plain text is the exception, justified only when the task is looking up a single value and nothing in the table is compared.

Decide the treatment before sizing, for every block of numbers:

  1. Which cells compare with which? That is the scale's scope.
    • Column - each column is its own metric (revenue next to headcount next to margin). Each column gets its own scale.
    • Row - each row is one series whose cells compare with each other (a metric across periods, a measure across segments, one entity's values across comparable categories). Each row gets its own scale.
    • Table - every cell shares one honest scale (the same unit and meaning everywhere, such as a matrix of scores on one 0-100 scale). One scale.
  2. Which magnitude channel?
    • Data bars when the table has room: they read as length, the most accurate cue. The bar trails its number, so the value is read first with its decimal alignment intact.
    • Shading when the table is dense (many columns, a matrix) or space is tight: a heat fill costs no width. Sequential for a one-sided magnitude, diverging around a meaningful midpoint (zero, an average, a target) for signed or above/below values.
    • Column count does not decide this; room and density do.
  3. Which direction is good? Reverse the scale where lower wins (cost, latency, error, pace), so the strongest shade marks the best cell rather than the biggest number.
  4. Is there an ordered sequence? When a row's values run over time or distance, add a sparkline column at the end so the shape is visible next to the exact values. Each sparkline shows its own row's shape unless the rows share a unit and the comparison between their levels matters. Unrelated metrics are not a sequence.
  5. Is there a focal entity? Emphasise the row the claim is about (bold plus a tint), and preserve ties.
  6. Would a summary help the reading? A row average or total column (such as each entity's mean across the columns) often answers the question the matrix raises. Compute it, add it as a column, and give it the same treatment.

A table may combine treatments: row-wise shading on the value block, a sparkline column, and a focal row.

Compute each treatment's scale from the cells that compare (a column, a row, or the whole value block, depending on the reading task), reverse it for lower-is-better columns, and keep every number legible on its fill - pick dark or light ink per cell by contrast. Leave room in the column for any inline bar or sparkline, and right-align numbers. Use recommend_precision for display strings. For shading, use an ordered sequential or diverging scale (dataviz-color covers how to pick one); take brand pole colours if there is a brand, and never run the categorical colour picker on shades. Comparable numeric columns left untreated need a reason - usually that the task is single-value lookup.

Supply each complete header, including units and explanatory sublabels; use explicit newlines for semantic breaks. Do not equalise column widths or stretch cells to fill the delivery canvas. Keep padding compact and preserve space needed for graphics. The tallest complete wrapped header determines the header band; compact body rows are a separate layer. When a table splits across pages, repeat identifiers and headers, never silently drop rows or columns, and check that the split still supports the reading task.

Set the intended display width and minimum displayed text pixels for screen outputs. DPI alone says nothing about readability after an image is fitted into a container. For print, use the intended physical size and point-size minimums. Never fit by shrinking below the supplied minimum. Widen within delivery limits, wrap, split/paginate, or revise supported wording/form. Reduce scope only when authorized.

Rendering

  • Delivered HTML or interactive tables: author with the R gt package; it carries alignment, precision, grouping, and conditional formatting cleanly. Markdown or hand-built HTML is an acceptable fallback for non-R contexts.
  • A static image: build the table as a gtable (gt::as_gtable or gridExtra::tableGrob) and render it through ragg.
  • Look at each delivered page at its display width against the typography floor. Resolve text overflowing its cell by changing cell geometry or wrapping, not by moving table labels off their cells. Read decimal alignment, contrast against cell fills, and treatment effectiveness from the actual render.

Guardrails

  • A table is not a dumping ground for data a chart could show as a shape. If the message is one comparison the eye should grab at once (a ranking of a handful of values, a single trend), it is a chart - return to dataviz-selector. A matrix of many entities against several metrics or periods, where the reader wants both the exact values and the pattern, is a formatted table.
  • Never widen precision to fill space or narrow it to hide spread; precision is a data decision, not a layout one.
  • One table, one main task. Split a table that serves two unrelated comparisons.
  • A shaded or barred table is not finished until the render shows the treatment.

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

Kỹ năng AI Karthik Table Style làm được gì?

Format tables as visualizations in Karthik's style - emphasis, decimal alignment, precision, column widths, minimal rules, tabular figures, and deliberate conditional formatting.

Vì sao nên dùng Karthik Table Style 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. Karthik Table Style 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 Karthik Table Style 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/karthik-table-style/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 Karthik Table Style?

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 Karthik Table Style 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 Karthik Table Style 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 Karthik Table Style 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 👇