Glyph Kit 标志

Glyph Kit

社区
alextraykov
glyph-kit

Draws product-design figures and one-page readouts, dashboards and status updates as text with block (░▒▓█) and box-drawing characters - research and survey results, funnels and A/B tests, UX flows and state machines, roadmaps, screen wireframes, design-system docs, handoff and QA checklists, motion specs and moving diagrams. Use for an ASCII or Unicode diagram, text wireframe, sparkline or bar chart in Markdown, a PR, a ticket or a doc; a design review deck; a report or audit as a PDF; or turning a text wireframe into an HTML prototype or components from the project's design system. Draws from a small JSON spec with real, sourced data and exports Markdown, MDX, HTML, SVG, PNG and PDF.

概览

发布者alextraykov
代码仓库glyph-kit
技能名称glyph-kit
星标数
77
复刻数
0
附带文件
87
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 87 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Glyph kit

You write a spec, a small JSON object; a script with no dependencies draws it. The kit lays out every figure, so its output always lines up: never draw a figure by hand when a type covers it.

Work in the user's folder, not this skill's, so specs and outputs land there. <skill> below is this skill's folder; file paths in this guide are relative to it.

Make one

  1. Pick the type from this table; it goes in the spec's kind field.

    The task is aboutTypes
    Interviews, surveys, usability tests, quoteslikert themeMatrix affinity quoteCard taskStats emotionCurve
    Funnels, retention, A/B results, metrics, chartsfunnel cohort abResult metricPanel barChart compare forecast meter sparkline heatmap calendarStrip
    Flows with decisions, state machines, journeys, sitemapsflow branchFlow stateMachine journeyMap tree
    Roadmaps, priorities, ownership, timelines, decisionsboard impactEffort swimlane gantt statusKey decisionLog
    Screens: one screen, an app shell, a card grid, list and detail, a modalscreen responsive appShell cardGrid listDetail modal
    Tokens, scales, colour, contrast, component states, layersspacingScale typeScale palette colourRoles contrast stateMatrix layerStack tokenTable table
    Redlines, QA checklists, component anatomy, before and afterredline qaChecklist anatomy compare
    Motion intent, timing, transitions, stagger, easingmotionTiming intentCard transitionSpec stagger filmstrip easingTable
    Work moving over time: rework loops, state machines, queues, rollouts, loadingloop states queue rollout loading
    A whole deliverable on one page: readout, dashboard, PR summary, design review, status updatereadout dashboard prSummary designReview statusUpdate

    Unsure between two? Read the area's guide, reference/areas/<area>.md (research, metrics, flows, planning, wireframes, systems, handoff, motion, process, layouts): it shows each type drawn.

  2. Get its data shape: node <skill>/scripts/glyph-kit.mjs guide <kind> prints the kind's example spec and what to watch for. Copy that shape; don't read the scripts.

  3. Write the spec as JSON next to the document that uses it:

    json
    {
      "kind": "funnel",
      "title": "Signup to paid, last 30 days",
      "intent": "Find the step where most people leave.",
      "source": "Product analytics export, 2026-10-15",
      "data": [{ "label": "Visited pricing", "value": 12400 }, { "label": "Paid", "value": 610 }]
    }

    Data comes from the user or their files ("data": "@results.csv" reads a file next to the spec), never from you. If numbers are missing, ask. Only if the user wants a sketch anyway, start source with "Illustrative": every format then carries a SAMPLE DATA stamp. A spec with numbers and no source is refused.

  4. Render, fix, render again in one command:

    bash
    node <skill>/scripts/glyph-kit.mjs render spec.json --to markdown > figure.md

    The kit refuses a spec it can't draw truthfully and says why in a sentence. Labels over the limit (usually 24 cells) are cut with "…", and the kit lists each one on stderr with its limit. Shorten those labels and render again: a figure with "…" loses words.

  5. Put the conclusion in the sentence around the figure. The figure supports it.

Kit output needs no further checking: frames close and widths fit by construction. When a spec is refused, run check spec.json to see every problem at once instead of fixing them one draw at a time. Run node <skill>/scripts/lint.mjs <file.md> only on figures drawn by hand.

Other outputs

Every command is node <skill>/scripts/glyph-kit.mjs <command>.

OutputCommandRead first
Text, Markdownrender spec.json [--to text|markdown]nothing
HTML page; a screen becomes a working prototyperender spec.json --to html [--map design-system.map.json]reference/fidelity.md for prototypes and code
Deckdeck deck.json > deck.htmlguide deck
Report (cover, summary, sections)export report.json --to html|pdfguide report
MDX, SVG, PNG, PDF of anythingexport <file> --to md|mdx|html|svg|png|pdfreference/export.md
Every problem with a spec at oncecheck spec.json or check notes.mdnothing
A figure that stays editable in Markdownrender spec.json --to markdown --with-spec, then redraw notes.md after a spec change or read notes.md after a drawing editreference/editing.md
Your colours, or a palette--theme ink, --theme theme.json or --theme mixed:#7a5cff; roles from your tokens with --mapreference/colour.md
Moving diagram: a process over timelive spec.json --to html (or --to markdown for its still)reference/live.md
Several layouts as one documentexport layouts.json --to html|pdf, a layout to a pagereference/areas/layouts.md

Decks and reports open with the kit's logo: ░▒▓█ side by side, in that order and in one colour. Keep it that way when you edit their HTML or draw a title card or still yourself.

HTML outputs are self-contained (font, styles and, for moving pages, the player inlined): 40–200 KB. Don't read them back to check them; render the same spec --to text instead. PDF and PNG use a Chromium browser already on the machine; everything else needs nothing.

When another agent or a later turn needs the figure, pass the spec (a few hundred bytes), not the drawing. If a drawing must go into a model's context, add --compact (plain ASCII, same layout).

Rules

  1. Every glyph has a referent: a number, a state or a structure. No decoration, no green-on-black or glyph rain unless the product is a terminal.
  2. One meaning per glyph per document. █ measured or done, ░ projected or the empty part of a scale, · an empty cell.
  3. To call something out, use focus, never a colour. "Highlight the drop-off", "show where it fails": name it as drawn in focus.on, pick a tone, and say the point in focus.say (reference/spec.md). It colours, recedes the rest and arrives last in every form, and the text keeps a ► line.
  4. Numbers are printed as text next to the glyphs, and every figure with numbers shows its source.
  5. Labels may use any script. Width is counted in cells: CJK takes two. Set lang for casing and number format. Font and right-to-left limits: reference/characters.md.
  6. Every type moves in HTML and decks. The processes and a test result with readings over time keep moving; every other type arrives once, in the order that carries its point, then stays still. Each keeps a still that makes the same point; it is what reduced motion, print and Markdown show. Say what the motion shows in the sentence next to it.
  7. Drawing by hand (only when no type fits): use the glyphs in reference/characters.md, follow reference/layout.md (two cells of padding inside a box, four between boxes, at most 80 columns), then lint.
  8. Going up in fidelity (prototype, production code): use only the components and tokens the design-system map names, and ask when it has no entry. reference/spec.md describes the spec fields and the map.

If figures look misaligned where the user reads them, the font is drawing a glyph at the wrong width: suggest Departure Mono (free, departuremono.com), never require it.

附带文件

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

还有 27 个文件。

常见问题

Glyph Kit AI 技能有什么作用?

Draws product-design figures and one-page readouts, dashboards and status updates as text with block (░▒▓█) and box-drawing characters - research and survey results, funnels and A/B tests, UX flows and state machines, roadmaps, screen wireframes, design-system docs, handoff and QA checklists, motion specs and moving diagrams. Use for an ASCII or Unicode diagram, text wireframe, sparkline or bar chart in Markdown, a PR, a ticket or a doc; a design review deck; a report or audit as a PDF; or turning a text wireframe into an HTML prototype or components from the project's design system. Draws...

为什么在 TypingMind 中使用 Glyph Kit?

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

如何在 TypingMind 中安装 Glyph Kit?

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

哪些 AI 模型可以使用 Glyph Kit?

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

Glyph Kit 可以搭配多少个 AI 模型使用?

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

Glyph Kit AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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