Skills

Uno Platform

Build cross-platform .NET applications with Uno Platform targeting WebAssembly, iOS...

Install

npx skills add managedcode/dotnet-skills --skill uno-platform -g -a claude-code -y
Category
Testing
Updated
6d ago
License
MIT
Context cost
Mediumabout 1,794 tokens
Runs scripts
No, instructions only

What it does

Build cross-platform .NET applications with Uno Platform targeting WebAssembly, iOS, Android, macOS, Linux, and Windows from a single XAML/C# codebase. USE FOR: building cross-platform apps from a single C# and XAML codebase; targeting WebAssembly, iOS, Android, macOS, Linux, and Windows simultaneously; migrating WPF or UWP. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.

Uno Platform

Trigger On

  • building cross-platform apps from a single C# and XAML codebase
  • targeting WebAssembly, iOS, Android, macOS, Linux, and Windows simultaneously
  • migrating WPF or UWP applications to cross-platform
  • implementing pixel-perfect UI across all platforms
  • using WinUI/UWP APIs on non-Windows platforms

Documentation

References

See detailed examples in the references/ folder:

  • patterns.md, MVUX, XAML, navigation, and performance patterns

Platform Support

PlatformRenderingNotes
WindowsWinUI 3Native Windows App SDK
WebAssemblySkia/CanvasRuns in browser
iOSSkia/MetalNative iOS app
AndroidSkia/OpenGLNative Android app
macOSSkia/MetalMac Catalyst or AppKit
LinuxSkia/X11GTK or Framebuffer

Workflow

  1. Choose the right template, Uno Platform offers various templates for different scenarios
  2. Understand rendering modes, Skia vs native rendering affects performance and fidelity
  3. Apply MVVM or MVUX patterns, keep views dumb, logic in ViewModels
  4. Handle platform differences, use conditional XAML or partial classes
  5. Test on all target platforms, behavior varies across platforms

Project Structure

Read the whole SKILL.md on GitHub

More in Testing