Token导航 LogoToken导航

Agent Skill · 开发

dotnet-uno-targets(dotnet uno 目标)

dotnet-uno-targets 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

dotnet-uno-targets 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 18,252。

总安装 349周安装 14GitHub Stars 15下载 113核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dotnet-uno-targets(dotnet uno 目标)
来源仓库:https://github.com/wshaddix/dotnet-skills
仓库路径:skills/dotnet-uno-targets
安装命令:
npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-uno-targets
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-uno-targets

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

提供 Uno Platform 各目标平台部署指南。覆盖 WASM、iOS、Android、桌面等运行时。包含调试、打包和平台特定问题处理建议。适用于多端发布与兼容性适配支持。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

dotnet-uno-targets 属于开发类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/dotnet-uno-targets

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-uno-targ…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

dotnet-uno-targets 怎么安装?

在终端执行 npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-uno-targets。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

dotnet-uno-targets 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

dotnet-uno-targets 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

dotnet-uno-targets 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

dotnet-uno-targets 用的人多吗?

公开数据是累计安装 349 次,近一周安装 14 次,下载 113 次,GitHub 15 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

dotnet-uno-targets 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
dotnet-uno-targets

dotnet uno 目标 · 本页

34915操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

dotnet-uno-targets

Per-target deployment guidance for Uno Platform applications: Web/WASM, iOS, Android, macOS (Catalyst), Windows, Linux (Skia/GTK), and Embedded (Skia/Framebuffer). Each target section covers project setup, debugging workflow, packaging/distribution, platform-specific gotchas, AOT/trimming implications, and behavior differences from other targets.

Scope boundary: This skill owns per-target deployment, debugging, packaging, and platform-specific gotchas. Core Uno Platform development (Extensions, MVUX, Toolkit, themes) is owned by [skill:dotnet-uno-platform]. MCP integration for live docs is owned by [skill:dotnet-uno-mcp].

Out of scope: Uno Platform testing (Playwright for WASM, platform Appium tests) -- see [skill:dotnet-uno-testing]. General AOT/trimming patterns -- see [skill:dotnet-aot-wasm]. UI framework selection -- see [skill:dotnet-ui-chooser].

Cross-references: [skill:dotnet-uno-platform] for core development, [skill:dotnet-uno-mcp] for MCP integration, [skill:dotnet-uno-testing] for testing, [skill:dotnet-aot-wasm] for general WASM AOT patterns, [skill:dotnet-ui-chooser] for framework selection.


Target Platform Overview

TargetTFMToolingPackagingKey Constraints
Web/WASMnet8.0-browserwasmBrowser DevToolsStatic hosting / Azure SWANo filesystem access, AOT recommended, limited threading
iOSnet8.0-iosXcode / VS Code / RiderApp Store / TestFlightProvisioning profiles, entitlements, no JIT
Androidnet8.0-androidAndroid SDK / EmulatorPlay Store / APK sideloadSDK version targeting, permissions
macOS (Catalyst)net8.0-maccatalystXcodeMac App Store / notarizationSandbox restrictions, entitlements
Windowsnet8.0-windows10.0.19041Visual StudioMSIX / Windows StoreWinAppSDK version alignment
Linuxnet8.0-desktopSkia/GTK hostAppImage / Flatpak / SnapGTK dependencies, Skia rendering
Embeddednet8.0-desktopSkia/FramebufferDirect deploymentNo windowing system, headless rendering

TFM note: Use version-agnostic globs (net*-ios, net*-android) when detecting platform targets programmatically to avoid false negatives on older or newer TFMs.


Web/WASM

Project Setup

# Run the WASM target
dotnet run -f net8.0-browserwasm --project MyApp/MyApp.csproj

The WASM target renders XAML controls in the browser. The renderer depends on project configuration: Skia (canvas/WebGL) or native HTML mapping. The app loads via a JavaScript bootstrap (uno-bootstrap.js) that initializes the.NET WASM runtime.

Debugging

  • Browser DevTools: Use F12 in Chrome/Edge to inspect DOM, network, console output
  • .NET debugging: Visual Studio and VS Code support debugging the.NET WASM runtime via browser CDP
  • Uno DevServer: dotnet run starts a development server with live reload support
  • Console logging: ILogger output appears in the browser console

Packaging/Distribution

# Publish for production
dotnet publish -f net8.0-browserwasm -c Release --output ./publish

# Output is a static site (HTML/JS/WASM)
# Deploy to: Azure Static Web Apps, GitHub Pages, Netlify, any static host

Published output is a self-contained static site. No server-side runtime required.

Platform Gotchas

  • No filesystem access: Use browser storage APIs (IndexedDB, localStorage) via JS interop or Uno.Storage
  • Threading limitations: Web Workers provide limited multi-threading; Task.Run may not parallelize on WASM
  • CORS restrictions: HTTP requests from WASM are subject to browser CORS policy
  • Initial load time: The.NET WASM runtime and assemblies must download before the app is usable. Use assembly trimming to reduce download size. AOT improves runtime execution speed but increases artifact size
  • Deep linking: Configure URL routing in the Uno Navigation Extensions for browser URL bar navigation

AOT/Trimming

Trimming reduces download size by removing unused code. AOT pre-compiles IL to WebAssembly, improving runtime execution speed but increasing artifact size. Use both together and measure the tradeoffs for your app.

<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-browserwasm'">
  <WasmShellMonoRuntimeExecutionMode>InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode>
  <RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>

Trimming is critical for WASM. Untrimmed apps can exceed 30MB. With trimming, typical apps are 5-15MB. AOT adds to the artifact size but eliminates interpreter overhead at runtime -- profile both download time and execution speed in target conditions.

For Uno-specific AOT gotchas (linker descriptors, Uno source generators), see the AOT section. For general WASM AOT patterns, see [skill:dotnet-aot-wasm].

Behavior Differences

  • Navigation: URL-based deep linking works natively; route maps should define URL patterns
  • Authentication: OAuth flows use browser redirects (popup or redirect); no native browser available. Token storage uses browser secure storage
  • Debugging: Full.NET debugger available via CDP; breakpoints work in Visual Studio/VS Code
  • File pickers: Use browser file input APIs; FileOpenPicker maps to <input type="file">

iOS

Project Setup

# Build for iOS simulator
dotnet build -f net8.0-ios

# Run on simulator
dotnet run -f net8.0-ios

Requires Xcode installed on macOS. The renderer (Skia or native) depends on project configuration and Uno version.

Debugging

  • Visual Studio (Pair to Mac) / VS Code + C# Dev Kit / Rider: Attach to iOS simulator or device
  • Xcode Instruments: Profile CPU, memory, and energy usage
  • Hot Reload: Supported via DOTNET_MODIFIABLE_ASSEMBLIES=debug

Packaging/Distribution

# Publish for App Store
dotnet publish -f net8.0-ios -c Release \
  /p:CodesignKey="Apple Distribution: MyCompany" \
  /p:CodesignProvision="MyApp Distribution Profile"

Distribution channels: App Store (requires Apple Developer account), TestFlight (beta testing), Ad Hoc (enterprise).

Required: Provisioning profiles, signing certificates, entitlements file for capabilities (push notifications, HealthKit, etc.).

Platform Gotchas

  • No JIT compilation: iOS prohibits JIT. All code must be AOT-compiled or interpreted. The.NET runtime uses the Mono interpreter by default
  • Provisioning profiles: Must match bundle ID, team ID, and entitlements. Expired profiles cause cryptic build failures
  • Background execution: iOS restricts background processing. Use BGTaskScheduler for background work
  • App Transport Security (ATS): HTTPS required by default; HTTP requires an NSAppTransportSecurity exception in Info.plist
  • Memory pressure: iOS aggressively kills background apps. Handle MemoryWarning events

AOT/Trimming

iOS requires AOT by default (no JIT). The.NET runtime compiles to native ARM64 code.

<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">
  <PublishTrimmed>true</PublishTrimmed>
  <TrimMode>link</TrimMode>
</PropertyGroup>

Gotcha: Reflection-heavy code fails silently on iOS. Test with trimming enabled during development, not just for release builds.

Behavior Differences

  • Navigation: Gesture-based back navigation (swipe from left edge) is automatic with Uno Navigation
  • Authentication: Uses ASWebAuthenticationSession for OAuth; biometric auth via LocalAuthentication framework
  • Debugging: Simulator is fast; device debugging requires USB connection and provisioning. Remote debugging with Hot Reload supported

Android

Project Setup

# Build for Android
dotnet build -f net8.0-android

# Deploy to connected device or emulator
dotnet run -f net8.0-android

Requires Android SDK (installed via dotnet workload install android or Android Studio).

Debugging

  • Android Emulator: Use Android Studio's emulator or command-line emulator
  • ADB (Android Debug Bridge): adb logcat for runtime logs, adb devices to verify connections
  • Visual Studio / VS Code: Full debugging with breakpoints on emulator or device

Packaging/Distribution

# Publish signed APK/AAB (use env vars or CI secrets for passwords — never hardcode)
dotnet publish -f net8.0-android -c Release \
  /p:AndroidKeyStore=true \
  /p:AndroidSigningKeyStore=mykey.keystore \
  /p:AndroidSigningStorePass="$ANDROID_KEYSTORE_PASS" \
  /p:AndroidSigningKeyAlias=myalias \
  /p:AndroidSigningKeyPass="$ANDROID_KEY_PASS"

Google Play requires Android App Bundle (AAB) format. Sideloading uses APK.

Platform Gotchas

  • SDK version targeting: <SupportedOSPlatformVersion> controls minimum API level. Target API 34+ for Google Play compliance
  • Runtime permissions: Dangerous permissions (camera, location, storage) require runtime requests. Check and request in code, not just manifest
  • Activity lifecycle: Android destroys activities on rotation by default. Uno handles this, but custom native code must be lifecycle-aware
  • ProGuard/R8: Code shrinking may remove reflection targets. Use @Keep annotations or linker configuration for native interop types

AOT/Trimming

<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">
  <PublishTrimmed>true</PublishTrimmed>
  <RunAOTCompilation>true</RunAOTCompilation>
</PropertyGroup>

AOT on Android improves startup time. Unlike iOS, JIT is available as fallback for untrimmed code paths.

Behavior Differences

  • Navigation: Hardware/software back button triggers Uno navigation back. BackRequested event fires automatically
  • Authentication: Uses CustomTabs (Chrome) for OAuth; biometric auth via AndroidX.Biometric
  • Debugging: Emulator is slower than iOS Simulator but supports more API levels. Use hardware acceleration (HAXM/KVM) for performance

macOS (Catalyst)

Project Setup

# Build for macOS
dotnet build -f net8.0-maccatalyst

# Run on macOS
dotnet run -f net8.0-maccatalyst

Uses Mac Catalyst (iOS APIs adapted for macOS). Requires Xcode on macOS.

Debugging

  • Visual Studio (Pair to Mac) / VS Code + C# Dev Kit / Rider: Native macOS debugging
  • Xcode Instruments: Profile performance and memory
  • Console.app: View system logs for the app process

Packaging/Distribution

# Publish for distribution
dotnet publish -f net8.0-maccatalyst -c Release \
  /p:CodesignKey="Developer ID Application: MyCompany" \
  /p:CodesignProvision="MyApp Mac Profile"

Distribution channels: Mac App Store, direct download with notarization, enterprise deployment.

Notarization required: macOS Gatekeeper requires notarized apps for distribution outside the App Store. Use xcrun notarytool to submit.

Platform Gotchas

  • Sandbox restrictions: Mac App Store apps run in a sandbox. File access requires entitlements and user grants
  • Catalyst limitations: Not all iOS APIs translate to macOS. Check SupportedOSPlatform attributes
  • Menu bar: macOS expects a proper menu bar. Uno provides default menus; customize via platform-specific code
  • Window management: macOS apps support multiple windows. Uno's single-window model may need adaptation for multi-window scenarios

AOT/Trimming

Same profile as iOS (AOT by default for Catalyst). Trimming recommended for distribution builds.

Behavior Differences

  • Navigation: No swipe-back gesture; relies on toolbar back button or keyboard shortcuts (Cmd+[)
  • Authentication: Uses ASWebAuthenticationSession (shared with iOS); supports Touch ID via Secure Enclave
  • Debugging: Native macOS process; standard.NET debugging tools work. No simulator -- runs as native app

Windows

Project Setup

# Build for Windows
dotnet build -f net8.0-windows10.0.19041

# Run on Windows
dotnet run -f net8.0-windows10.0.19041

The Windows target can use either the Skia renderer or native WinAppSDK/WinUI 3 rendering.

Debugging

  • Visual Studio: Full debugging with XAML Hot Reload, Live Visual Tree, Live Property Explorer
  • WinUI diagnostics: Built-in diagnostic overlay for layout inspection

Packaging/Distribution

# Package as MSIX
dotnet publish -f net8.0-windows10.0.19041 -c Release \
  /p:PackageOutputPath=./packages

Distribution: Microsoft Store (MSIX), sideloading (MSIX with certificate), ClickOnce, or direct EXE.

Platform Gotchas

  • WinAppSDK version alignment: The Windows TFM version must match the minimum Windows version. 10.0.19041 = Windows 10 2004+
  • UAC and elevation: Apps cannot self-elevate. Design for standard user permissions
  • Windows-specific APIs: Windows.Storage, Windows.Networking APIs are available only on Windows target. Use conditional compilation or Uno abstractions
  • MSIX signing: MSIX packages must be signed for installation. Use a code signing certificate for distribution

AOT/Trimming

<PropertyGroup Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">
  <PublishTrimmed>true</PublishTrimmed>
  <PublishAot>true</PublishAot>
</PropertyGroup>

Windows supports both JIT and AOT. AOT produces a single native EXE with faster startup.

Behavior Differences

  • Navigation: Standard Windows navigation (Alt+Left for back, title bar back button)
  • Authentication: Uses system browser or WAM (Web Account Manager) for SSO with Microsoft accounts
  • Debugging: Richest debugging experience with Visual Studio Live Visual Tree and XAML Hot Reload

Linux (Skia/GTK)

Project Setup

# Build for Linux desktop
dotnet build -f net8.0-desktop

# Run on Linux
dotnet run -f net8.0-desktop

The Linux target uses the Skia renderer with a GTK host window. All XAML rendering is done by Skia -- GTK provides only the window and input handling.

Debugging

  • VS Code with C# Dev Kit: Remote debugging on Linux
  • JetBrains Rider: Full Linux debugging support
  • Console logging: dotnet run outputs logs to terminal

Packaging/Distribution

# Publish self-contained for Linux
dotnet publish -f net8.0-desktop -c Release \
  --self-contained \
  -r linux-x64

# Package as AppImage, Flatpak, or Snap

Distribution: AppImage (portable, no install), Flatpak (sandboxed), Snap (Ubuntu Store), DEB/RPM packages.

Platform Gotchas

  • GTK dependencies: The app requires GTK3 libraries at runtime. Package or document the dependency: libgtk-3-0, libskia*
  • Skia rendering: All rendering is Skia-based. Native GTK widgets are not used. This ensures pixel-perfect cross-platform rendering but means the app does not follow the host GTK theme
  • Font rendering: Ensure fonts are available on the target system. Embed fonts in the app or declare font dependencies
  • Display scaling: HiDPI support works via Skia; test with GDK_SCALE=2 environment variable

AOT/Trimming

<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-desktop'">
  <PublishTrimmed>true</PublishTrimmed>
  <PublishAot>true</PublishAot>
</PropertyGroup>

AOT on Linux produces a native binary. Self-contained deployment avoids requiring a system-wide.NET runtime.

Behavior Differences

  • Navigation: Keyboard-driven (Alt+Left for back). No gesture-based navigation
  • Authentication: Uses system browser for OAuth flows. No platform-specific auth APIs
  • Debugging: Standard.NET debugging. No platform-specific debugger tools

Embedded (Skia/Framebuffer)

Project Setup

The Embedded target uses the Skia renderer with a framebuffer backend, enabling headless or kiosk-style rendering without a windowing system.

# Build for embedded (same TFM as desktop)
dotnet build -f net8.0-desktop -r linux-arm64

# Run directly on embedded device
dotnet run -f net8.0-desktop

The embedded target shares the net8.0-desktop TFM with Linux desktop. Platform-specific configuration selects the framebuffer backend.

// Program.cs -- framebuffer host configuration
public static void Main(string[] args)
{
    SkiaHostBuilder.Create()
        .UseFrameBuffer()  // Use framebuffer instead of GTK
        .App(() => new App())
        .Build()
        .Run();
}

Debugging

  • SSH remote debugging: Use VS Code Remote or dotnet-trace for remote profiling
  • Serial console: Redirect logs to serial output for headless debugging
  • Remote logging: Configure Serilog with network sink for remote log aggregation

Packaging/Distribution

# Publish self-contained for ARM64
dotnet publish -f net8.0-desktop -c Release \
  --self-contained \
  -r linux-arm64

# Deploy binary directly to device filesystem
scp -r ./publish/* pi@device:/opt/myapp/

Direct deployment to device filesystem. No app store or package manager.

Platform Gotchas

  • No windowing system: No X11/Wayland. The app renders directly to the Linux framebuffer (/dev/fb0)
  • Input handling: Touch input via Linux input events (/dev/input/event*). No mouse cursor by default
  • Limited resources: Embedded devices often have constrained RAM and CPU. Profile memory usage carefully
  • No browser: OAuth flows that require a browser are not available. Use device-code flow or pre-provisioned tokens
  • Display resolution: Must match the framebuffer resolution. Set via kernel boot parameters or fbset

AOT/Trimming

AOT is strongly recommended for embedded due to limited resources and startup time requirements.

<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'linux-arm64'">
  <PublishTrimmed>true</PublishTrimmed>
  <PublishAot>true</PublishAot>
  <InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>

InvariantGlobalization reduces binary size by removing ICU data (~28MB). Only use if the app does not need locale-specific formatting.

Behavior Differences

  • Navigation: Touch or hardware button only. No keyboard shortcuts or gesture bars
  • Authentication: Device-code flow or pre-provisioned credentials. No browser-based OAuth
  • Debugging: Remote only. No local IDE. Use SSH debugging or remote logging

Cross-Target Behavior Differences

Navigation

TargetBack NavigationDeep LinkingGesture Navigation
Web/WASMBrowser back button / Alt+LeftURL-based routingNone
iOSSwipe from left edgeURL schemes / Universal LinksFull gesture support
AndroidHardware/software back buttonIntent filters / App LinksSystem back gesture (Android 13+)
macOSCmd+[/ toolbar backURL schemesNone
WindowsAlt+Left / title bar backProtocol activationNone
LinuxAlt+Left / keyboardNoneNone
EmbeddedHardware button onlyNoneTouch only

Authentication

TargetOAuth FlowToken StorageBiometric
Web/WASMBrowser redirect/popupBrowser secure storageWebAuthn (limited)
iOSASWebAuthenticationSessionKeychainTouch ID / Face ID
AndroidChrome Custom TabsAndroid KeystoreBiometricPrompt
macOSASWebAuthenticationSessionKeychainTouch ID
WindowsSystem browser / WAMCredential ManagerWindows Hello
LinuxSystem browserSecret Service APINone
EmbeddedDevice-code flowFile-based (encrypt)None

Debugging Tools

TargetIDE DebuggerHot ReloadProfiling
Web/WASMVS / VS Code (CDP)YesBrowser DevTools
iOSVS (Pair to Mac) / VS Code / RiderYesXcode Instruments
AndroidVS / VS CodeYesAndroid Profiler
macOSVS (Pair to Mac) / VS Code / RiderYesXcode Instruments
WindowsVisual StudioYes (+ Live Visual Tree)VS Diagnostic Tools
LinuxVS Code / RiderYesdotnet-counters / dotnet-trace
EmbeddedVS Code RemoteYes (SSH)dotnet-trace (remote)

Agent Gotchas

  1. Do not hardcode TFM versions in detection logic. Use version-agnostic globs (net*-ios, net*-android) to handle both.NET 8 and future.NET versions.
  2. Do not assume all targets share the same debugging workflow. iOS requires provisioning; Android requires ADB; WASM uses browser DevTools. Each target has distinct tooling.
  3. Do not use JIT-dependent patterns on iOS. iOS prohibits JIT compilation. Code that uses Reflection.Emit, Expression.Compile(), or dynamic assembly loading will fail at runtime.
  4. Do not forget platform-specific permissions. Android runtime permissions, iOS entitlements, macOS sandbox permissions, and WASM CORS policy are all different and must be handled per-target.
  5. Do not deploy untrimmed WASM apps. Untrimmed WASM bundles exceed 30MB. Always enable trimming and consider AOT for production WASM deployments.
  6. Do not assume file system access on all targets. WASM has no filesystem; iOS/macOS have sandbox restrictions; embedded may have read-only storage. Use Uno Storage abstractions.
  7. Do not use the same authentication flow for all targets. WASM uses browser redirects, mobile uses native auth sessions, embedded uses device-code flow. Auth must be configured per-target.

Prerequisites

  • .NET 8.0+ with platform workloads: dotnet workload install ios android maccatalyst wasm-tools
  • Platform SDKs: Xcode (iOS/macOS), Android SDK (Android), GTK3 (Linux)
  • Uno Platform 5.x+

References

平台分布

Codex

36.17%
按下载量换算41

Claude

28.07%
按下载量换算32

Cursor

20.26%
按下载量换算23

Gemini CLI

9.82%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills