基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/unoplatform/studio --skill uno-navigation-panel-visibility命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | uno-navigation-panel-visibility |
| description | Implement visibility-based navigation using Panel or Grid controls. |
| when_to_use | Use when implementing lightweight content switching without `Frame` overhead via `Region.Navigator="Visibility"`, when serving as the content area inside `TabBar`, `NavigationView`, or responsive shells, or when all registered views should stay in the visual tree after injection. |
| metadata | {"author":"uno-platform","version":"3.4","category":"navigation"} |
This skill covers visibility-based navigation where the framework injects registered route views into an empty Grid and switches between them by toggling Visibility. This is the content-area pattern used inside TabBar, NavigationView, and responsive shell layouts.
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 visibility based panel Grid Region.Navigator content switch")
Primary documentation pages:
external/uno.extensions/doc/Learn/Navigation/Walkthrough/DefineRegions.mdexternal/uno.extensions/doc/Reference/Navigation/NavigationRegion.mdFetch the define regions walkthrough:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Navigation/Walkthrough/DefineRegions.md")
uen:Region.Navigator="Visibility" on the content container Griduen:Region.Attached="True" on the same Griduen:Region.Navigator="Visibility" must be empty in XAML. Do not add Collapsed child elements for each route. The navigation framework resolves registered routes and injects the corresponding views at runtime.The visibility region Grid appears as the content area inside navigation shells:
<!-- Inside a TabBar or NavigationView shell -->
<Grid uen:Region.Attached="True"
uen:Region.Navigator="Visibility" />
The framework creates view instances from registered RouteMap entries and places them as children of this Grid, managing their Visibility as navigation occurs.
uen:Region.Attached="True" AND uen:Region.Navigator="Visibility"RouteMap determine which views get injected