/maui-skillz:maui-preview-helperfrom maui-skillz
Sets up and manages .NET MAUI preview/dogfood environments across macOS, Windows, and Linux. Installs preview SDKs, MAUI workloads, Azure DevOps build artifacts, VSIX extensions, and configures project properties for preview builds.
Ships in maui-skillz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Componentized helper for standing up and maintaining .NET MAUI preview / dogfood environments. Seven optional, composable capabilities — do only what the user asks; each maps to a reference doc with the depth.
az / dotnet / code / darc / gh
directly. The bundled pwsh scripts exist only for the fiddly deterministic bits (AzDO artifact
resolution, rollback-file construction, release tracker). Don't wrap what a CLI already does.<MauiVersion> in
the project == the microsoft.net.sdk.maui entry in the rollback file. Keep them identical.DOTNET_ROOT),
so it never collides with a global install.devdiv builds). Detect that before routing a user toward them,
take the public path when one exists, and say plainly when one doesn't — never surface a raw
401/403 or tell someone to az login for something they can't be granted. See
Access tiers.| # | Capability | Use when the user wants to… | Reference |
|---|---|---|---|
| 1 | Release lookup | find/choose which preview/RC/CI release, SDK version, or build to target | release-lookup.md |
| 2 | Download builds | pull an SDK installer for their OS/arch and/or stage CI NuGet packages as a local source | download-builds.md |
| 3 | Workloads | install the MAUI workload via a workload-set version or a rollback file (from a maui branch + overrides) | workloads.md |
| 4 | NuGet.config | wire a workspace to the local source + the feeds the release needs | nuget-config.md |
| 5 | VS Code VSIX | install prerelease C# / C# Dev Kit / .NET MAUI Dev Kit extensions per arch | vscode-extensions.md |
| 6 | Project properties | toggle preview features (SourceGen XAML HR, Mono/CoreCLR) + IDE settings | project-properties.md (living doc) |
| 7 | Prerequisites | detect/install pwsh, az, dotnet, code, darc; handle auth & PATH | prerequisites.md |
Load a reference before acting on its capability — each has the exact URL patterns, script invocations, gotchas, and stop signals. Don't rely on this router alone for the details.
Not everything here is reachable outside Microsoft. Establish the tier once, up front, then route accordingly — don't discover it via a 401 halfway through a setup.
| Source | Needs | If unavailable |
|---|---|---|
| .NET Release Tracker | Microsoft tenant (az login) | Automatic fallback — Get-DotNetReleaseStatus.ps1 switches to public release metadata and labels the output. Force with -PublicOnly. |
dnceng-public builds | nothing | already public |
dotnet{N} / dotnet-public feeds | nothing | already public |
devdiv builds (MAUI Dev Kit VSIX, internal drops) | Microsoft tenant + az token | No public equivalent. Use the Marketplace prerelease, or ask the user for a downloaded .vsix. Say so — don't loop on auth. |
| darc / Maestro (BAR) | .NET team membership (all-FTE) | Build the rollback file from the public dotnet/maui branch (Rollback.in.json + Versions.props) and ask the user for microsoft.net.sdk.maui explicitly. |
Detect before routing:
az account show >/dev/null 2>&1 && echo "az: signed in" || echo "az: not signed in"
pwsh scripts/Get-DotNetReleaseStatus.ps1 | head -3 # leading lines name the source actually used
If the release output is headed "Public release data", treat the session as external: skip
devdiv and darc entirely, and target only shipped/announced releases. Unshipped previews are
internal-only — don't imply they're obtainable.
Most requests are a subset of this. Adapt to what the user asked for.
dotnet{N} / dotnet-public.New-WorkloadRollbackFile.ps1 from the maui branch, with -MauiVersion/overrides).<MauiVersion> + the feature group the user is testing
(Directory.Build.props or .csproj), plus VS Code / VS settings at the correct scope.dotnet workload list, dotnet restore/build, code --list-extensions.scripts/)Get-AzdoArtifact.ps1 — resolve + download any AzDO artifact (whole zip / single file /
list), public or devdiv-authenticated; -Extract, -FlattenNupkg. Powers capabilities 2 & 5.New-WorkloadRollbackFile.ps1 — build a rollback JSON from a dotnet/maui branch's
Rollback.in.json + Versions.props, with -Band / -MauiVersion / -Override. Capability 3.Get-DotNetReleaseStatus.ps1 + ReleaseTrackerApi.ps1 — bundled .NET Release Tracker
(capability 1). Needs az login. If the standalone dotnet-release-tracker plugin is
installed, you may use it instead — same API.Get-AzdoArtifact.ps1 and New-WorkloadRollbackFile.ps1 emit a one-line [SKILL_SUMMARY] {json}
with structured results — reason over that, don't just echo it. (The bundled release-tracker
script prints human-readable release blocks instead of a summary line; parse those directly.)
az token, done automatically when az is present) vs
devdiv/DevDiv (private, always needs an az token; resource
499b84ac-1321-427f-aa17-267ca6975798).dotnet{N} (N = major, e.g. dotnet11) on dnceng/public.{ "manifest.id": "version/sdk-band" }; the microsoft.net.sdk.maui
version is only knowable from the CI build (supply it explicitly).<MauiVersion> is the single source of truth — the SDK pins all MAUI package refs to it.
Any explicit MAUI PackageReference must use Version="$(MauiVersion)", never a literal
(project-properties.md).MauiXamlInflator=SourceGen,
MauiXamlHotReload=SourceGen, EnableMauiIncrementalHotReload=true. Keep UseMonoRuntime=false
everywhere — Mono on iOS is unsupported in .NET 11 (NETSDK1242), superseding the old P5
"iOS HR needs Mono" guidance (project-properties.md).<MauiVersion> (download-builds.md).az token for the feed's org (resource
499b84ac-…) or a Packaging-read PAT; wire via packageSourceCredentials, never commit it
(nuget-config.md).csharp.experimental.debug.hotReload / csharp.debug.hotReloadVerbosity
are machine-scoped → User settings.json; verbosity value is singular "diagnostic".dotnet restore/workload list shows the intended versions, stop reconfiguring.For the agent: If this skill was used during the session and you or the user
encountered friction — unexpected failures, stale guidance, repeated workarounds, or
unclear routing — you may offer a brief skill-quality review at a natural stopping
point (on task completion, before /clear, or when the user asks what to do next):
"This session used maui-preview-helper. Want me to capture privacy-safe feedback for the skill author using
skill-reflect?"
If the user says yes, invoke the skill-reflect skill. Pass this skill's identity
so attribution is exact — the nudge carries context. Include the skill name (and
optionally its source repo) when invoking:
Run skill-reflect. Skill used this session: maui-preview-helper (source repo: Redth/maui-skillz).
Rules — never deviate:
skill-reflect runs only on the
user's explicit yes.skill-reflect.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub redth/maui-skillz --plugin maui-skillz6 skills in this plugin
/android-slim-bindingsCreate and update slim/native platform interop bindings for Android in .NET MAUI and .NET for Android projects. Guides through creating Java/Kotlin wrappers, configuring Gradle projects, resolving Maven dependencies, generating C# bindings, and integrating native Android libraries using the Native Library Interop (NLI) approach. Use when asked about Android bindings, AAR/JAR integration, Kotlin interop, Maven dependencies, or bridging native Android SDKs to .NET./dotnet-workload-infoDiscover .NET SDK versions, workload sets, workload manifest versions, and platform dependencies from live .NET metadata and NuGet feeds. USE FOR: Xcode or JDK requirements, Android SDK packages, MAUI package versions, prerelease workloads, custom NuGet sources, pinned workload set versions, and manifest version lookups. DO NOT USE FOR: writing release-notes markdown itself (use maui-release-notes), app troubleshooting, or binding work. FOR SINGLE OPERATIONS: answer the version/dependency question directly without producing docs. INVOKES: curl, dotnet, unzip, jq./ios-slim-bindingsCreate and update slim/native platform interop bindings for iOS in .NET MAUI and .NET for iOS projects. Guides through creating Swift/Objective-C wrappers, configuring Xcode projects, generating C# API definitions, and integrating native iOS libraries using the Native Library Interop (NLI) approach. Use when asked about iOS bindings, xcframework integration, Swift interop, Objective Sharpie, or bridging native iOS SDKs to .NET./maui-release-notesGenerate or update .NET MAUI workload release notes markdown from live workload and manifest data. USE FOR: MAUI workload release notes, version rollup docs, custom NuGet feeds, prerelease or unpublished workload packages, pinned workload set or manifest versions, and release-note index updates. DO NOT USE FOR: simple workload/version questions without documentation output (use dotnet-workload-info), app release notes, or non-MAUI release summaries. FOR SINGLE OPERATIONS: if the user only needs version/package data, use dotnet-workload-info and do not edit the notes. INVOKES: dotnet-workload-info skill./skill-reflectUse this skill to reflect on the skills I used this session, review this session for skill feedback, how did the skills perform, improve the skills I just used, capture skill friction from this session, check which skills had problems, give feedback on the skills I used, review skill performance, surface skill issues from today's work. Do not use for static SKILL.md audits, code/PR/CI/architecture reviews, or pre-use eval authoring.
Other plugins' skills for the same job