Logo Visualize

Visualize

Cộng đồng
Adrian333Dev
visualize

Draws ASCII diagrams, screen mockups and HTML previews, in a message or inside a document.

Tổng quan

Nhà phát hànhAdrian333Dev
Kho mãflow
Tên kỹ năngvisualize
Sao
40
Bản fork
4
Tệp đi kèm
6
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 là Markdown thuần túy, không phải 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ộ.

  • 6 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 Adrian333Dev công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Visualize 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/Adrian333Dev/flow/tree/main/skills/techniques/visualize
  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/Adrian333Dev/flow.git /tmp/flow
mkdir -p .claude/skills
cp -r /tmp/flow/skills/techniques/visualize .claude/skills/visualize
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 Visualize 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ự tải Visualize 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 Visualize không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Visualize

Pick the medium, pick the method, then draw it.

Pick the medium: prose, a list, ASCII, or HTML

Decide this before drawing anything.

  • Prose: a rule, a reason, a sequence of events. The default, and what an ordinary answer uses.
  • A list: several items with the same shape and role, compared.
  • ASCII: structure, ownership, flow, containment.
  • ASCII frame: layout and proportion of a real screen → references/draw-mockups.md.
  • HTML preview: colour, shade, density, elevation, type weight, spacing feel → references/draw-mockups.md.

ASCII first, especially for layout. Settle structure in a frame, then dress it in colour.

Reach for HTML only where ASCII genuinely cannot carry the component.

Name what the artifact leaves out: "This frame is structure only: the palette is a separate step."

Save every drawing shown for a decision, in the same turn: a file named for what it draws in the ticket's folder (.flow/tickets/<id>/board-layout.md), or in .flow/research/<topic>/ with no ticket. A rejected drawing stays, with the user's reason beside it. A drawing never shown stays in tmp/ and goes once used.

How to draw it

3 methods, in order of preference.

  • Typed directly: 1–2k tokens. The default, and correct for anything with few moving parts.
  • A generator, row by row: 2–3k tokens per round. Build each output row as one string, then join. Right when every row is an independent horizontal slice, which a page mockup is.
  • A generator, on a canvas. Allocate the whole picture as a grid of blank cells, then draw shapes by coordinate. Right when elements span many rows: a long connector, a tall container, anything nested. scripts/canvas.js carries the grid, the container convention and every check below.

Reach for a generator when the artifact is obviously complex, or when the typed attempt came out wrong. A dense mockup takes several rounds.

Every generator checks itself before it prints:

  • Every write lands on the grid. A coordinate past the edge fails.
  • Collision on write: refuse to overwrite an occupied cell with a different character, with an explicit allowance where one element is meant to sit in front.
  • A label fits the line it sits in, checked before centring it into a connector or a box.
  • Equal row length, wherever a row-by-row generator builds a frame.

Diagram rules: every diagram, including invented ones

  • Prose first. Draw only when structure genuinely beats text.
  • No SVG, no mermaid, no HTML for structure.
  • One idea per diagram. Needing a legend means 2 ideas: split into an overview carrying the backbone and a small frame per detail.
  • Split wherever a connector outruns one screen.
  • Spacious. Few boxes (~5–6 per idea), a blank line inside boxes between title and content.
  • Everything defined above it. No element appears that the prose didn't already define.
  • Plain labels. No internal codes. Label arrows with what actually flows: play(), "plain text".
  • The 5-second test. The one idea lands near-instantly, or the diagram failed. Simplify or split.
  • Never draw a sequence diagram, in any medium: lifelines down the page with arrows between them. Draw the exchange as a vertical flow instead, one box per step with the actor named inside it.
  • Dynamics go in prose. Interactions and message flows are short prose steps. When the direction of flow is itself the idea, a layered stack with labeled directional arrows carries it.

ASCII mechanics

Characters

3 tiers, each set by drawing the character and looking at it.

Exact, safe anywhere:

  • Box drawing: ─ │ ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼
  • Arrowheads and markers: ▲ ▼ ► ◄ ▸ ▾ ● ■ ▪ ▌ ·
  • Rules and walls: ━ ¦ ‖ ╏ ╌
  • Punctuation: … → —

Slightly over one cell: ◆ ◇ ☰ ❚ ⇆ ↻ ◁ ▷. One per row at most, never several in a row, never in a border.

Broken: ▶ ◀ ∣ ❘ ❙ ⏸ ⏵. Use ► and ◄ in place of ▶ and ◀. ⏸ and ⏵ align in a terminal and break in a file: a diagram must hold in chat, file and diff.

Widgets are ASCII only: [x] [ ] (*) ( ) > v.

Never predict a character's width from a property: width class, Unicode category, emoji capability. A character is safe once it has been drawn and looked at. Show one not listed above to the user on its own first.

Never pad around a wide character: no whole number of spaces cancels its fractional width.

Connectors

  • A stroke arriving from below and turning right is ┌, never └.
  • Label both ends of a long connector: from X where it leaves, to Y where it lands.
  • At a crossing the vertical passes and the horizontal breaks, every time. Never ┼, which means joined.
  • Never draw a connector that starts and ends on the same element. Work an element does to itself becomes a note beside it.
  • Labels ride inside the connector, never on the row above.
  • Where several connectors merge, join them into one line at the vertical midpoint of their sources, so no short stub runs the full height.
  • Arrows need not touch a box. One column of clearance, and no junction character where an arrow meets a box.
┌────────────┐                                                    ┌────────────┐
│  Web app   │ ─── to Search ─┐                   ┌─ from Cron ─► │   Cache    │
└────────────┘                │                   │               └────────────┘
                              │                   │
┌────────────┐                │                   │               ┌────────────┐
│   Queue    │ ───────────────│───────────────────│─ from Queue ► │  Metrics   │
└────────────┘                │                   │               └────────────┘
                              │                   │
┌────────────┐                │                   │
│    Cron    │ ───────────────│── to Cache ───────┘
└────────────┘                │
                              │
                              │                                   ┌────────────┐
                              └───────── from Web app ──────────► │   Search   │
                                                                  └────────────┘

Containers

  • A container's wall is ¦; its top and bottom edges are dashed. Never a solid wall: it reads as a connector.
  • Name a group at both ends: top-left in the top edge, bottom-right in the bottom edge.
  • Inset the name into the edge itself.
  • Break the edge where a connector crosses it.
                        │
┌─  AGENTIC LOOP ─ ─ ─  │  ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─┐
¦                       │                                   ¦
¦ ┌─  EACH TURN  ─ ─ ─  │  ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─┐           ¦
¦ ¦                     ▼                       ¦           ¦
¦ ¦       ┌─────────────────────────────┐       ¦           ¦
¦ ¦       │         PreToolUse          │       ¦           ¦
¦ ¦       └─────────────────────────────┘       ¦           ¦
¦ ¦                     │                       ¦           ¦
¦ ¦                     │                       ¦           ¦
¦ └─ ─ ─ ─ ─ ─ ─ ─ ─ ─  │  ─ ─ ─ ─ EACH TURN ─ ─┘           ¦
¦                       │                                   ¦
└─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─  │  ─ ─ ─ ─ ─ ─ ─ ─  AGENTIC LOOP ─ ─┘
                        ▼

Proportion and alignment

  • The whole frame carries the aspect ratio, never one part of it. rows = cols / (ratio × 2.2), where 2.2 is the terminal cell's height-to-width ratio. A 16:9 video area with controls stacked under it is a square.
  • Relative size is a claim the reader checks. A player's control strip is about a tenth of its height, not a third.
  • Give a UI-rich screen more room than feels necessary. A full page needs about 150 columns; 113 is cramped.
  • Anything spanning the frame spans it edge to edge, a progress bar included.
  • Reserve 50% extra width for a small dense component carrying text and nested layout: tabs, an accordion. A plain frame does not need it.
  • Lock every vertical border to a fixed column. │ and its connectors ┌ ├ └ ┐ ┤ ┘ ┬ ┼ ┴ all sit at the same character index, top to bottom.
  • Don't overload interior labels. Several descriptors go on their own lines, or get trimmed to one word each.
  • Truncation is a defect. Hand-wrap a long label rather than cutting it mid-word.
  • Match the source's flow direction when converting an existing diagram.

Pattern vocabulary: a menu, not a template

Proven layouts. Pick one, combine several, or invent a better-fitting layout: the rules above bind whatever you invent.

Layered stack

When: components with ownership and command/data flow: "who owns what, who tells whom." How: one box per layer (name + tech, an owns:/state: line inside); arrows labeled with the actual calls or data; where flow is two-way, separate the directions. Failure: more than ~3 layers, or crossing arrows. Split, or zoom into one seam.

┌─────────────────────────────┐
│         UI  (React)         │
│                             │
│  state: cart / products     │
└─────────────────────────────┘
      │ addItem(id)      ▲ cart changed
      ▼                  │
┌─────────────────────────────┐
│        CART SERVICE         │
│                             │
│  owns: pricing / totals     │
└─────────────────────────────┘

Pipeline

When: input transforms through stages. How: vertical; arrow labels are the data between stages; a short annotation beside each box says what it does. Failure: stuffing a stage's internals into the overview: an interesting stage gets its own diagram.

   raw markdown
        │
        ▼
 ┌──────────────┐
 │    RENDER    │   strip syntax, keep the words
 └──────────────┘
        │  plain text
        ▼
 ┌──────────────┐
 │   SEGMENT    │   cut into sentence-sized chunks
 └──────────────┘

Flow with return paths

When: a lifecycle, a state machine, a loop with escapes: a spine of ordered steps where some steps jump back. How: the spine runs straight down the middle; each return path gets its own column to the right, labelled at both ends; containers group the phases. Failure: a return path taller than the screen. That is where it splits into 2 diagrams. At scale: references/hooks-lifecycle.md: 113 × 97, a 15-step spine, 2 nested containers, 3 return paths.

┌─  EACH TURN  ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐
¦                                                              ¦
¦     ┌─────────────────────────┐                              ¦
¦     │      PromptSubmit       │ ◄─ from PreToolUse ──┐       ¦
¦     └─────────────────────────┘                      │       ¦
¦                  │                                   │       ¦
¦                  │                                   │       ¦
¦                  ▼                                   │       ¦
¦     ┌─────────────────────────┐                      │       ¦
¦     │       PreToolUse        │ ── to PromptSubmit ──┘       ¦
¦     └─────────────────────────┘                              ¦
¦                                                              ¦
└─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─  EACH TURN  ─ ┘

Tree

When: hierarchy or containment: file layouts, nesting, decision trees. How: indented text tree with inline annotations. Almost never boxes inside boxes.

core/
├─ pipeline/    render -> segment -> synthesize
├─ playback/    the controller (no React here)
└─ cache/       content-key -> audio + timings

Side-by-side

When: comparing 2 options or states. How: 2 columns, same skeleton so the differences pop; verdict labels up front so the headers alone tell the story. Failure: if the columns are just attribute rows, nothing is being drawn. Use a list.

   TIMER IN REACT (drifts)          CONTROLLER-DRIVEN (exact)

   setInterval guesses the           the audio clock IS the
   position on schedule              position: read, not guessed

Rarer forms

  • A schedule, a data model, or two representations that must map onto each other → references/rarer-forms.md, which defines and draws all 3.
  • A screen, or anything floating over one → references/draw-mockups.md.

Structure: adapt it, don't fill it in

No fixed template. The default for a design proposal:

the proposal itself → components defined from zero → one whole-picture diagram → the load-bearing rule, with depth → key interactions as short prose steps → "what you're deciding"

Other shapes adapt. A mechanism explanation ends with "what this means for us," not decision points. A comparison leads with the recommendation and differentiates options only on the axes that matter. A walkthrough orders by time.

Use the sentences the material actually needs: no padding, and no artificial squeezing. Only the opener is deliberately short.

references/worked-example.md runs this shape once end to end, on a real architecture, and shows how much depth the load-bearing rule gets.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

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

Draws ASCII diagrams, screen mockups and HTML previews, in a message or inside a document.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Adrian333Dev/flow/tree/main/skills/techniques/visualize. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành 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 Visualize?

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.

Bạn có thể dùng Visualize 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 Visualize 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 Visualize có miễn phí không?

Có. Kỹ năng này được Adrian333Dev 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇