microsoft/winappcli/winapp-manifest
Claude Code and agent skill by microsoft/winappcli
- vendor
Checking that the SKILL.md file is still in the repository.
Create 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.
Install
npx vskill@latest install microsoft/winappcli/winapp-manifestSKILL.md
The same SKILL.md was published earlier as microsoft/winappcli/winapp-manifest.
If you can't run `winapp` yourself (no shell, or the command is denied), give the user the exact winapp command(s) for their project instead of only describing the steps.
When to use
Use this skill when:
- Creating `Package.appxmanifest` for a project that doesn't have one yet
- Generating app icon assets from a single source image
- Understanding manifest structure for package identity and capabilities
Prerequisites
- winapp CLI installed
- Optional: a source image (PNG or SVG, at least 400x400 pixels) for custom app icons
Key concepts
`Package.appxmanifest` is the key prerequisite for most winapp commands — it's more important than winapp.yaml. It declares:
- Package identity — name, publisher, version
- App entry point — which executable to launch
- Capabilities — what the app can access (internet, file system, etc.)
- Visual assets — icons for Start menu, taskbar, installers
- Extensions — share target, startup tasks, file associations, etc.
Two manifest templates:
- `packaged` (default) — for full MSIX distribution
- `sparse` — for desktop apps that need package identity without full MSIX containment (uses
AllowExternalContent)
`winapp init` also generates a manifest as part of full project setup. Use winapp manifest generate when you only need the manifest without SDK setup or winapp.yaml.
Usage
Generate a new manifest
Output:
Package.appxmanifest— the manifest fileAssets/— default app icons in required sizes (Square44x44Logo, Square150x150Logo, Wide310x150Logo, etc.)
Update app icons from a source image
The source image should be at least 400x400 pixels (PNG or SVG recommended). The command reads the manifest to determine which asset sizes are needed and generates:
- 5 scale variants per asset (100%, 125%, 150%, 200%, 400%)
- 14 plated + 14 unplated targetsize variants for the app icon (44x44)
- app.ico — multi-resolution ICO file for shell integration. If an existing
.icofile is present in the assets directory, it is replaced in-place (preserving the original filename) - With
--light-image: light theme variants using the correct MRT qualifiers per asset type
Add an execution alias
Execution aliases let users launch the app by typing its name in a terminal (e.g. myapp).
This adds a uap5:AppExecutionAlias extension to the manifest. If the alias already exists, the command reports it and exits successfully.
When combined with `winapp run --with-alias` or theWinAppRunUseExecutionAliasMSBuild property, this enables apps to run in the current terminal with inherited stdin/stdout/stderr instead of opening a new window.
Manifest structure overview
A typical Package.appxmanifest looks like:
Key fields to edit:
Identity.Name— unique package name (no spaces)Identity.Publisher— must match your certificate exactlyApplication.Executable— your app's exe filenameCapabilities— add capabilities as needed (internetClient,broadFileSystemAccess, etc.)
Tips
- Always ensure
Identity.Publishermatches your signing certificate — usewinapp cert generate --manifestto auto-match - The
sparsetemplate adds a<uap10:AllowExternalContent>true</uap10:AllowExternalContent>element (under<Properties>) for apps that need identity but run outside the MSIX container - You can manually edit
Package.appxmanifestafter generation — it's a standard XML file - Image assets must match the paths referenced in the manifest —
update-assetshandles this automatically - For logos, transparent PNGs or SVGs work best. SVG source images are rendered as vectors directly at each target size, producing pixel-perfect results. Use a square image for best results across all sizes.
- `$targetnametoken$` placeholder: When
winapp manifest generatecreatesPackage.appxmanifest, it setsApplication.Executableto$targetnametoken$.exeby default. This is a valid placeholder that gets automatically resolved bywinapp package --executable <name>at packaging time — you rarely need to override it during manifest generation. If--executableis provided towinapp manifest generate, winapp readsFileVersionInfofrom the actual exe to auto-fill package name, description, publisher, and extract an icon, so the exe must already exist on disk.
Related skills
- After generating a manifest, see
winapp-signingfor certificate setup andwinapp-packageto create the MSIX installer - Not sure which command to use? See
winapp-troubleshootfor a command selection flowchart
Troubleshooting
| Error | Cause | Solution | |
|---|---|---|---|
| "Manifest already exists" | Package.appxmanifest present | Use --if-exists overwrite to replace, or edit existing file directly | |
| "Invalid source image" | Image too small or wrong format | Use PNG or SVG, at least 400x400 pixels | |
| "Publisher mismatch" during packaging | Manifest publisher ≠ cert publisher | Edit Identity.Publisher in manifest, or regenerate cert with --manifest |
CLI reference
Run winapp <command> --help for current command options, or winapp --cli-schema for the complete machine-readable command schema.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files. Certified 27 Oct 2026.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/winapp/skills/winapp-manifest/SKILL.md
Popularity
- Repository stars
- 1,290
- Repository forks
- 84
- 7-day trend score
- 36
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoft/winappcli/winapp-manifest)