基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/unoplatform/studio --skill uno-navigation-dialogs命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | uno-navigation-dialogs |
| description | Display dialogs, flyouts, modals, and message prompts using Uno Platform Navigation Extensions. |
| when_to_use | Use when showing a simple alert, confirmation, or message dialog with OK/Cancel options, getting a user response from a dialog via `ShowMessageDialogAsync`, showing a dialog or flyout via navigation, using `ContentDialog` as a navigation modal, understanding the difference between flyout (Page-based) and modal (ContentDialog-based), or getting results from dialog navigation. |
| metadata | {"author":"uno-platform","version":"2.4","category":"navigation"} |
Docs lookup: call
uno_platform_docs_search(...)first, thenuno_platform_docs_fetch(sourcePath="…")using thesourcePathfield from a result (a relative.mdpath; add the result'sanchorfor a section). Never pass a URL, a.htmllink, or a hand-built path.
uno_platform_docs_search("Uno Navigation dialogs flyouts ContentDialog modal ShowMessageDialogAsync confirmation alert")
Primary documentation pages:
external/uno.extensions/doc/Learn/Navigation/Walkthrough/ShowDialog.mdexternal/uno.extensions/doc/Learn/Navigation/HowTo-ShowDialog.mdFetch the walkthrough:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Navigation/Walkthrough/ShowDialog.md")
Use navigator.ShowMessageDialogAsync(...) for the simplest case — a title, message, and buttons that return the user's choice. No route registration needed.
Page → displayed as flyoutContentDialog → displayed as modalIf the user needs to return data from a dialog:
See the uno-navigation-data skill for NavigateBackWithResultAsync.
navigator.ShowMessageDialogAsync(...), no route registration required!/ qualifier prefix or Qualifiers.Dialog to open a Page/ContentDialog-based dialog via navigationPage, it displays as a flyoutContentDialog, it displays as a modalNavigateBackWithResultAsync (or directly from ShowMessageDialogAsync for the simple case)