Логотип Dialog Map

Dialog Map

Спільнота
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.

Огляд

Видавецьjdm4pku
РепозиторійRE-Skills
Назва навичкиdialog-map
Зірки
27
Форки
1
Файли в пакеті
2
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: jdm4pku. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Dialog Map у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/dialog-map
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Dialog Map в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Dialog Map, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Dialog Map не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Dialog Map у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Dialog Map — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Dialog Map у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/jdm4pku/RE-Skills/tree/main/skills/dialog-map. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Dialog Map?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Dialog Map?

Зі скількома забажаєте. У TypingMind ви можете використовувати Dialog Map із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Dialog Map?

На GitHub цю навичку публікує jdm4pku. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇