Logo Glyph Kit

Glyph Kit

Cộng đồng
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.

Tổng quan

Nhà phát hànhalextraykov
Kho mãglyph-kit
Tên kỹ năngglyph-kit
Sao
77
Bản fork
0
Tệp đi kèm
87
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ộ.

  • 87 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được alextraykov 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 Glyph Kit 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/alextraykov/glyph-kit/tree/main/skills/glyph-kit
  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/alextraykov/glyph-kit.git /tmp/glyph-kit
mkdir -p .claude/skills
cp -r /tmp/glyph-kit/skills/glyph-kit .claude/skills/glyph-kit
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 Glyph Kit 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 Glyph Kit 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 Glyph Kit 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.

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 27 tệp khác.

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

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

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...

Vì sao nên dùng Glyph Kit 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. Glyph Kit 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 Glyph Kit trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/alextraykov/glyph-kit/tree/main/skills/glyph-kit. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Glyph Kit?

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 Glyph Kit 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 Glyph Kit 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 Glyph Kit có miễn phí không?

Có. Kỹ năng này được alextraykov 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 👇