Uno Toolkit Command Extensions — 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 CommandExtensions Documentation
uno_platform_docs_search("Uno Toolkit CommandExtensions command TextBox enter ToggleSwitch ListView tap")
Primary documentation pages:
- CommandExtensions (Chefs):
external/uno.chefs/doc/toolkit/CommandExtensions.md - Command Extensions helper: search for
CommandExtensionsin toolkit helpers
Fetch the Chefs page:
uno_platform_docs_fetch(sourcePath="external/uno.chefs/doc/toolkit/CommandExtensions.md")
Step 2: For Reference Documentation
uno_platform_docs_search("Uno Toolkit CommandExtensions attached property Command CommandParameter")
Critical Rules
- There is no
CommandTriggerattached property.utu:CommandExtensions.Command="{Binding ...}"alone is sufficient — the trigger event is determined automatically by the control type (Enter onTextBox/PasswordBox, item click onListView, toggle onToggleSwitch, invocation onNavigationView, tap on anyUIElement). Do not invent a separate trigger property. CommandonListViewrequiresIsItemClickEnabled="True"to fire.
Key Principles (Stable)
utu:CommandExtensions.Command="{Binding MyCommand}"— attaches a commandutu:CommandExtensions.CommandParameter— optional parameter- Supported controls: TextBox (enter key), PasswordBox, ToggleSwitch, ListView, NavigationView, ItemsRepeater, any UIElement (tap)
- XAML namespace:
xmlns:utu="using:Uno.Toolkit.UI"
Related Skills
- [[uno-toolkit-input-extensions]] — Input field focus flow
- [[uno-toolkit-itemsrepeater-extensions]] — ItemsRepeater selection