flint-chart-author SKILL.md skillA

flint-chart-author from jin-bo/guanlan is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jin-bo/guanlan/flint-chart-author@git:20260804.9cab05a

Pins git:20260804.9cab05a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jin-bo/guanlan
Path
skills/flint-chart-author/SKILL.md
Versions recorded
1
Latest version
git:20260804.9cab05a, committed Aug 4, 2026
Size
7,042 bytes
Repository stars
14
License
Apache-2.0

从结构化、表格或查询结果生成数据图表:选择适合对比、趋势、分布、相关性或层级关系的图型, 生成、修复、解释或校验 Flint 图表规格,输出可直接渲染的 ```flint 围栏块。 Trigger on: "画图", "画个图", "可视化", "出个图表", "flint", "chart", "visualize", "plot this", "graph these numbers", "对比一下…(给出多行数据时)", "趋势", "分布", "占比", "相关性", 或用户已给出表格/查询结果并要求"看得更直观"。 也在需要**修复**一个渲染失败的 ```flint 块、或**解释**某个 flint 规格含义时使用。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# flint-chart-author — Flint 图表规格作者

你把**已经拿到手的结构化数据**变成一个合法的 ` ```flint ` 围栏块。
[Flint](https://github.com/microsoft/flint-chart) 是微软研究院的可视化中间语言:给它
「数据 + 图型 + 编码」,它自己推导刻度、轴、标签、图例、布局——所以你**不需要**写任何
Vega-Lite / ECharts 的底层配置,写多了反而会被丢弃。

图型清单、通道语义、语义类型表、完整示例与失败模式对照见
[`references/flint-spec.md`](references/flint-spec.md),**按需载入**。

## 边界

| | |
|---|---|
| **输入** | 已有的结构化数据、表格、或查询结果(对象数组形态) |
| **职责** | 选图型与编码 · 必要时先聚合 · 生成 / 修复 / 解释 / 校验 flint 规格 |
| **输出** | 一个 ` ```flint ` 围栏块(JSON),块外配一句人话说明它在说什么 |
| **不负责** | 数据库连接与取数权限 · 知识库/wiki 维护 · markdown 存放在哪一页 · 浏览器端渲染 |

数据从哪来、图放到哪儿去,都由调用你的那条工作流决定;你只对**「这段 JSON 合法且画出来是对的」**负责。

## 工作流

### 1. 先看数据,再选图

看三件事:**行数**、**每列的类型**(数值 / 类别 / 日期)、**你想让读者看出什么**。
最后一件决定图型——参考的图型表按用途分组(对比 / 趋势 / 分布 / 相关 / 构成层级 / 流向 / 时间安排)。

拿不准就选最朴素的那个:类别比大小用 `Bar Chart`,随时间变化用 `Line Chart`,两个数值的关系用
`Scatter Plot`。**朴素的图被读懂的概率远高于花哨的图。**

### 2. 必要时先聚合——这是你的活,不是 flint 的

flint **不做聚合**(`encodings.*.aggregate` 只在部分模板生效,别指望)。原始明细表要先自己算成
结论性的聚合结果再内联:`GROUP BY` 之后的几行、十几行,而不是几百行明细。

> 判据:**这张图要说的那句话,需要几行数据才够?** 只要那几行。
> 搬原始表进来既撞行数上限,也让读者自己去找结论——那是表格的活,不是图的活。

### 3. 写块

最小形态(`semantic_types` 可整段省略,flint 会自行推断):

````markdown
```flint
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jin-bo/guanlan/flint-chart-author@sha256:3041b5e68322f153

The line at the top of this page pins the label git:20260804.9cab05a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_rkteqrowvpf7bg6n.svg)](https://markdownregistry.com/a/art_rkteqrowvpf7bg6n)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Aug 4, 2026.

versioncommittedcommitsizeaudit
git:20260804.9cab05a latest2026-08-04 9cab05a 7,042 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7042 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jin-bo/guanlan · 14 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_rkteqrowvpf7bg6n
GET https://markdownregistry.com/api/v1/resolve?ref=jin-bo/guanlan/flint-chart-author
GET https://markdownregistry.com/api/v1/blob/3041b5e68322f15360179db5e7414b5009552f13dbbd5438cb267a2e5bd136c4

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jin-bo/guanlan

CLAUDE.md CLAUDE.md file
jin-bo/guanlan · CLAUDE.md
git:20261107.70e879e · audit A · 14 stars
DESIGN.md@docs DESIGN.md file
jin-bo/guanlan · docs/DESIGN.md
git:20261106.c82c9ec · audit B · 14 stars
guanlan-query SKILL.md skill
jin-bo/guanlan · guanlan/mcp/published_skills/guanlan-query/SKILL.md · 基于经 MCP 连接的观澜(GuānLán)知识库回答问题:先检索、再读页、只依据库内页面作答并引用来源页, 库里没有的明说未覆盖。当用户询问已连接知识库所涵盖领域的任何实质问题时使用。 Trigger on: "查知识库"…
git:20261020.fd0912d · audit A · 14 stars
guanlan-wiki SKILL.md skill
jin-bo/guanlan · skills/guanlan-wiki/SKILL.md · 观澜知识库(Karpathy LLM Wiki 模式)的维护引擎。当用户要把资料"摄入"知识库、 对知识库提问、或维护一个结构化互链的 markdown wiki(摘要页/实体页/概念页/综述)时使用。 Trigger on…
git:20261107.660aedc · audit A · 14 stars
pdf-to-markdown SKILL.md skill
jin-bo/guanlan · skills/pdf-to-markdown/SKILL.md · Convert documents (PDF, DOCX, PPTX, XLSX, EPUB, HTML, images) to Markdown using a tiered backend strategy: MinerU…
git:20261017.db3d7c4 · audit A · 14 stars

Every file in jin-bo/guanlan

Browse by kind, by grade A, or by owner.