Uno Navigation Routes — Agent Skill
Workflow
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.
Step 1: Fetch the Routes Documentation
uno_platform_docs_search("Uno Navigation routes ViewMap DataViewMap RouteMap register")
Primary documentation pages:
- Define Routes:
external/uno.extensions/doc/Learn/Navigation/Walkthrough/DefineRoutes.md - Register Routes:
external/uno.extensions/doc/Learn/Navigation/Walkthrough/RegisterRoutes.md
Fetch the define routes page:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Navigation/Walkthrough/DefineRoutes.md")
Step 2: For View-ViewModel Association
Fetch the register routes page for binding views to view models:
uno_platform_docs_fetch(sourcePath="external/uno.extensions/doc/Learn/Navigation/Walkthrough/RegisterRoutes.md")
Step 3: For Data-Based and Result-Based Navigation
If the user needs to pass data or get results via routes:
uno_platform_docs_search("Uno Navigation DataViewMap ResultDataViewMap data navigation result")
See also the uno-navigation-data skill.
Key Principles (Stable)
- Routes are registered in
App.xaml.csvia theRegisterRoutesmethod ViewMap— associates a View with a ViewModelDataViewMap— associates a View/ViewModel with a data type for data-based navigationResultDataViewMap— like DataViewMap but also defines a result typeRouteMap— defines a named route with nested child routes- Route names typically match the page name without the "Page" suffix
Related Skills
- [[uno-navigation-setup]] — Initial navigation configuration
- [[uno-navigation-data]] — Passing data during navigation
- [[uno-navigation-code]] — Programmatic navigation using routes
- [[uno-navigation-xaml]] — XAML-based navigation using route names