Logo di Dialog Map

Dialog Map

Community
jdm4pku
dialog-map

Create dialog maps to model user-system navigation flows, screen inventories, and transition rules. Use when requirements involve user interfaces and you need to specify how users move between screens.

Panoramica

Autorejdm4pku
RepositoryRE-Skills
Nome della skilldialog-map
Stelle
27
Fork
1
File inclusi
2
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 2 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da jdm4pku su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Dialog Map in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/dialog-map
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jdm4pku/RE-Skills.git /tmp/RE-Skills
mkdir -p .claude/skills
cp -r /tmp/RE-Skills/skills/dialog-map .claude/skills/dialog-map
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Dialog Map in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Dialog Map non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Dialog Map non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Purpose

Create dialog maps that model how users navigate through a system's user interface. Use this to build a complete screen inventory, define transition rules between screens, and discover missing UI requirements that use cases and user stories typically omit.

This is not a wireframe or visual design -- it is a navigation model showing which screens exist, what actions are available on each screen, and where each action takes the user.

Key Concepts

Dialog Map Elements

ElementSymbolDescription
Dialog box / ScreenRounded rectangleA distinct screen, page, or dialog the user interacts with
Navigation pathArrowA transition from one screen to another
Action triggerLabel on arrowUser action or system event that causes the transition
Decision pointDiamondA branch based on a condition (e.g., role-based routing)
Start pointFilled circleEntry point into the system or subsystem
End pointBullseyeExit point (logout, close, completion)
SubprocessDouble-bordered rectangleA group of screens modeled in a separate dialog map

Screen Inventory

A screen inventory catalogs every distinct screen in the system:

Screen IDScreen NamePurposeParent ScreenAccess Roles
SCR-01LoginAuthenticate userNone (entry)All
SCR-02DashboardShow summary and navigationLoginAll authenticated
SCR-03Chemical SearchSearch and filter chemicalsDashboardTechnician, EHS Officer

Transition Rules

Each arrow in the dialog map has a transition rule:

From: [Source Screen]
To: [Target Screen]
Trigger: [User action or system event]
Guard: [Condition that must be true]
Action: [What happens during the transition]

Relating Dialog Maps to Use Cases

Each use case step maps to one or more screens:

Use Case StepScreenUser Action on Screen
UC-3 Step 1: Technician selects "Add Chemical"Dashboard (SCR-02)Click "Add Chemical" button
UC-3 Step 2: System displays entry formAdd Chemical Form (SCR-04)System navigates to form
UC-3 Step 3: Technician enters chemical dataAdd Chemical Form (SCR-04)Fill fields, click "Save"
UC-3 Step 4: System validates and savesConfirmation (SCR-05)System displays confirmation

Why This Works

Dialog maps expose navigation requirements that other techniques miss:

  • "What happens when the user presses Back from the confirmation screen?"
  • "Can the user navigate directly from Search Results to Edit, or must they go through View first?"
  • "Which screens need a Cancel button and where does Cancel go?"
  • "What error screens exist and how does the user recover from them?"

Anti-Patterns

  • Dead-End Screens -- A screen with no outgoing navigation (user is trapped)
  • Unreachable Screens -- A screen with no incoming navigation (how does the user get there?)
  • Missing Error Paths -- Only modeling the happy-path navigation; ignoring validation failures and error recovery
  • Screen Bloat -- Every minor variation as a separate screen instead of using conditional content on one screen

Application

Use template.md for the fill-in structure.

Step 1: Inventory Screens from Use Cases

Walk through each use case and list every distinct screen the user interacts with:

  • Entry screens (login, landing page)
  • Task screens (forms, search, list views)
  • Confirmation and result screens
  • Error and help screens
  • Settings and profile screens

Step 2: Build the Screen Inventory Table

For each screen, document:

  • Unique screen ID
  • Descriptive name
  • Primary purpose
  • Which use cases reference this screen
  • Which user roles can access this screen

Step 3: Map Navigation Paths

For each screen, identify all the ways a user can leave it:

  • Primary action (submit, save, search)
  • Secondary actions (cancel, back, help)
  • System-initiated transitions (timeout, error redirect)
  • Role-based routing (admin goes to dashboard A, user goes to dashboard B)

Step 4: Define Transition Rules

For each navigation path, specify:

  • Trigger: What user action or event causes the transition?
  • Guard: What conditions must hold? (e.g., form is valid, user has permission)
  • Action: What processing occurs during the transition? (e.g., save data, send notification)

Step 5: Draw the Dialog Map

Arrange screens and arrows:

  1. Place the entry point at the top or left
  2. Flow primary paths left to right or top to bottom
  3. Show alternate and error paths branching off
  4. Mark decision points where navigation depends on conditions
  5. Ensure every screen has at least one incoming and one outgoing path (except entry and exit)

Step 6: Validate Completeness

  • Every use case step maps to a screen in the dialog map
  • Every screen has at least one incoming path (except entry)
  • Every screen has at least one outgoing path (except exit)
  • Error and exception flows from use cases have corresponding navigation paths
  • Cancel and Back navigation is defined for every screen where applicable
  • Role-based access is marked on every screen
  • Help access is defined (global or screen-specific)
  • Timeout behavior is specified for screens that handle sensitive data

Step 7: Derive UI Requirements

For each screen, derive requirements:

The system shall display [Screen Name] showing [content].
When the user [action] on [Screen Name], the system shall navigate to [Target Screen].
If [error condition] on [Screen Name], the system shall display [error message] and [recovery path].

Examples

See examples/sample.md for a complete dialog map specification for ChemTrack.

Mini example (textual representation):

[Login] --valid credentials--> [Dashboard]
[Login] --invalid credentials--> [Login] (show error message)
[Dashboard] --click "Add Chemical"--> [Add Chemical Form]
[Dashboard] --click "Search"--> [Chemical Search]
[Add Chemical Form] --submit valid data--> [Confirmation]
[Add Chemical Form] --cancel--> [Dashboard]
[Add Chemical Form] --validation error--> [Add Chemical Form] (show errors)
[Confirmation] --click "OK"--> [Dashboard]
[Chemical Search] --select result--> [Chemical Detail]
[Chemical Detail] --click "Edit"--> [Edit Chemical Form]
[Chemical Detail] --click "Back"--> [Chemical Search]

Common Pitfalls

Pitfall 1: Only Modeling the Happy Path

Symptom: Dialog map shows the ideal navigation sequence but not what happens when the user makes mistakes, cancels, or encounters errors.

Consequence: Error recovery screens and navigation are designed ad hoc during development, resulting in inconsistent user experience.

Fix: For every screen, ask: "What if the user cancels? What if validation fails? What if authorization fails? What if a timeout occurs?" Add paths for each.


Pitfall 2: No Back Navigation

Symptom: Dialog map shows forward navigation but no way to go back.

Consequence: Users get frustrated when they cannot return to previous screens. Developers add Back buttons inconsistently.

Fix: Explicitly define Back/Cancel navigation for every screen. Specify whether Back means "return to previous screen" or "return to a specific screen."


Pitfall 3: Missing Screen Inventory

Symptom: Dialog map is drawn but there is no formal list of screens with IDs, purposes, and role access.

Consequence: Screens get duplicated, named inconsistently, or forgotten during implementation.

Fix: Maintain a screen inventory table alongside the dialog map. Every screen in the diagram must appear in the inventory.


Pitfall 4: Confusing Dialog Map with Wireframe

Symptom: Dialog map includes detailed layout, colors, fonts, and widget placement.

Consequence: Time spent on visual design too early; navigation requirements obscured by design details.

Fix: Dialog maps show only screens (as labeled boxes) and transitions (as labeled arrows). Visual design comes later, informed by the dialog map. For prototyping, see skills/prototyping-strategy/SKILL.md.

References

Related Skills

  • skills/use-case/SKILL.md -- Use case steps map directly to screens in the dialog map
  • skills/prototyping-strategy/SKILL.md -- Dialog maps inform prototype design and scope
  • skills/srs-document/SKILL.md -- Dialog maps appear in the SRS analysis models appendix
  • skills/data-modeling/SKILL.md -- Screens display and manipulate entities from the data model

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 12: A Picture Is Worth 1024 Words (dialog maps)
  • Larry Constantine & Lucy Lockwood, Software for Use (1999) -- Essential use cases and UI modeling
  • Alan Cooper, About Face (2014) -- Goal-directed design and navigation patterns

Skill type: Component Dependencies: References skills/use-case/SKILL.md, skills/data-modeling/SKILL.md Used by: skills/prototyping-strategy/SKILL.md, skills/srs-document/SKILL.md

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Dialog Map?

Create dialog maps to model user-system navigation flows, screen inventories, and transition rules. Use when requirements involve user interfaces and you need to specify how users move between screens.

Perché usare Dialog Map su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Dialog Map è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Dialog Map in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jdm4pku/RE-Skills/tree/main/skills/dialog-map. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Dialog Map?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Dialog Map?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Dialog Map: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Dialog Map è gratuita?

È pubblicata su GitHub da jdm4pku. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇