/uno-platform-studio:uno-navigationfrom uno-platform-studio
Provides Uno.Extensions.Navigation guidance for route registration, region-based navigation, shell templates, dialogs, and back-stack qualifiers in Uno Platform apps.
Ships in uno-platform-studio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Uno.Extensions.Navigation is route-based: pages and ViewModels are registered once in App.xaml.cs, then navigation happens by route name from XAML (uen:Navigation.Request) or code (INavigator). Shells (TabBar, NavigationView, responsive) are built from regions, where the framework injects registered views into an empty container at runtime. Generic agents reliably get this wrong: they hand-wire Frame.Navigate, pre-populate the content area with collapsed pages, put Region.Attached in Shell.xaml, or call navigation methods on the wrong type. This skill stops those mistakes and routes you to the reference for the task.
references/*.md before writing code. Shell references point to complete, compilable templates with placeholders; copy those rather than composing shell XAML from memory.uno_platform_docs_search(...) and fetch only the section you need: uno_platform_docs_fetch(sourcePath="…", anchor="…"), both values from a search result. A whole page is 2,000 to 6,000 tokens that stay in context for the rest of the session. Never pass a URL, .html link, or hand-built path.Region.Name/Navigation.Request value, or a container that is not empty.references/tabbar.md.references/navigationview.md.references/responsive-shell.md.uen:Navigation.Request. references/xaml.md.| Task | Read | Key APIs |
|---|---|---|
| Add navigation to a project, configure the host, understand Shell.xaml | references/setup.md | <UnoFeatures>Navigation;Toolkit</UnoFeatures>, .UseNavigation(RegisterRoutes), .UseToolkitNavigation() |
| Register pages and ViewModels, nest routes | references/routes.md | ViewMap, DataViewMap, ResultDataViewMap, RouteMap |
| Navigate from a Button, list item, or any control without code-behind | references/xaml.md (+ references/shell-frame-template.md) | uen:Navigation.Request, - (back), -/Route, ./Region |
| Navigate from a ViewModel, code-behind, or service | references/code.md | INavigator, this.Navigator(), NavigateViewModelAsync<T>(this), NavigateRouteAsync(this, "Route"), NavigateBackAsync(this), *ForResultAsync |
| Pass an entity or ID to a details page, return a result | references/data.md | DataViewMap, NavigateDataAsync, uen:Navigation.Data, NavigateBackWithResultAsync |
| Alert, confirmation, modal, or flyout | references/dialogs.md | ShowMessageDialogAsync, !Route or Qualifiers.Dialog, ContentDialog vs Page |
| Clear the back stack (after login), drop the current page, open dialogs by prefix | references/qualifiers.md | -/Route, -Route, !Route, Qualifiers.ClearBackStack, Qualifiers.Dialog |
| Link a navigation control to a content area, nested regions | references/regions.md | uen:Region.Attached, uen:Region.Name, uen:Region.Navigator |
| Bottom-tab shell | references/tabbar.md (+ references/shell-tabbar-template.md) | utu:TabBar, TabBarItem + Region.Name, BottomTabBarStyle, BottomTabBarItemStyle |
| Sidebar/hamburger shell, Settings item | references/navigationview.md (+ references/shell-navigationview-template.md) | NavigationView + Region.Attached, NavigationViewItem + Region.Name, Settings in FooterMenuItems |
| One shell for phone and desktop | references/responsive-shell.md (+ references/shell-responsive-template.md) | VisualStateManager breakpoints, shared Region.Name, ResponsiveExtension |
| Content area that swaps views by visibility (inside shells) | references/panel-visibility.md | empty Grid with Region.Attached + Region.Navigator="Visibility" |
| Swap content in one pane with no back stack | references/contentcontrol.md | ContentControl + Region.Attached |
| Blank page, route not found, back not working, data not arriving | references/troubleshooting.md | checklist of the rules below |
ViewMap (or DataViewMap/ResultDataViewMap) and a RouteMap entry in RegisterRoutes; an unregistered route yields a blank page or a runtime error. Route names usually match the page name without the Page suffix.RouteMap name, the uen:Region.Name on the tab or menu item, and any uen:Navigation.Request string are compared literally. In TabBar and NavigationView shells, nest page routes under the "Main" shell route so only the content area changes; in a plain Frame shell, register pages as siblings of "Main", as the template does: under the "" root in an app created with -shell, at the top level otherwise (the template default has no Shell).Region.Attached="True" in Shell.xaml or ExtendedSplashScreen content. The navigation host is not ready there. Regions belong in the shell page (SHELL_PAGE_NAME.xaml) that the host navigates to.Grid, never a StackPanel or other panel: on anything else the Visibility navigator gets no control, the request bubbles to the parent region, and tapping a tab or menu item replaces the whole page. It needs both uen:Region.Attached="True" and uen:Region.Navigator="Visibility". Keep it empty (the framework injects registered views at runtime and toggles their visibility), or give every pre-placed child a uen:Region.Name matching its route, as the docs' responsive walkthrough does. Never drop unnamed collapsed pages in it.Region.Attached="True", and the control itself also has Region.Attached="True". TabBar and NavigationView both need it, and in a responsive shell both use identical Region.Name values because they drive the same content area.uen:Navigation.Request in XAML over code-behind for simple transitions; it works on any element with Click or Tapped. Secondary pages get a back button with uen:Navigation.Request="-".INavigator, and every one takes sender first. Get the navigator via constructor injection or this.Navigator() on a view (nullable), then await navigator.NavigateViewModelAsync<T>(this), NavigateRouteAsync(this, "Route"), NavigateBackAsync(this). Calling NavigateRouteAsync on a string or a view is a compile error (CS1929, or CS1061 if Uno.Extensions.Navigation is not imported). Region.GetNavigator(element) is unrelated: it returns the Region.Navigator string. Always await.NavigateViewModelForResultAsync<TViewModel, TResult>(this) plus NavigateBackWithResultAsync(this, data: value) on the destination; the plain overload silently discards the result. The response's .Result is a Task<Option<TResult>>, so await response!.Result and test IsSome. Register the pair with ResultDataViewMap.DataViewMap<TView, TViewModel, TData> and pass the entity with NavigateDataAsync or uen:Navigation.Data="{Binding Item}"; the framework resolves the destination from the data type.-/Home (or Qualifiers.ClearBackStack) after login clears the whole back stack so back cannot return to the login page; -Home drops only the current page; !Route (or Qualifiers.Dialog) opens a route as a dialog: a Page target shows as a flyout, a ContentDialog target as a modal (a ContentDialog route opens as a modal even without !). Simple prompts need no route at all: ShowMessageDialogAsync<string>(this, title:, content:, buttons:) returns the chosen DialogAction.Id (or its Label when Id is null); the non-generic overload returns plain Task.NavigationViewNavigator only enumerates MenuItems and FooterMenuItems, so a Region.SetName on SettingsItem navigates but never syncs selection: navigating to Settings from code or a deep link leaves the previous item highlighted. Set IsSettingsVisible="False" and add a normal NavigationViewItem with uen:Region.Name="Settings" to NavigationView.FooterMenuItems.xmlns:uen="using:Uno.Extensions.Navigation.UI" for regions and attached properties, xmlns:utu="using:Uno.Toolkit.UI" for TabBar. Toolkit must be in <UnoFeatures> alongside Navigation for TabBar and NavigationBar..UseToolkitNavigation() on the IApplicationBuilder, then .UseNavigation(RegisterRoutes) on the host, or .UseNavigation(ReactiveViewModelMappings.ViewModelMappings, RegisterRoutes) with MVUX. A bare .UseNavigation() compiles and registers nothing.BottomTabBarStyle on the TabBar, BottomTabBarItemStyle on each TabBarItem. Only the Material and Simple toolkit themes define these aliases; MaterialBottomTabBarItemStyle exists only in Material and resolves to null under Simple, the template default (unstyled item on WebAssembly/Skia, an exception only on the Windows head). On Fluent (the -preset blank default) omit the Style attributes; on Cupertino use CupertinoBottomTabBarStyle/CupertinoBottomTabBarItemStyle. The same applies to the page background: BackgroundBrush exists only in Uno.Themes, so on Fluent use ApplicationPageBackgroundThemeBrush and on Cupertino CupertinoSystemBackgroundBrush, as the template does.uno-mvux for the Models that pages bind to; MVUX *Model records are what ViewMap/DataViewMap register as the ViewModel type.uno-toolkit for the controls used inside shells: references/tabbar.md (TabBar styling, badges, orientations), references/navigationbar.md (page app bar with native back button), references/responsive.md (breakpoint markup extension).uno-toolkit also owns the shell style keys (BottomTabBarStyle, BottomTabBarItemStyle; see references/tabbar.md and references/material-theme.md); uno-themes for restyling navigation chrome with semantic brushes.references/code.md (opens in a new tab)references/contentcontrol.md (opens in a new tab)references/data.md (opens in a new tab)references/dialogs.md (opens in a new tab)references/navigationview.md (opens in a new tab)references/panel-visibility.md (opens in a new tab)references/qualifiers.md (opens in a new tab)references/regions.md (opens in a new tab)references/responsive-shell.md (opens in a new tab)references/routes.md (opens in a new tab)references/setup.md (opens in a new tab)references/shell-frame-template.md (opens in a new tab)references/shell-navigationview-template.md (opens in a new tab)references/shell-responsive-template.md (opens in a new tab)references/shell-tabbar-template.md (opens in a new tab)references/tabbar.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)references/xaml.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/uno-authenticationSign-in for Uno Platform apps with Uno.Extensions.Authentication: IAuthenticationService (LoginAsync, RefreshAsync, LogoutAsync, LoggedOut), custom login against your own API, MSAL (Microsoft Entra ID, B2C), OpenID Connect, and web/OAuth redirect providers, the access token added to Refit and Kiota calls, and the login/logout navigation flow. Use whenever an Uno app needs a login page, sign-in, sign-out, user accounts, a session that survives restarts, tokens or bearer headers on API calls, protected pages, or Microsoft, Google, Auth0, Keycloak or IdentityServer sign-in, even when the request only says 'users must log in'. Also use when the project lists Authentication, AuthenticationMsal or AuthenticationOidc in <UnoFeatures>, or when an agent is about to write its own auth service or token storage. Read this skill before writing any authentication code./uno-build-appEnd-to-end workflow for building Uno Platform apps and features: discovery, a short blueprint, one complete feature built and exercised before its pattern is repeated, and an honest completion report. Use when creating a new Uno Platform app from a brief, adding a feature to an existing Uno app, repairing a broken Uno page or feature, or diagnosing an Uno binding, state or navigation defect. Use it for any 'how should I implement this' feature request that spans a page, its state, storage or a platform API such as a file or photo picker. Not for WPF, WinUI-only or .NET MAUI projects. For a single control or API question, load the matching domain skill (uno-mvux, uno-navigation, uno-toolkit, uno-themes, uno-authentication, uno-kiota, uno-testing) instead./uno-kiotaTyped REST API clients for Uno Platform apps with Uno.Extensions.Http.Kiota: the HttpKiota feature, generating a client from an OpenAPI/Swagger document with the Kiota CLI (kiota generate, kiota update, kiota-lock.json), registering it with AddKiotaClient inside UseHttp, the endpoint Url per environment, request builders, query and path parameters, headers, errors (ApiException, ResponseStatusCode, typed error models), retries and cancellation, and the JSON-only serializer limit (text/plain, form, multipart, application/problem+json). Use whenever an Uno app calls a web API, loads data from a backend or the template's server project, consumes an OpenAPI or Swagger spec, or needs a generated HTTP client, even when the request only says 'get the data from our API'. Also use when the project lists HttpKiota in <UnoFeatures>, has a Content/Client folder or kiota-lock.json, or when an agent is about to write HttpClient calls by hand. Read this skill before writing any API-calling code./uno-mvuxMVUX state management for Uno Platform apps: feeds, states, FeedView, commands, Models. Covers IFeed<T>, IState<T>, IListFeed<T>, IListState<T>, selection, pagination, entity messaging, and immutable partial record Models with generated ViewModels (Model-View-Update-eXtended). Use whenever an Uno Platform app that uses MVUX, or a new app with no pattern chosen yet, loads async data from a service or API, binds user input, shows loading/error/empty states, edits a collection, or needs a Model layer. Also use when the project has <UnoFeatures>MVUX</UnoFeatures> or *Model records, or the user asks how MVUX compares with MVVM, or reports a bound command button that stays disabled or a list or value that does not update on screen. Not for apps built on MVVM (<UnoFeatures>Mvvm</UnoFeatures>, CommunityToolkit.Mvvm, ObservableObject ViewModels): keep their pattern. Read this skill before writing any MVUX Model, feed, state, or command code./uno-platformEntry point for building or changing any Uno Platform app: cross-platform .NET UI with WinUI/XAML or C# Markup targeting Windows, iOS, Android, WebAssembly, macOS, Linux, and embedded. Use this skill whenever the user mentions Uno Platform, an Uno project (UnoFeatures, uno.sdk, Uno.Extensions, Uno.Toolkit), WinUI XAML in a cross-platform context, Hot Design, Hot Reload, Uno Studio, or asks to scaffold, extend, restyle, navigate, test, or fix an Uno app, even when the request only says 'the app' or names a page, control, or feature. It routes to the domain skills (uno-mvux, uno-navigation, uno-toolkit, uno-themes, uno-authentication, uno-kiota, uno-testing) and sets the project-wide rules that apply before any of them./uno-testingAutomated UI testing and verification of a running Uno Platform app through the Uno App MCP (the uno_app_* tools): start the app, take a visual-tree snapshot, find elements by automation id, x:Name, text or type, click, type, press keys, scroll, drive navigation flows, read an element's state or DataContext, capture screenshots, and assert on text, visibility, enabled state, list counts, dialogs, layout, and FeedView loading/error/value states. Use whenever the user says check that, verify, test the UI, does it render, click through, make sure the button works, take a screenshot, why is X not visible, or asks for end-to-end or visual regression testing of an Uno app. Also use after any UI change you made when the uno_app_* tools are available, so the result is confirmed in the real app rather than assumed from the code. Before verifying a Release build, where the App MCP is not available, load this skill: it gives the steps for that path.npx claudepluginhub unoplatform/studio --plugin uno-platform-studioOther plugins' skills for the same job