基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/unoplatform/studio --skill uno-navigation-data命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | uno-navigation-data |
| description | Pass and receive data during navigation in Uno Platform applications. |
| when_to_use | Use when passing data (objects, IDs, filters) from one page to another, receiving data in a ViewModel via constructor injection, returning results from a page back to the caller, using `NavigateDataAsync`, `NavigateBackWithResultAsync`, or setting up `DataViewMap` or `ResultDataViewMap` for data-based routes. |
| metadata | {"author":"uno-platform","version":"2.3","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 data passing receive NavigateDataAsync constructor injection")
Primary documentation pages:
external/uno.chefs/doc/navigation/PassingNavigationData.mdexternal/uno.extensions/doc/Learn/Navigation/Walkthrough/DisplayItemDetails.mdFetch the Chefs data passing page:
uno_platform_docs_fetch(sourcePath="external/uno.chefs/doc/navigation/PassingNavigationData.md")
Data-based navigation requires proper route registration:
uno_platform_docs_search("Uno Navigation DataViewMap ResultDataViewMap route data type")
If the user needs a round-trip (navigate, pick data, return):
The Chefs page covers NavigateBackWithResultAsync and ResultDataViewMap patterns.
For passing data declaratively:
uno_platform_docs_search("Uno Navigation XAML Navigation.Data binding pass")
DataViewMap associates a data type with a View/ViewModel for data-based navigationResultDataViewMap additionally specifies a result type for round-trip navigationNavigateBackWithResultAsync(data) returns data to the calling pageRegisterRoutes to support data typesNavigation.Data attached property enables data passing in XAML