Agent skill

dotnet-maui-doctor

Diagnoses and fixes .NET MAUI development environment issues. Validates .NET SDK, workloads, Java JDK, Android SDK, Xcode, and Windows SDK. All version requirements discovered dynamically from NuGet WorkloadDependencies.json — never hardcoded. Use when: setting up MAUI development, build errors mentioning SDK/workload/JDK/Android, "Android SDK not found", "Java version" errors, "Xcode not found", environment verification after updates, or any MAUI toolchain issues. Do not use for: non-MAUI .NET projects, Xamarin.Forms apps, runtime app crashes unrelated to environment setup, or app store publi

dotnetgithub.com/dotnetGitHub ↗
claude-codeMIT
Install
npx skills add dotnet/skills --skill dotnet-maui-doctor --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 12
SKILL.md size: 9 KB
Bundled scripts: none
Path: plugins/dotnet-maui/skills/dotnet-maui-doctor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 4,927
Language: C#
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# .NET MAUI Doctor Validate and fix .NET MAUI development environments. All version requirements are discovered dynamically from NuGet APIs — never hardcode versions. ## When to Use - Setting up a new .NET MAUI development environment - Build errors mentioning missing SDKs, workloads, JDK, or Android components - Errors like "Android SDK not found", "Java version", or "Xcode not found" - Verifying environment health after SDK or OS updates ## When Not to Use - Non-MAUI .NET projects (use standard .NET SDK troubleshooting instead) - Xamarin.Forms apps (different toolchain and workload requirements) - Runtime app crashes unrelated to environment setup - App store publishing or signing issues - IDE-specific issues (Visual Studio or VS Code configuration) ## Important: .NET Version Currency Your training data may be outdated regarding .NET versions. .NET ships new major releases annually (November). Always check the releases-index.json (Task 2) to discover the **latest active major release** — do not assume your training data reflects the current version. For example, if you know about .NET 9.0 but the releases index shows .NET 10.0 as active, use .NET 10.0. ## Inputs - A development m

What's inside
Steps it walks through
  1. When to Use
  2. When Not to Use
  3. Important: .NET Version Currency
  4. Inputs
  5. Behavior
  6. Workflow
  7. Task 1: Detect Environment
  8. Task 2: Check .NET SDK
  9. Task 3: Check MAUI Workloads
  10. Task 4: Discover Requirements from NuGet
  11. Task 5: Validate Java JDK
  12. Task 6: Validate Android SDK
  13. Task 7: Validate Xcode (macOS Only)
  14. Task 8: Validate Windows SDK (Windows Only)
Ships with 11 files
  • references/installation-commands-macos.md
  • references/installation-commands-windows.md
  • references/installation-commands.md
  • references/microsoft-openjdk.md
  • references/platform-requirements-linux.md
  • references/platform-requirements-macos.md
  • references/platform-requirements-windows.md
  • references/troubleshooting-macos.md
  • references/troubleshooting-windows.md
  • references/troubleshooting.md
  • references/workload-dependencies-discovery.md
Commands it runs
macOS
sw_vers && uname -m
Windows
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
Linux
cat /etc/os-release && uname -m
dotnet --info
xcodebuild -version
dotnet new maui -o "$TEMP_DIR/MauiTest"
dotnet build "$TEMP_DIR/MauiTest"
More from skills
All skills →
About this skill
What does the dotnet-maui-doctor skill do?

Diagnoses and fixes .NET MAUI development environment issues. Validates .NET SDK, workloads, Java JDK, Android SDK, Xcode, and Windows SDK. All version requirements discovered dynamically from NuGet WorkloadDependencies.json — never hardcoded. Use when: setting up MAUI development, build errors mentioning SDK/workload/JDK/Android, "Android SDK not found", "Java version" errors, "Xcode not found", environment verification after updates, or any MAUI toolchain issues. Do not use for: non-MAUI .NET projects, Xamarin.Forms apps, runtime app crashes unrelated to environment setup, or app store publi

How do I install it?

Run `npx skills add dotnet/skills --skill dotnet-maui-doctor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From dotnet/skills, a repository with 4,927 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going