/winappcli:winapp-askfrom winappcli
Searches Microsoft Learn docs and WinUI samples together for Windows app API prerequisites, desktop integration, packaging concepts, or UI guidance. Use when building Windows apps and samples alone may not explain the feature.
Ships in winappcli. 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.
If you cannot run winapp, give the user the exact command.
winapp ask "how do I add a jump list?" --json
Every question is sent to Microsoft Learn. Do not send secrets or private project text. Use winapp find-ui instead when the question must not leave the machine. See the ask reference for privacy, sources, limits, and exit codes.
Read matches for WinUI sample choices and docs for official documentation links and plain-text excerpts. The command returns search results, not a generated answer. Use the returned evidence to answer the question; do not claim a sample match alone verifies API support in the user's project.
ask is a search box, not a chat prompt. Long questions take longer to search and usually exceed the docs timeout, which returns samples but no docs. Keep each query to one feature in about 3 to 10 words:
WinUI 3 app notifications unpackaged.AppInstance FindOrRegisterForKey redirect activation.| Instead of | Run |
|---|---|
| The user's whole request for a notes app with a custom title bar, notifications, and a save picker | Three queries: WinUI 3 custom title bar search box, WinUI 3 app notifications unpackaged, FileSavePicker WinUI 3 window handle |
how do I make it so when someone opens my app a second time it doesn't open another window | WinUI 3 single instance redirect activation |
If docs time out, shorten the query and try once more. Do not repeat an unchanged query.
Identify the project's framework, SDK version, and whether it has package identity before writing queries, so each query includes the context that changes the answer.
For several independent features, plan one focused query per feature before coding. Run the separate commands in parallel when your tools support it; otherwise run them sequentially. For example, title bar and file picker research can start together. Each invocation accepts one question; do not combine unrelated questions into one broad query or invent batch flags.
Keep follow-up searches that depend on earlier evidence sequential. If the first page identifies an API or prerequisite you did not know about, read it before choosing the next query. Check each command's source errors separately.
Read both sources before coding. A WinForms, WPF, or Win32 result is not a drop-in WinUI implementation; choose documentation that applies to the existing framework and SDK rather than changing the project to fit a search hit.
Excerpts are at most 400 characters. They help you pick a page, but often leave out setup or lifecycle requirements. Open the relevant returned Learn link with an available documentation or web tool when you need those details. If you cannot read the page, state that limit; do not claim the full documentation confirms the implementation.
Fetch a selected sample's full code with its returned scenario ID. For example, if the matches include gallery-tabview-1:
winapp find-ui --id gallery-tabview-1 --json
Use winapp-find-api when you need to verify exact API names or members against the project's SDK. Adapt the evidence to the existing app, then build and check the requested behavior. A successful build alone does not prove that a picker opens, a notification arrives, or another Windows feature works at runtime.
If the results do not address the feature, try a more focused public query that names the framework or API. Do not substitute an unrelated result for missing evidence.
Check docsError and samplesError even on exit code 0. A source can fail while the other still returns useful results. An empty array without its error field means no matches, not a network failure.
Never present sample results as documentation when docs are unavailable.
For exact options, run winapp ask --help.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
15 skills in this plugin
/winapp-find-apiFix CS1061, CS0117, CS0246 and WMC0011 errors by checking Windows, WinRT and Windows App SDK types, members and enums with winapp find-api. Load for missing or unknown APIs before editing code, and verify API names against the project's references or installed SDKs. Not for registry code./winapp-find-uiFind the right WinUI 3 control and a real, compiling sample from the WinUI Gallery or Community Toolkit with winapp find-ui. Use when building WinUI UI and unsure which control fits (cards, tabs, swipe lists, inline messages) or when asked for a sample. Not for WPF, WinForms, or a running app./winapp-frameworksFramework-specific Windows steps for Electron, WPF, WinForms, C++, Rust, Flutter, and Tauri: build output, npm scripts, Cargo, CMake, and how winapp fits each. Use when adding Windows features such as toast notifications to one of these apps, or for setup, packaging, or identity work on one./winapp-identityGive a desktop app (WPF, WinForms, Electron, C++, Rust) package identity so identity-only Windows APIs work: push notifications, background tasks, share target, startup tasks. Use when adding such a feature, running or debugging with identity, or running parallel worktrees side by side./winapp-manifestCreate or edit Package.appxmanifest or appxmanifest.xml for any app type (GUI, console, service): execution aliases, file associations, protocols, capabilities, identity, app icons/tiles from one image. Use when changing what the manifest declares or replacing icons. Not for packaging or signing./winapp-mauiPackage and sign .NET MAUI Windows apps with winapp: publish the Windows head first, then point packaging at the resolved resizetizer manifest. Use for a MAUI MSIX or signed unpackaged build, MAUI packaging in CI, or 'manifest contains unresolved placeholders' errors from winapp package.npx claudepluginhub microsoft/winappcli --plugin winappcliOther plugins' skills for the same job