Logo User Flow Maps

User Flow Maps

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

Tổng quan

Nhà phát hànharozumenko
Kho mãsdlc-skills
Tên kỹ nănguser-flow-maps
Sao
26
Bản fork
10
Tệp đi kèm
9
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ộ.

  • 9 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 arozumenko 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 User Flow Maps 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/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/user-flow-maps
  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/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
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 User Flow Maps 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 User Flow Maps 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 User Flow Maps 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.

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.

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 User Flow Maps làm được gì?

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

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/user-flow-maps. 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 User Flow Maps?

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 User Flow Maps 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 User Flow Maps 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 User Flow Maps có miễn phí không?

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