Logo de User Flow Maps

User Flow Maps

Comunidade
arozumenko
user-flow-maps

Use when a user flow, journey, or screen-to-screen behaviour needs to become a visual flow map — "draw the flow", "make a flow map", "user flow diagram", "map the screens", "turn these journeys into diagrams", or when acceptance criteria need a picture reviewers can sign off on. Renders a spec of screens, decisions and transitions into standalone HTML posters — numbered screen wireframes, decision diamonds, Start/End markers naming where a flow hands off, orthogonal connectors routed from the data, and an authoritative edge table. Layout, routing and label collision are handled by the bundled flowmap.js; you supply data, never coordinates. NOT for architecture or sequence diagrams, NOT for visual/UI design of the screens themselves (that is a design role's job), and NOT a mermaid replacement — the source diagram stays canonical.

Visão geral

Publicado porarozumenko
Repositóriosdlc-skills
Nome da habilidadeuser-flow-maps
Estrelas
26
Forks
10
Arquivos incluídos
9
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.

  • 9 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 arozumenko no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA User Flow Maps 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/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/user-flow-maps
  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/arozumenko/sdlc-skills.git /tmp/sdlc-skills
mkdir -p .claude/skills
cp -r /tmp/sdlc-skills/bundles/feature-development/skills/user-flow-maps .claude/skills/user-flow-maps
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative User Flow Maps 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 User Flow Maps 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, User Flow Maps 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á.

User-flow maps

Turn a flow — screens, decisions, branches, failure paths — into a reviewable HTML poster. The output is one self-contained file per flow plus an index that links them; it opens straight from disk, no server and no network.

The one rule

You supply data. The library supplies every coordinate.

Hand-positioning a flow map is a trap: it looks fine until an edge is added, then captions collide, arrows point into empty space, and each fix creates the next one. scripts/flowmap.js owns layout, lane packing, orthogonal routing, anchor selection and label de-collision. Never write pixel maths in a spec.

Workflow

  1. Write a spec. One JSON file describing the whole set. See references/spec-schema.md for the contract and a worked example.
  2. Build.
    bash
    node scripts/build-flowmaps.mjs <spec.json> --out <dir>
    Add --layout story [--screens <dir|file>] to build into a shared design-story site instead of a standalone set: pages land in <out>/flows/<slug>.html (one directory deeper than the flat default) so they can sit next to screen-specs' screens/ output without a filename collision. When --screens points at the matching *.screens.json spec(s), every flow node whose id matches a screen's node becomes a click-through to that screen's page (../screens/<slug>.html#<screenId>). Omitting --screens (or pointing it at nothing yet built) just renders the flow with no screen links — this build never depends on the other having run first.
  3. Verify before you claim it works. Open the pages and check them — the library is deterministic but a spec can still describe a flow badly (a dangling target, a decision with no outcomes). references/verifying.md has a copy-paste browser audit that reports edge/caption collisions, overlapping labels and orphan nodes. Run it. A flow map that looks drawn but routes an arrow through a screen is worse than no diagram.

How ids drive layout

Node ids are the layout instruction — there is no other positioning input:

  • Whole numbers (0, 1, 2) form the main row, left to right in order.
  • Decimals (1.1, 2.1) are branches off the step they hang from, drawn on the row above, in their own column.
  • Number them so reading the ids in order tells the story.

Everything else — which edge gets which lane, which side a connector enters, where a label sits so it clears the artwork — is computed.

What lands on the poster

  • Screen nodes render as a wireframe skeleton chosen by archetype (list, detail, form, dialog, confirmation, empty-state, error-state, loading-state, notice, split, handoff). The regions array says what information is on the screen; it drives the skeleton, and it is structural — never visual design.
  • Decisions render as diamonds, with the question inside and outcome labels on the edges.
  • Start marks where the flow is entered.
  • End marks every exit, and names where it leads. Give a node a handoff archetype, or point a transition at a target outside the flow, and it becomes an End marker resolved through the flow's outs / names maps.
  • The edge table repeats every transition exactly. It is generated from the same data as the drawing, so the two cannot disagree — say so in review, because a poster always simplifies and the table is the authority.

Conventions worth keeping

  • Behaviour, not design. A flow map states what must happen and when. Layout, components and styling belong to whoever owns the design system. Keep that line; it is what makes the map reviewable by non-designers.
  • Tag every edge with the criterion it satisfies (ac). That back- reference is what turns a picture into an acceptance artifact. The renderer chips real ids and keeps any trailing prose as a note.
  • Record what you could not draw. If an acceptance criterion has no node — a metric, a cross-cutting copy rule, an option with no destination — that is a finding about the criterion. Put it in findings, don't invent a node.
  • Mark superseded paths rather than deleting them. [N/A UNDER <decision>] in a label keeps the reasoning visible when scope changes.

Styling

The look is Material Design 3 adapted for legibility: M3 colour roles, type scale, shape and elevation, with full light/dark token sets. Override by redefining the custom properties in FlowMap.css — every colour resolves through a token, so a palette swap is a token edit, not a rewrite.

Files

PathWhat it is
scripts/flowmap.jsThe renderer. Browser (window.FlowMap) and Node (require). Inlined into every generated page, so output stays self-contained.
scripts/build-flowmaps.mjsCLI: spec → a set of linked HTML pages.
references/spec-schema.mdThe spec contract, field by field, with an example.
references/verifying.mdThe audit to run before calling a map done.

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 User Flow Maps faz?

Use when a user flow, journey, or screen-to-screen behaviour needs to become a visual flow map — "draw the flow", "make a flow map", "user flow diagram", "map the screens", "turn these journeys into diagrams", or when acceptance criteria need a picture reviewers can sign off on. Renders a spec of screens, decisions and transitions into standalone HTML posters — numbered screen wireframes, decision diamonds, Start/End markers naming where a flow hands off, orthogonal connectors routed from the data, and an authoritative edge table. Layout, routing and label collision are handled by the bundl...

Por que usar User Flow Maps no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. User Flow Maps é 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 User Flow Maps no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/user-flow-maps. 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 User Flow Maps?

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 User Flow Maps?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar User Flow Maps 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 User Flow Maps é gratuita?

Sim. A habilidade é publicada no GitHub por arozumenko 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 👇