Skip to content

Add WinUI to the Claude/OpenClaw catalog and move WinUI skill script tests - #1007

Merged
Nikola Metulev (nmetulev) merged 2 commits into
mainfrom
nmetulev-winui-openclaw-catalog-and-tests
Oct 7, 2026
Merged

Nikola Metulev (nmetulev) merged 2 commits into
mainfrom
nmetulev-winui-openclaw-catalog-and-tests

Conversation

@nmetulev

Copy link
Copy Markdown
Member

Part of moving the WinUI plugin's source of truth from microsoft/win-dev-skills to this repo (follow-up to #976). No file under plugins/ changes.

What changed

  • .claude-plugin/marketplace.json: adds a winui entry with source: ./plugins/winui. OpenClaw reads this file, and remote OpenClaw catalogs accept only relative paths inside the same repo. The entry has no version, so generate-llm-docs.ps1/validate-llm-docs.ps1 (which stamp/check every "version" in the file) leave it alone and hosts read 0.7.1 from plugins/winui/.claude-plugin/plugin.json.
  • scripts/tests/: copies Test-SessionBuildClassification.ps1, Test-WinuiUiTestingSandbox.ps1, Test-SetupVersionDetection.ps1 from win-dev-skills@2e8c902e unchanged. The relative layout (scripts/tests -> plugins/winui) is the same, so no path edits were needed. They aren't *.Tests.ps1, so the existing Pester run doesn't pick them up.
  • plugin-check.yml: new winui-tests job on windows-latest that runs the three scripts when plugins/winui/**, those tests or the workflow change. Otherwise it skips quickly.

OpenClaw evidence (source-level)

From openclaw v2026.9.8 src/plugins/marketplace.ts:

  • --marketplace owner/repo shallow-clones the repo, then reads .claude-plugin/marketplace.json (falling back to a root marketplace.json).
  • Remote catalogs reject the whole file if any entry is not a relative path inside the repo (remote marketplaces may not use github plugin sources).
  • Entries are matched by name. version is metadata only.

plugins/winui is byte-identical to win-dev-skills v0.7.1, where index.js + openclaw.plugin.json + package.json already installed as Format: openclaw. Install command after merge:

openclaw plugins install winui --marketplace microsoft/winappCli

I couldn't run the real install here: Microsoft's npm feed blocks the openclaw package by policy (PolicyOverride), so I didn't work around it.

Which hosts see winui in this repo's catalogs

  • Claude Code: yes, as winui@winappcli (reads .claude-plugin/marketplace.json). This adds a second install route next to winui@win-dev-skills.
  • OpenClaw: yes (reads the same file).
  • Copilot CLI: no. It reads .github/plugin/marketplace.json, which is unchanged. I checked this with an isolated COPILOT_HOME: marketplace browse winappcli lists only winappcli.
  • Codex: no (this repo has no .agents/plugins/marketplace.json).

Validation

  • scripts/validate-plugin-package.ps1: passes (only the existing description-length warnings).
  • All three WinUI tests pass locally on both LF and CRLF checkouts.

…tests

- .claude-plugin/marketplace.json: add a winui entry (source ./plugins/winui) so
  'openclaw plugins install winui --marketplace microsoft/winappCli' works. The
  entry omits version so the CLI version sync leaves winui at its own 0.7.1.
- scripts/tests: copy the three WinUI skill script tests from
  microsoft/win-dev-skills@2e8c902e unchanged (same relative layout).
- plugin-check.yml: run them on windows-latest when plugins/winui or the tests change.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Build Metrics Report

Validation passed. All required build and validation jobs succeeded.

Binary Sizes

Artifact Baseline Current Delta
CLI (ARM64) 57.42 MB 57.42 MB ✅ 0.0 KB (0.00%)
CLI (x64) 57.46 MB 57.46 MB ✅ 0.0 KB (0.00%)
MSIX (ARM64) 23.86 MB 23.86 MB 📈 +0.2 KB (+0.00%)
MSIX (x64) 25.32 MB 25.32 MB 📈 +0.4 KB (+0.00%)
NPM Package 49.76 MB 49.76 MB 📈 +0.4 KB (+0.00%)
NuGet Package 49.86 MB 49.86 MB 📈 +0.6 KB (+0.00%)

.NET Test Results (TRX reports)

Other suites are reflected in the overall validation status above.

✅ 8062 passed, 37 skipped out of 8099 tests in 1434.5s (+196.7s vs. baseline)

Test Coverage

✅ 86.4% line coverage, 81% branch coverage · ✅ no change vs. baseline

CLI Startup Time

63ms median (x64, winapp --version) · ✅ no change vs. baseline

Try This Build

Installs the MSIX for your architecture, replacing any previously installed build. Needs the GitHub CLI — the command offers to install it and sign you in if it is missing.

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/microsoft/winappCli/main/scripts/winapp-pr.ps1))) 1007
Switching between builds often?

Put the tool on your PATH once:

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/microsoft/winappCli/main/scripts/winapp-pr.ps1))) -AddToPath

Then this build is just:

winapp-pr 1007

Run winapp-pr with no arguments to pick from a list of open PRs.


Updated 2026-10-07 01:39:23 UTC · commit 9f01bef · workflow run

@nmetulev
Nikola Metulev (nmetulev) marked this pull request as ready for review October 7, 2026 00:55
Copilot AI balanced review requested due to automatic review settings October 7, 2026 00:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

The new catalog installation route still lacks end-to-end host verification.

Review effort: Balanced
Findings: None

What changed in this PR

Adds a WinUI installation route through this repository’s Claude/OpenClaw catalog and brings its existing regression tests into CI, continuing the plugin migration from win-dev-skills.

Changes:

  • Adds the winui catalog entry without modifying plugin contents.
  • Imports three WinUI regression scripts unchanged.
  • Adds a Windows CI job that runs them when relevant files change.
File Description
scripts/​tests/​Test-WinuiUiTestingSandbox.ps1 Tests UI examples, routing, and failure handling.
scripts/​tests/​Test-SetupVersionDetection.ps1 Tests setup version detection.
scripts/​tests/​Test-SessionBuildClassification.ps1 Tests build classification and report statistics.
.github/​workflows/​plugin-check.yml Runs WinUI regression scripts for relevant changes.
.claude-plugin/​marketplace.json Registers the local WinUI plugin source.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@nmetulev
Nikola Metulev (nmetulev) merged commit c6eb914 into main Oct 7, 2026
39 checks passed
@nmetulev
Nikola Metulev (nmetulev) deleted the nmetulev-winui-openclaw-catalog-and-tests branch October 7, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants