Skip to main content

uno-navigation-routes

Define and register navigation routes in Uno Platform applications using ViewMap, DataViewMap, ResultDataViewMap, and RouteMap.

Jump to install

Source facts

Repository
unoplatform/studio
Last source activity
June 9, 2026 at 19:39
Detected SKILL.md language
English
Stars
10
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions ยท Read-only preview
name
uno-navigation-routes
description
Define and register navigation routes in Uno Platform applications using ViewMap, DataViewMap, ResultDataViewMap, and RouteMap.
when_to_use
Use when registering views and ViewModels for navigation, setting up `ViewMap`, `DataViewMap`, or `ResultDataViewMap`, configuring nested routes and route hierarchies, adding route dependencies or initialization logic, or understanding how routes map to navigation paths.
metadata
{"author":"uno-platform","version":"2.3","category":"navigation"}
# Uno Navigation Routes โ€” Agent Skill ## Workflow > **Docs lookup:** call `uno_platform_docs_search(...)` first, then `uno_platform_docs_fetch(sourcePath="โ€ฆ")` using the `sourcePath` field from a result (a relative `.md` path; add the result's `anchor` for a section). Never pass a URL, a `.html` link, 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.cs` via the `RegisterRoutes` method - `ViewMap` โ€” associates a View with a ViewModel - `DataViewMap` โ€” associates a View/ViewModel with a data type for data-based navigation - `ResultDataViewMap` โ€” like DataViewMap but also defines a result type - `RouteMap` โ€” 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
View on GitHub