Workflow Visualizer
Interactive process diagram that also shows where the gaps are
Maps a workflow, automation or system as an interactive diagram in one offline HTML file: typed nodes, labelled data flows, swimlanes, highlighting by click and keyboard, light and dark mode and a list view. A gap check lists missing branches, dead ends and unclear thresholds instead of inventing steps.
Install the ZIP in Claude, ChatGPT or Manus. Use the SKILL.md for Gemini, Mistral, Perplexity and projects.
- Version
- 2.0.0
- Updated
- Length
- 11 chapters · approx. 12 min read
- Format
- SKILL.md (Markdown, English)
- License
- CC BY-NC-ND 4.0
When this skill kicks in
- Visualise this workflow
- Draw our order process as a diagram
- How do our tools actually connect?
- Turn this Make automation into a diagram
- New lead comes in, lands in the CRM, sales gets a message: show me that
- Where does our process have gaps? Make it visible
- Swimlane diagram for the handover between sales and warehouse
Requirements
Works in any chat tool with these capabilities.
What's inside
- 01When this skill applies
- 02When not
- 03What I need
- 04Procedure
- 05Expertise and rules
- 06Edge cases
- 07Output format
- 08Example
- 09Anti-patterns
- 10Quality check before delivery
- 11Requirements
Sample output
Input: "Visualise our order process at Oakline Furniture Ltd (fictional): an order comes in through the shop form, sales checks the details and queries stock in the ERP. If there is enough, the warehouse creates the delivery note and sends the shipping confirmation. If not, sales records the backorder and sends the customer a new date. Everything ends up in the order history."
Diagram done: workflow-order-process-oakline.html · layout swimlanes (customer, sales, warehouse, ERP) · 9 nodes · 9 edges · default light
| ID | Type | Label | Subtitle | Lane |
|---|---|---|---|---|
| n1 | Trigger | Order received | shop form | Customer |
| n2 | Step | Check order details | address, item, quantity | Sales |
| n3 | Tool action | Query stock level | ERP | ERP |
| n4 | Decision | Stock sufficient? | stock vs. order quantity | Sales |
| n5 | Step | Create delivery note | warehouse team | Warehouse |
| n6 | Result | Send shipping confirmation | email to customer | Warehouse |
| n7 | Step | Record backorder | set redelivery date | Sales |
| n8 | Result | Send new date | email to customer | Sales |
| n9 | Data store | Order history | ERP | ERP |
| From | To | Data label |
|---|---|---|
| n1 | n2 | order details |
| n2 | n3 | item number, quantity |
| n3 | n4 | stock quantity |
| n4 | n5 / n7 | Yes / No |
| n5 | n6 | delivery note number |
| n7 | n8 | redelivery date |
| n6, n8 | n9 | status "shipped" / "backorder" |
Gaps and open points:
- No path if the order details are wrong · affects n2 · question: who contacts the customer, and how?
- Threshold unclear · affects n4 · question: is stock sufficient when stock quantity equals order quantity?
- Partial delivery not mapped · affects n4 · question: is the order split or held back in full?
- No error case if the ERP does not respond · affects n3
Assumptions: [ASSUMPTION: ERP as its own lane, because it supplies and stores data]
Usage: double-click opens it in the browser · click or Enter highlights · Escape resets · list below the diagram
Check: 7 columns (rank 0 to 6), area 1,824 × 560 px, 9 edges (two rows above combine two edges each).
Shortened example with fictional data. Real results depend on your input and tool.
Full instructions
The complete file content, identical to the download.
Workflow Visualizer
This skill turns a description in everyday language into an interactive process diagram: what triggers the process, which steps follow, which data flows from where to where, where decisions are made, where the result ends up. One HTML file that runs without internet, can be used with keyboard and screen reader and shows along the way where the process has gaps. For teams, process owners and anyone who wants to plan, explain or review an automation.
When this skill applies
- A process with several steps, tools or people should become visible (order, lead, invoice, onboarding, support ticket).
- An existing or planned automation (Make, Zapier, n8n, Power Automate, AI agent) should be documented as a diagram.
- Several departments hand work to each other and it should become clear who gets what and when (swimlanes).
- Someone asks where a process gets stuck and wants to see it in the picture.
When not
- Explainer page with text, key figures and a short linear process: visual-page-builder. Rule of thumb: if there is at least one branch, one loop or more than 6 steps, it belongs here.
- Slides for presenting: slide-decks (the diagram can be taken over as an image or slide).
- Graphic that explains a concept with an everyday analogy: infografiken.
- Numbers and sliders for financial planning: budget-dashboard.
- Formal BPMN 2.0 for a process management tool: the skill uses a simplified, BPMN-like notation and says so. For standard-compliant BPMN use a modelling tool.
- Building the automation itself: the skill maps, it does not connect systems.
What I need
Required: a description of the process (running text, keywords, list, screenshot description or export of an automation).
Optional: name of the workflow, people or roles involved, tools, conditions ("if the amount is over 1,000"), frequency, desired layout, light or dark as default.
Clarifying-question rule: Ask at most one compact question, and only if neither a trigger nor a result is recognisable (then it is unclear what should be mapped). Otherwise build and mark anything unclear visibly: missing conditions as [CONDITION UNCLEAR], missing branches as a gap in the findings, assumptions as [ASSUMPTION: ...]. Never invent tools, thresholds or responsibilities.
Procedure
- Extract elements. Assign every statement to a node type (table below). Tools are separate nodes only if they do something themselves (query, sending). Otherwise the tool appears in the subtitle of the step.
- Sharpen labels. Every node: verb plus object, 2 to 5 words ("Read invoice amount from PDF", not "Process data"). Subtitle at most 8 words.
- Build edges. Every edge gets a data label (what flows), decisions get labelled branches ("Yes", "No" or the condition). If no data label can be derived:
[Data?]. - Gap check using the checklist below. Every gap is listed as a finding, not silently filled in the diagram.
- Check the scope. If more than 20 nodes: split into sub-diagrams (one section per part, transitions as reference nodes "continued in part 2").
- Choose the layout using the decision table.
- Calculate positions following the layout procedure. No freely estimated coordinates.
- Build the HTML following the technical rules. One file, inline SVG, everything inline.
- Self-test with the quality check.
- Handover in the output format: file, node and edge list, findings, assumptions.
Expertise and rules
Node types
| Type | Recognisable by | Shape | Accent dark | Accent light |
|---|---|---|---|---|
| Trigger | "when", "as soon as", "every Monday", form, webhook | pill (fully rounded) | #3B82F6 | #2563EB |
| Step | verb, a person or system does something | rectangle, radius 10 | #10B981 | #047857 |
| Tool action | a service is queried or writes | rectangle with header band | #F59E0B | #B45309 |
| Decision | "if", "if not", threshold, check | diamond | #A855F7 | #9333EA |
| Data store | table, database, folder, CRM record | cylinder | #6366F1 | #4F46E5 |
| Result | email sent, file created, ticket closed | rectangle with double border | #EF4444 | #DC2626 |
The types always differ by shape and icon, never by colour alone. All accent colours reach at least 3:1 against their background (dark #0f0f0f: 4.3 to 8.9:1; light #ffffff: 4.8 to 6.3:1). Node text is not in the accent colour, but in --text on a lightly tinted area.
Gap check
| Check point | Finding if |
|---|---|
| Every decision has at least two branches | a branch is missing ("what happens on No?") |
| Every path ends in a result or store | dead end without a result |
| Every loop has an exit condition | "repeat" without an end or maximum count |
| Thresholds are unambiguous | limit not defined (greater than, or greater than or equal?) |
| Every step has a responsible role or system | nobody responsible |
| The error case is mapped | no path if a tool does not respond |
| Personal data flows into external tools | note on data protection and data processing agreements, without a legal verdict [CHECK] |
| Manual handovers | mark media breaks (email, phone, spreadsheet) as a finding, do not judge them |
Findings are at most shown in the diagram as a dashed gap (node "Missing: ..." with a dashed border), never as an invented step.
Layout decision
| Shape of the process | Layout |
|---|---|
| Linear, up to 8 nodes, few branches | flow left to right |
| Many decisions, tree structure | waterfall top to bottom |
| Two or more people, teams or systems hand work to each other | swimlanes (one lane per role or system) |
| One central tool with many connections | hub and spoke |
| Recurring cycle (monitoring, month-end close) | circle with feedback |
Layout procedure (flow, waterfall, swimlane)
- Calculate the rank: triggers have rank 0. Rank of a node = longest path from the trigger (ignore backward edges of loops).
- Column = rank (waterfall: row = rank). With swimlanes: row = lane of the role, column = rank.
- Order within the column: sort nodes by the mean position of their predecessors to reduce crossings.
- Sizes: node 184 × 72 px (diamond 112 × 112), column gap 72 px, row gap 40 px, lane height 132 px, margin 32 px. Width = columns × 256 + 32, height = rows × 112 + 32 (lanes: lanes × 132 + 32).
- Edges: orthogonal paths (
M x1 y1 H xm V y2 H x2), start on the right of the source node, end on the left of the target node, arrowhead via<marker>. Route backward edges (loops) below the nodes and draw them dashed. - Edge labels in the middle of the horizontal segment, with a background area, at most 4 words.
Technical rules
- One file, no dependencies: inline SVG, CSS and JavaScript inline. No diagram library from a CDN, no web fonts, no image URLs. System font
system-ui, -apple-system, "Segoe UI", Roboto, sans-serif. - Light and dark: tokens on
:root(light: background#ffffff, surface#f6f6f6, text#111111, secondary#555555, edges#6b6b6b), dark values in@media (prefers-color-scheme: dark)(background#0f0f0f, surface#181818, text#f5f5f5, secondary#a0a0a0, edges#8a8a8a), plus a toggle withdata-themeon<html>and remembering it inlocalStorage(intry { } catch { }). Edges thus reach at least 3:1; the former#444444on black (2:1) is too weak. - Interaction: hover and focus show a tooltip with the step description. Click or Enter highlights the node and its direct edges, all others are dimmed to opacity 0.25. Escape or a click on the background resets. Hover scales to at most 1.04.
- Keyboard and screen reader: every node is a
<g tabindex="0" role="button" aria-label="Type: label. Subtitle">, tab order follows the rank. The SVG hasrole="group"and a<title>. Visible focus ring (3 px). - List view as a text alternative: below the diagram there is always a numbered list of all steps with branches ("4. Stock sufficient? Yes: continue with 5. No: continue with 7."). Without JavaScript the diagram is statically visible and the list is complete.
- Responsive: under 720 px width the SVG sits in a container with
overflow-x: autoand a minimum width, and a button "Show as list" jumps to the list view. No horizontal scrollbar at page level. - Motion: animated stroke on highlighted edges only without
prefers-reduced-motion: reduce, transitions at most 200 ms. - Legend: shape, icon and name per type, not just coloured dots.
- Print:
@media printlight, toggle hidden, diagram scaled to page width, list on its own page.
Skeleton
<!doctype html><html lang="en"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1"><title>Workflow: ...</title>
<style>/* tokens light, dark, data-theme; node shapes; .dim; :focus-visible; reduced-motion; print */</style></head>
<body><header><h1>...</h1><p>Trigger, result, as of [date]</p><button class="theme" aria-label="Switch colour mode">...</button></header>
<main><figure><div class="scroll"><svg viewBox="0 0 W H" role="group"><title>...</title><defs><marker id="arrow">...</marker></defs>
<!-- lanes, edges, nodes --></svg></div><figcaption>Legend ...</figcaption></figure>
<section aria-labelledby="list"><h2 id="list">Process as a list</h2><ol>...</ol></section>
<section aria-labelledby="findings"><h2 id="findings">Gaps and open points</h2><ul>...</ul></section></main>
<script>const nodes=[/* id, type, label, sub, info */]; const edges=[/* from, to, label */]; /* highlighting, tooltip, toggle */</script></body></html>
Nodes and edges are kept as data arrays in the script and also hard-coded in the SVG, so the diagram is visible even without JavaScript.
Edge cases
- Very vague description ("our sales, you know"): build a skeleton of trigger, three steps and result, all as
[ASSUMPTION], and name in the findings the three questions that would sharpen the picture. - Over 20 nodes: split into sub-diagrams, an overview at the top with one node per part, reference nodes at the transitions.
- Contradictory statements (once the email goes to sales, once to the customer): do not draw both edges, list a finding "contradiction" with both statements; in the diagram show the variant mentioned last with a note.
- Export of an automation (JSON from Make, n8n, Zapier): take modules over as nodes, filters as decisions, routers as branches. Never take credentials, tokens or webhook URLs into the diagram, and point it out in the findings if they appear in the export.
- Personal or health data in the process: map it, but only data categories as edge labels ("contact details"), no real names or values.
- No HTML creation or no preview: deliver Mermaid code as a fallback (
flowchart LRwith node shapes([Trigger]),[Step],{Decision},[(Store)]), which many tools (Notion, GitHub, Obsidian) render directly, plus a node and edge table. If HTML is possible but no preview: work through the quality check on the code and note "not visually checked". - Person wants a specific company logo or tool icons: do not redraw third-party logos. Tool names as text, neutral icons.
Output format
- The file
workflow-<name-short>.html(lower case, hyphens, no special characters). - Handover in the chat:
**Diagram done:** `workflow-<name>.html` · layout <layout> · <n> nodes · <n> edges · default <light|dark>
| ID | Type | Label | Subtitle | Lane |
|---|---|---|---|---|
| From | To | Data label |
|---|---|---|
Gaps and open points:
1. <finding> · affects <ID> · question: <what needs clarifying>
Assumptions: <list or "none">
Usage: double-click opens it in the browser · click or Enter highlights · Escape resets · list below the diagram
Example
Input: "Visualise our order process at Oakline Furniture Ltd (fictional): an order comes in through the shop form, sales checks the details and queries stock in the ERP. If there is enough, the warehouse creates the delivery note and sends the shipping confirmation. If not, sales records the backorder and sends the customer a new date. Everything ends up in the order history."
**Diagram done:** `workflow-order-process-oakline.html` · layout swimlanes (customer, sales, warehouse, ERP) · 9 nodes · 9 edges · default light
| ID | Type | Label | Subtitle | Lane |
|---|---|---|---|---|
| n1 | Trigger | Order received | shop form | Customer |
| n2 | Step | Check order details | address, item, quantity | Sales |
| n3 | Tool action | Query stock level | ERP | ERP |
| n4 | Decision | Stock sufficient? | stock vs. order quantity | Sales |
| n5 | Step | Create delivery note | warehouse team | Warehouse |
| n6 | Result | Send shipping confirmation | email to customer | Warehouse |
| n7 | Step | Record backorder | set redelivery date | Sales |
| n8 | Result | Send new date | email to customer | Sales |
| n9 | Data store | Order history | ERP | ERP |
| From | To | Data label |
|---|---|---|
| n1 | n2 | order details |
| n2 | n3 | item number, quantity |
| n3 | n4 | stock quantity |
| n4 | n5 | Yes |
| n4 | n7 | No |
| n5 | n6 | delivery note number |
| n7 | n8 | redelivery date |
| n6 | n9 | status "shipped" |
| n8 | n9 | status "backorder" |
Gaps and open points:
1. No path if the order details are wrong · affects n2 · question: who contacts the customer, and how?
2. Threshold unclear · affects n4 · question: is stock sufficient when stock quantity equals order quantity?
3. Partial delivery not mapped · affects n4 · question: is the order split or held back in full?
4. No error case if the ERP does not respond · affects n3
Assumptions: [ASSUMPTION: ERP as its own lane, because it supplies and stores data]
Usage: double-click opens it in the browser · click or Enter highlights · Escape resets · list below the diagram
Check: ranks n1 0, n2 1, n3 2, n4 3, n5 and n7 4, n6 and n8 5, n9 6, so 7 columns; width 7 × 256 + 32 = 1,824 px, height 4 lanes × 132 + 32 = 560 px. Edges counted: 9.
Anti-patterns
- Vague labels like "Process data", "Tool", "Step 3".
- Edges without a data label or decisions without labelled branches.
- Silently adding missing branches or error cases instead of reporting them as gaps.
- Distinguishing node types by colour alone.
- Diagram libraries or fonts from a CDN that break offline.
- Dark mode only, or edge colours with less than 3:1 contrast.
- A diagram without a list view, i.e. without a text alternative.
- Taking over tokens, passwords or webhook URLs from an export.
- Redrawing third-party logos.
Quality check before delivery
- Every node has a type, a label with a verb (2 to 5 words) and is connected by at least one edge
- Every edge has a data label, every decision at least two labelled branches
- Gap check done, findings listed with ID and question
- At most 20 nodes per diagram, otherwise sub-diagrams
- Positions calculated with the rank procedure, no overlapping nodes or labels
- Light and dark via device and toggle, edges and accents at least 3:1, text at least 4.5:1
- Keyboard: tab through all nodes, Enter highlights, Escape resets, focus visible
- List view complete, diagram visible without JavaScript
- File opens without internet, no
httpinsrcorhref - Node and edge counts in the handover match the diagram
- Consistent spelling (UK or US), straight quotation marks, no dashes
Requirements
- Needed: HTML creation as a file or code block.
- Helpful: preview (artifact, canvas or similar), code execution for calculating positions, upload for automation exports or process documents.
- Without file creation: complete code in a code block with the note "save as
.htmland double-click". - Without HTML at all: Mermaid code plus node and edge table (see Edge cases).
- Without preview: work through the quality check on the code, note "not visually checked" in the handover.
Version 2.0.0 · Last updated: 3 November 2026 · skills.fragroger.ai · Roger Basler de Roca
License: CC BY-NC-ND 4.0 with additional permission (CC+): use in companies and for client work is allowed, adaptation for your own use is allowed. Not allowed: selling, bundling, publishing modified versions. Details: https://skills.fragroger.ai/lizenz
How to install this skill
A skill is a folder with a SKILL.md file. Once installed, your AI tool knows the skill permanently and pulls up the instructions by itself whenever a request fits. Pick your tool:
File: download the ZIP
Pro, Max, Team or Enterprise plan. Code execution and file creation must be turned on. On Team and Enterprise, your organization must allow skills.
- 1
Download the ZIP
Click "Download ZIP" above. Do not unzip workflow-visualizer.zip.
- 2
Open settings
In Claude, click your name at the bottom left, then Settings. Open Capabilities and scroll to the Skills section.
- 3
Upload the skill
Click "Upload skill" and select workflow-visualizer.zip.
- 4
Turn it on
Enable the toggle next to the new skill. It now works in every new chat and in projects.
- 5
Test it
Open a new chat and send the test sentence below. Claude shows when it reads the skill.
Uploaded skills are personal. On Team and Enterprise, owners can provision a skill for the whole organization.
Test sentence for a new chat
Visualise this workflowInstall or just attach?
Install (recommended)
The skill is ready in every new chat. The tool first reads only the name and description and loads the full instructions when your request fits, so the chat stays lean.
Attach as a file
Dropping SKILL.md into a single chat works in any tool, but only for that one chat. Good for trying it out, not for daily use.
ZIP or SKILL.md?
The ZIP contains the folder workflow-visualizer with SKILL.md and all extra files, exactly as Claude, ChatGPT and Manus expect it. The single SKILL.md is for Gemini, Mistral, Perplexity and for projects or GPTs without a Skills area.
Related skills
License and use
This skill is published under Creative Commons BY-NC-ND 4.0. The license text applies unchanged. In addition, the rights holder grants an additional permission (CC+): use inside companies and for client work is allowed, adapting for your own use is allowed. Not allowed: selling, bundling, publishing modified versions.