Logo de Visualize

Visualize

Comunidade
Adrian333Dev
visualize

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

Visão geral

Publicado porAdrian333Dev
Repositórioflow
Nome da habilidadevisualize
Estrelas
40
Forks
4
Arquivos incluídos
6
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 6 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por Adrian333Dev no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Visualize no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/Adrian333Dev/flow/tree/main/skills/techniques/visualize
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Visualize em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Visualize automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Visualize não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Visualize faz?

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

Por que usar Visualize no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Visualize é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Visualize no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Adrian333Dev/flow/tree/main/skills/techniques/visualize. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Visualize?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Visualize?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Visualize com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Visualize é gratuita?

Sim. A habilidade é publicada no GitHub por Adrian333Dev sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇