User Flow Mapsのロゴ

User Flow Maps

コミュニティ
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.

概要

公開者arozumenko
リポジトリsdlc-skills
スキル名user-flow-maps
スター
26
フォーク
10
同梱ファイル
9
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 9個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    arozumenkoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルUser Flow MapsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/user-flow-maps
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでUser Flow Mapsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にUser Flow Mapsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、User Flow Mapsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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 bundl...

TypingMindでUser Flow Mapsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。User Flow Mapsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにUser Flow Mapsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/arozumenko/sdlc-skills/tree/main/bundles/feature-development/skills/user-flow-mapsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

User Flow Mapsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

User Flow Mapsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもUser Flow Mapsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「User Flow Maps」は無料ですか?

はい。arozumenkoがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇