uno: Skill for Claude Code

.claude/skills/winui-port/SKILL.md

winui-port is a skill for Claude Code from unoplatform/uno. It costs 24 tokens per session (6,660 once invoked), scanned A, original, Apache-2.0.

A porting tool that creates C# drafts for Uno Platform from WinUI C++ code and related files. Uno Platform is a framework for building applications that run across several platforms using C#.

In plain words
What is it for?
Use it to port complete controls or individual methods from WinUI headers, implementations, IDL files, and tests into Uno Platform C# code.
Why use it?
It helps move WinUI controls or smaller code sections to another language and framework while preserving structure and logic for later human review.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is unoplatform/uno's own configuration. It tells Claude Code how to work on uno itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything uno configures →

About the project

Uno Platform is an open-source .NET development platform that lets developers build native mobile, web, desktop, and embedded applications from one C# and XAML codebase. It is intended for .NET developers who want to share application code across multiple operating systems and device types. The catalogue entries support development workflows for Uno Platform with skills, agents, commands, and instructions.

unoplatform/uno · 10,041 stars · on GitHub · platform.uno

Reuse

Borrowing it

Nothing to install: this file belongs to unoplatform/uno. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/unoplatform/uno/master/.claude/skills/winui-port/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/unoplatform/uno

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for winui-port

README.md
[![agentmods](https://agentmods.dev/badge/skills/unoplatform/uno/winui-port/github.svg)](https://agentmods.dev/skills/unoplatform/uno/winui-port)
Your own site
<a href="https://agentmods.dev/skills/unoplatform/uno/winui-port"><img src="https://agentmods.dev/badge/skills/unoplatform/uno/winui-port/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for winui-port

Your own site · 80×15
<a href="https://agentmods.dev/skills/unoplatform/uno/winui-port"><img src="https://agentmods.dev/badge/skills/unoplatform/uno/winui-port.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,660 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.06660
Opus 5 $0.00012 $0.03330
Sonnet 5 $0.00005 $0.01332
Haiku 4.5 $0.00002 $0.00666

Measured 5d ago against content hash 143cc726987c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

winui-port scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/winui-port/SKILL.md · 573 lines

How it starts

The opening of the file, as written. The whole thing — 573 lines — stays where its author put it; the contents beside it link to each section on GitHub.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).


Overview

You are executing the WinUI Porting Skill. You produce lossless, structure-preserving, human-fixable drafts of Uno Platform C# code from WinUI C++ headers, implementations, IDL files, and related tests.

Your output must never lose information, never delete logic, and must follow the partial-file layout, event-revoker patterns, and Uno constraints defined in this document.

The user's input after /winui-port is a free-form description of what to port. It may be:

  • A full control name: "Port the Expander control from /path/to/winui/dev/Expander/"
  • A snippet/method: "Port the OnApplyTemplate method from /path/to/InfoBar.cpp into the existing InfoBar port"
  • A task description: "Port the remaining unported methods in TitleBar"
  • File paths with instructions: "Port /path/to/SplitButton.cpp, /path/to/SplitButton.h, /path/to/SplitButton.idl"

Parse the intent and determine whether this is a full control port or a snippet/incremental port.


Execution Workflow

Phase 0: Analyze Intent and Gather Sources

  1. Parse the user input to determine:

    • Which C++ source files to read (.cpp, .h, _Partial.cpp, _Partial.h)
    • Whether an .idl (MIDL3) file exists alongside the source
    • Whether this is a full control port or a snippet/incremental port
    • The control name and namespace
  2. Read all source files provided or referenced by the user. For a full control port, look for the complete set:

    • ControlName.cpp — main implementation
    • ControlName.h — header with fields, constants, inline methods
    • ControlName_Partial.cpp / ControlName_Partial.h — split implementations (if they exist)
    • ControlName.properties.cpp — property definitions
    • ControlName.idl — MIDL3 API surface definition
    • Associated types: ControlNameTemplateSettings.h/.cpp, ControlNameAutomationPeer.h/.cpp, ControlNameEventArgs.h/.cpp (auto-detect from the same directory)
    • Test files: Look for *ControlName*Test* files in nearby test directories

Read the full file on GitHub · 573 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed 143cc726987c
  2. 10d ago First seen · 573 lines · 24 tokens per session scan A be34baacd446

Subscribe to this mod's changes

winui-port is a skill published in the GitHub repository unoplatform/uno (10,041 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 6,660 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

android-slim-bindings

Create Android slim bindings for MAUI/.NET Android. USE FOR: slim Android binding, Kotlin/Java wrappers, build.gradle.kts, Maven, AAR/JAR, AndroidMavenLibrary, AndroidLibrary, @JvmStatic, XA4241/XA4242, Xamarin.AndroidX/Kotlin NuGets. DO NOT USE FOR: iOS/macOS bindings, general MAUI apps, or NuGet packaging.

dotnet/maui-labs · 90 tokens

maui-notifications-deep-links

Implement MAUI notifications and deep links. USE FOR: local/push notifications, FCM HTTP v1 migration, APNs/Azure Notification Hubs, permission UX, Android channels/POSTNOTIFICATIONS, iOS UNUserNotificationCenter, token lifecycle, notification tap navigation, app links/universal links/URI schemes. DO NOT USE FOR…

dotnet/maui-labs · 90 tokens

maui-auth-secure-storage

Implement MAUI auth and secure storage. USE FOR: WebAuthenticator/MSAL, OAuth/OIDC redirects, Entra ID, callback URIs, Android intent filters, CFBundleURLTypes, token cache cleanup, SecureStorage, logout, Blazor Hybrid auth handoff. DO NOT USE FOR: architecture, API retries/offline data, UI debugging.

dotnet/maui-labs · 78 tokens

dotnet-workload-info

Discover MAUI workload metadata from live NuGet APIs. USE FOR: workload manifest lookup, WorkloadDependencies.json, v3-flatcontainer, CLI-to-NuGet version conversion, Xcode/JDK/Android SDK requirements, CI sdkmanager packages, packageid:Microsoft.Maui.Controls. DO NOT USE FOR: installing workloads, build debugging, or…

dotnet/maui-labs · 81 tokens

maui-current-apis

Keep MAUI guidance target-framework-safe. USE FOR: checking TFM, net8 vs net10 API choices, SafeAreaEdges, replacing Application.Current.MainPage, Xamarin.Forms namespaces, Shell/window APIs, avoiding .NET 10-only APIs on older targets. DO NOT USE FOR: workload discovery, runtime inspection, migration planning.

dotnet/maui-labs · 74 tokens

roslyn-codelens

Use when working with any .NET / C# code (.cs/.csproj/.sln/.slnx files), finding callers/references/implementations, checking compiler errors or warnings, running dotnet build for diagnostics, searching for a type/method/interface by name, inspecting DI registrations, detecting dead code or circular dependencies…

MarcelRoozekrans/roslyn-codelens-mcp · 104 tokens