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 (7,295 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,138 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 7,295 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.07295
Opus 5.5 $0.00010 $0.02918
Sonnet 5.5 $0.00005 $0.01459
Haiku 4.5 $0.00002 $0.00730

Measured 4d ago against content hash 15175eae21f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 4d 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 · 600 lines

How it starts

The opening of the file, as written. The whole thing — 600 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 · 600 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. 4d ago Changed · +17 lines 15175eae21f5
  2. 7d ago Changed 3304ce8c9faf
  3. 12d ago Changed 97b5485ec951
  4. 16d ago Changed 96178b513af6
  5. 27d ago Changed · +10 lines c8668b5cc193
  6. 2mo ago Changed 80b5d3a64e45
  7. 2mo ago Changed 143cc726987c
  8. 3mo 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,138 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 7,295 once invoked, about $0.0001 per session on Opus 5.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

winui-port compared with skills from other repositories

winui-port next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
winui-portunoplatform/unoSkill10ktodayApache-2.0A24Claude Code
android-java-bindingsdotnet/maui-labsSkill244yesterdayMITA134Claude Code, Codex
android-slim-bindingsdotnet/maui-labsSkill244yesterdayMITA96Claude Code, Codex
maui-notifications-deep-linksdotnet/maui-labsSkill244yesterdayMITA90Claude Code, Codex
maui-auth-secure-storagedotnet/maui-labsSkill244yesterdayMITA78Claude Code, Codex
dotnet-workload-infodotnet/maui-labsSkill244yesterdayMITA81Claude Code, Codex
maui-current-apisdotnet/maui-labsSkill244yesterdayMITA74Claude Code, Codex