Agent skill

Winapp CLI

by boshi-xixixi in boshi-xixixi/TraeSkill

Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications.

MITAuto-check passedMobile

Install Winapp CLI

skills CLI
$ npx skills add boshi-xixixi/TraeSkill --skill winapp-cli -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install boshi-xixixi/TraeSkill winapp-cli --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/Skills/.agents/skills/winapp-cli .claude/skills/winapp-cli && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
winapp-cli
GitHub stars
275
Token cost
~1.9k tokens
SKILL.md length
659 words
Files
2 (incl. references)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications.

  • Works in 6 steps: Initialize the project in your app… → Generate a dev signing certificate —… → Build your app with the framework's own… → …
  • Asked to initialize Windows app projects
  • SKILL.md covers Prerequisites, Commands, Workflow and Gotchas, plus 2 more sections
  • Calls npx, npm and winget

What it does

Winapp CLI is an agent skill from boshi-xixixi/TraeSkill. Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications. Use when asked to initialize Windows app projects, create MSIX packages, manage AppxManifest.xml or development certificates, run an app as packaged for debugging, automate Windows UI via Microsoft UI Automation, publish to the Microsoft Store, or access Windows SDK build tools. Covers commands like init, pack, run, unregister, manifest, cert, sign, store, ui, and tool. Supports .NET (csproj)…

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/ui-json-envelope.md`).

It sits in Mobile, covering Cross-platform mobile apps and Debugging. It works with Flutter, Tauri, C++ and Rust. The repository describes itself as: 为 Trae IDE 打造的全流程标准化 AI 开发技能库,内置调度分发与多角色研发技能,一键导入规范 AI 编码工作流 🚀. The licence is MIT.

When your agent uses it

  • Asked to initialize Windows app projects
  • Create MSIX packages
  • Manage AppxManifest.xml
  • Development certificates

Example prompts

  • “Use the winapp-cli skill to window App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications”
  • “/winapp-cli”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Initialize the project in your app folder. Sets up SDK refs, manifest, and winapp.yaml (.csproj projects skip the YAML and configure NuGet…
  2. Generate a dev signing certificate — required for sideloading. init no longer creates one for non-.csproj projects (v0.2.0+). Pin the…
  3. Build your app with the framework's own toolchain (dotnet build, npm run build, cargo build, etc.).
  4. Package as MSIX, signing with the cert from step 2.
  5. (Optional) Re-sign with a production cert before distribution.
  6. (Optional) Submit to the Microsoft Store with winapp store … (wraps the Store Developer CLI).

What it can do on your machine

Read from SKILL.md and the folder at commit 9cf38e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • npm
    • winget
    • node
    • dotnet
    • cargo

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • learn.microsoft.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Winapp CLI loads about 1.9k tokens when it runs, and up to ~2.5k if it reads all its reference files. Until then it costs about 149 tokens; SKILL.md has 659 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~149
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from boshi-xixixi/TraeSkill at commit 9cf38e6, republished under its MIT licence (© boshi-xixixi). 659 words, ~1,915 tokens.

Download SKILL.mdSave it as .claude/skills/winapp-cli/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
winapp-cli
description
Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications. Use when asked to initialize Windows app projects, create MSIX packages, manage AppxManifest.xml or development certificates, run an app as packaged for debugging, automate Windows UI via Microsoft UI Automation, publish to the Microsoft Store, or access Windows SDK build tools. Covers commands like init, pack, run, unregister, manifest, cert, sign, store, ui, and tool. Supports .NET (csproj), C++, Electron, Rust, Tauri, Flutter, and other Windows frameworks.

Windows App Development CLI

winapp manages Windows SDKs, MSIX packaging, app identity, manifests, certificates, signing, store publishing, and UI automation for any framework targeting Windows (.NET/csproj, C++, Electron, Rust, Tauri, Flutter, etc.). Public preview — subject to change.

Prerequisites

  • Windows 10 or later
  • Install via one of:
    • WinGet: winget install Microsoft.WinAppCli --source winget
    • npm (Electron/Node): npm install @microsoft/winappcli --save-dev
    • CI: setup-WinAppCli GitHub Action
    • Manual: GitHub Releases

Commands

CommandPurpose
initInitialize project: SDKs (stable/preview/experimental/none), manifest, winapp.yaml. .csproj projects skip winapp.yaml and use NuGet directly. Does not auto-generate a cert (v0.2.0+).
restore / updateRestore or update SDK package versions (--setup-sdks preview for preview SDKs).
pack <dir>Build MSIX. Flags: --generate-cert, --cert <pfx> --cert-password, --self-contained (bundles WinAppSDK runtime), --output. Auto-discovers third-party WinRT components from .winmd (v0.2.1+).
run <dir> [-- <app args>]Pack as loose layout and launch as packaged app — ideal for IDE F5 debugging without producing an MSIX. Supports -- arg passthrough (v0.3.1+). (v0.3.0+)
create-debug-identity <exe>Add sparse package identity to an exe so it can call identity-gated APIs (notifications, Windows AI, shell integration) without full packaging.
unregisterRemove sideloaded dev packages registered by run / create-debug-identity.
manifestGenerate AppxManifest.xml; supports placeholders and qualified names. manifest update-assets <image> generates all required icon sizes from one source (PNG or SVG, v0.2.1+).
cert generate / install / infoManage dev certs. cert info <pfx> --password <pwd> shows subject/issuer/validity. --export-cer exports the public key. --json available on generate and info. (v0.2.1+)
sign <target> --cert <pfx>Sign MSIX or exe; optional timestamp server.
toolRun Windows SDK build tools with paths configured.
storeRun Microsoft Store Developer CLI for store submission/validation/publishing.
create-external-catalogGenerate CodeIntegrityExternal.cat for TrustedLaunch sparse packages.
ui list-windows / inspect / click / search / wait-for / get-focusedUI automation via Microsoft UI Automation. All support --json. JSON envelopes for inspect, get-focused, search, and wait-for changed in v0.3.1 — see references/ui-json-envelope.md (other ui subcommands keep their pre-0.3.1 output). (v0.3.0+)
node create-addon / add-electron-debug-identity / clear-electron-debug-identityElectron/Node helpers. All commands also exposed as typed JS/TS functions from @microsoft/winappcli (v0.2.1+).

CI tip: pass --no-prompt to skip interactive prompts.

Workflow

Standard init → package flow:

  1. Initialize the project in your app folder. Sets up SDK refs, manifest, and winapp.yaml (.csproj projects skip the YAML and configure NuGet directly).

    bash
    winapp init        # add --no-prompt in CI
  2. Generate a dev signing certificate — required for sideloading. init no longer creates one for non-.csproj projects (v0.2.0+). Pin the output path so later steps can reference it.

    bash
    winapp cert generate --publisher "CN=My Company" --output ./mycert.pfx --install
  3. Build your app with the framework's own toolchain (dotnet build, npm run build, cargo build, etc.).

  4. Package as MSIX, signing with the cert from step 2.

    bash
    winapp pack ./build-output --cert ./mycert.pfx --cert-password password --output MyApp.msix
  5. (Optional) Re-sign with a production cert before distribution.

    bash
    winapp sign MyApp.msix --cert ./prod.pfx --cert-password $env:CERT_PWD
  6. (Optional) Submit to the Microsoft Store with winapp store … (wraps the Store Developer CLI).

Show full SKILL.md (248 more words)Show less
Alternate flows
  • Debug identity-gated APIs without packaging (notifications, Windows AI, shell):

    bash
    winapp create-debug-identity ./bin/MyApp.exe
    ./bin/MyApp.exe
  • Run as packaged app for IDE F5 (loose layout; app args after --):

    bash
    winapp run ./bin/Debug/net10.0-windows10.0.26100.0/win-x64 \
      --manifest ./appxmanifest.xml -- --my-flag value
  • Electron:

    bash
    npx winapp init
    npx winapp node add-electron-debug-identity
    npx winapp pack ./out --output MyElectronApp.msix

Gotchas

  • winapp ui --json envelope reshaped in v0.3.1 — ui inspect, ui get-focused, ui search, and ui wait-for use new shapes; per-element id / parentSelector / windowHandle are removed (use selector). Full schemas in references/ui-json-envelope.md.
  • winapp init no longer auto-generates a certificate (v0.2.0+) — run winapp cert generate explicitly. The old --no-cert flag was removed.
  • .csproj projects skip winapp.yaml — SDK packages live in the project file. Hybrid setups need adjustment.
  • NuGet global cache, not %userprofile%/.winapp/packages (v0.2.0+) — scripts depending on the old folder will break.
  • Re-run create-debug-identity after any manifest change — identity is bound at registration time.

Troubleshooting

IssueFix
Certificate not trustedwinapp cert install <pfx> to add to local machine store
Identity-gated API failsRe-run create-debug-identity after manifest changes
SDK not foundwinapp restore or winapp update
run / create-debug-identity registration error 0x800704ECDeveloper Mode is off — enable it in Settings → Privacy & security → For developers (or Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock' -Name AllowDevelopmentWithoutDevLicense -Value 1), then retry
run / create-debug-identity registration error 0x80073CFBPackage already registered with a conflicting identity — run winapp unregister (or winapp unregister --force if registered from a different project tree), then retry

References

© boshi-xixixi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .trae/Skills/.agents/skills/winapp-cli of boshi-xixixi/TraeSkill.

  • SKILL.md
  • references/ui-json-envelope.md

Open the folder on GitHubat commit 9cf38e6

Compare with similar skills

Winapp CLI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Winapp CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Winapp CLI this skillboshi-xixixi/TraeSkill275—~1.9kAutomated safety check: PassMIT
Frb Develop Featurefzyzcjy/flutter_rust_bridge5.4k—~2.3kAutomated safety check: PassMIT
Frb Issue To Green PRfzyzcjy/flutter_rust_bridge5.4k—~1.8kAutomated safety check: PassMIT
Frb Add Contributorfzyzcjy/flutter_rust_bridge5.4k—~1.6kAutomated safety check: PassMIT
Core API Changelibnativeapi/nativeapi161—~2.5kAutomated safety check: PassMIT
Frb Prepare PRfzyzcjy/flutter_rust_bridge5.4k—~998Automated safety check: PassMIT

Similar skills

  • Frb Develop Feature

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when fixing bugs, adding regression tests, adding new features, when compilation is slow, or when learning twin test naming conventions in flutterrustbridge

    5.4k GitHub stars~2.3k tokensUpdated yesterday
    MobileAuto-check passed
  • Frb Issue To Green PR

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when implementing a GitHub issue, bug fix, or feature in flutterrustbridge end-to-end: develop the change, add regression coverage, prepare and open a PR, and use the user's…

    5.4k GitHub stars~1.8k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Frb Add Contributor

    fzyzcjy/flutter_rust_bridge

    Add or reconcile flutterrustbridge contributors through all-contributors PRs.

    5.4k GitHub stars~1.6k tokensUpdated yesterday
    MobileAuto-check passed
  • Core API Change

    libnativeapi/nativeapi

    Carry a change to the C++ public API in core/ all the way downstream — design check, header edit, six platform implementations, C ABI + Rust/Dart/C/JS/Python regeneration, per-binding verification…

    161 GitHub stars~2.5k tokensUpdated yesterday
    MobileAuto-check passed
  • Frb Prepare PR

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when about to create a PR or push changes in flutterrustbridge to ensure code generation is up to date

    5.4k GitHub stars~998 tokensUpdated yesterday
    MobileAuto-check passed
  • Frb Publish Release

    fzyzcjy/flutter_rust_bridge

    Publish a flutterrustbridge release end to end: preflight checks, changelog preparation, frbinternal release publishing, released-version polling, CI babysitting, and post-release CI verification.

    5.4k GitHub stars~2.9k tokensUpdated yesterday
    MobileAuto-check passed

More from boshi-xixixi/TraeSkill

All 16 skills in this repo
  • AI Team Orchestration

    boshi-xixixi/TraeSkill

    Bootstrap and run a multi-agent AI development team. An agent skill from boshi-xixixi/TraeSkill.

    275 GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Arize Instrumentation

    boshi-xixixi/TraeSkill

    INVOKE THIS SKILL when adding Arize AX tracing or observability to an app for the first time, or when the user wants to instrument their LLM app or get started with LLM observability.

    275 GitHub stars~5.1k tokensUpdated 4 mo ago
    Auto-check: notes
  • Dotnet MCP Builder

    boshi-xixixi/TraeSkill

    Build Model Context Protocol (MCP) servers in C/.NET against the current ModelContextProtocol 1.x NuGet packages.

    275 GitHub stars~1.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Skill Creator

    boshi-xixixi/TraeSkill

    当用户需要创建新 Skill 或更新现有 Skill 时使用。此 Skill 提供技能创建的完整工作流指导,包括需求分析、编写规范、工程化构建、质量评估和迭代优化。

    275 GitHub stars~3.9k tokensUpdated 4 mo ago
    Auto-check passed
  • Trae Project Setup

    boshi-xixixi/TraeSkill

    Trae 项目规范化配置专家。用于快速初始化 Trae 项目配置文件、生成项目规则、用户偏好设置和 Skill 模板。当用户需要:(1) 初始化新项目的 Trae 配置 (2) 生成 .trae 目录结构 (3) 创建 USERPREFERENCES.md 用户偏好文件 (4) 创建 projectrules.md 项目规则文件 (5) 创建新的 Skill 模板 时使用此 Skill。

    275 GitHub stars~708 tokensUpdated 4 mo ago
    Auto-check: notes
  • Web Coder

    boshi-xixixi/TraeSkill

    Expert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards.

    275 GitHub starsUsed in 1 repo~5.2k tokens
    Auto-check passed

Questions about Winapp CLI

What does Winapp CLI do?

Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications. Winapp CLI is an agent skill from boshi-xixixi/TraeSkill. Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications.

When should I use Winapp CLI?

Winapp CLI fits situations like: asked to initialize Windows app projects; create MSIX packages; manage AppxManifest.xml; development certificates.

How do I install Winapp CLI in Claude Code?

Run `npx skills add boshi-xixixi/TraeSkill --skill winapp-cli -a claude-code`. Or copy the skill folder (.trae/Skills/.agents/skills/winapp-cli in boshi-xixixi/TraeSkill) into .claude/skills/winapp-cli in your project. Claude Code loads it when a task matches its description.

How do I install Winapp CLI in Codex?

Run `npx skills add boshi-xixixi/TraeSkill --skill winapp-cli -a codex`. Or copy the skill folder (.trae/Skills/.agents/skills/winapp-cli in boshi-xixixi/TraeSkill) into .agents/skills/winapp-cli in your project. Codex loads it when a task matches its description.

Can I use Winapp CLI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add boshi-xixixi/TraeSkill --skill winapp-cli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/winapp-cli, .gemini/skills/winapp-cli, .github/skills/winapp-cli and .opencode/skills/winapp-cli in your project.

What does Winapp CLI need to run?

Going by SKILL.md and its folder, Winapp CLI needs the command-line tools its instructions call (npx, npm, winget, node, dotnet and cargo). Our summary lists: Node.js.

Does Winapp CLI access the network?

SKILL.md names 2 domains. As links in the text: github.com and learn.microsoft.com. This is read from the text; nothing was executed.

Is Winapp CLI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Winapp CLI use?

Winapp CLI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Winapp CLI use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 604 tokens, read only when the agent opens those files.

What are the alternatives to Winapp CLI?

Skills that share tags, products or a category with Winapp CLI: Frb Develop Feature (fzyzcjy/flutter_rust_bridge, 5.4k stars), Frb Issue To Green PR (fzyzcjy/flutter_rust_bridge, 5.4k stars), Frb Add Contributor (fzyzcjy/flutter_rust_bridge, 5.4k stars) and Core API Change (libnativeapi/nativeapi, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Winapp CLI?

boshi-xixixi (a GitHub user) maintains it in boshi-xixixi/TraeSkill, which has 275 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on May 12, 2026.

Source: boshi-xixixi/TraeSkill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.