Skip to content

feat(skills): version the plugin with the Uno.Sdk minor and verify all content against 7.0.0-dev.77 - #192

Merged
kazo0 merged 4 commits into
mainfrom
ci/uno-sdk-metadata
Oct 15, 2026
Merged

kazo0 merged 4 commits into
mainfrom
ci/uno-sdk-metadata

Conversation

@kazo0

@kazo0 kazo0 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): n/a (internal)

PR Type

  • Feature
  • Build or CI related changes
  • Documentation content changes

What is the current behavior?

Skills don't say which Uno.Sdk they were written for, and nothing stops a plugin release from describing APIs that no stable Uno.Sdk ships. The content was last checked against Uno.Sdk 6.7.30 / 6.8 dev builds in places, and not at all in others.

What is the new behavior?

Commit 1: ci(release), a per-skill SDK key (superseded by commit 4)

This commit added metadata.uno-sdk to every SKILL.md and a release script that rewrote -dev values to the matching stable. Commit 4 removes both in favour of versioning the plugin with the Uno.Sdk minor. Nothing from commit 1 survives in the final tree.

Commit 2: feat(skills), a full content sweep against Uno.Sdk 7.0.0-dev.77

Ground truth was the packages that Uno.Sdk 7.0.0-dev.77 pins:

Package Version
Uno 7.0.0-dev.2332
Uno.Extensions 8.0.0-dev.85
Uno.Toolkit 11.0.0-dev.142
Uno.Themes 9.0.0-dev.42
C# Markup 7.0.0-dev.33
Uno.Templates 7.0.0-dev.77

Each claim was handled one of three ways:

  • Names (types, members, attached properties, style and brush keys, UnoFeatures, template switches): checked against public-API and compiled-XAML-key dumps of 51 assemblies, diffed against the 6.7.30 set.
  • Snippets: built -f net10.0-desktop in apps generated from the 7.0 templates.
  • Runtime behavior: marked unverified unless it was observed.
Skill Claims Confirmed Changed Unverified (runtime) Wrong, not fixed
uno-build-app + uno-platform 56 41 4 10 1
uno-mvux 56 42 4 8 0
uno-navigation 50 33 3 20 0
uno-toolkit 157 108 20 27 1
uno-themes ~63 47 7 9 0
uno-testing 63 45 4 12 1

In uno-navigation, 8 claims compile but have a runtime half nobody observed, so they count as both confirmed and unverified.

The commit message lists the fixes. Some edits rest on weaker evidence than a dump line or a build:

  • Toolkit source at the build's commit: NavigationBar's XAML content property is PrimaryCommands, and VisualStateManagerExtensions logs a warning instead of failing silently.
  • Description strings of the Uno.UI.App.Mcp 2.0.0-dev.14 tools: all of uno-testing's tool-behavior edits. The App MCP couldn't attach to an app outside the session's workspace.

The Windows Release accessibility-tree path in without-app-mcp.md was exercised for real.

Commit 3: fix(skills), a second sweep and a hook fix

A second pass re-checked commit 2's claims against the same pinned packages, plus App MCP 2.0.0-dev.14 and the DevServer CLI source. All of commit 2's claims held. This pass fixes what it missed:

  • uno-mvux: SetAsync exists only for struct, nullable-struct and string states. FeedView also has UndefinedTemplate.
  • uno-themes: seeds leave the four Error* colours at their base values. Two stale TypefacePlain hedges are gone.
  • uno-navigation: a missing StaticResource key resolves to null on WebAssembly and Skia; the XamlParseException appears only on Windows. A non-Grid visibility region logs nothing.
  • uno-toolkit:
    • FlexPanel has no min-content floor, so children can shrink to 0. This settles the "items flooring at content size" suspicion below.
    • The FlexPanel docs pages exist.
    • The lightweight-styling example keys are Material-only.
    • The Sdk feature is SimpleTheme, not Simple.
  • uno-testing:
    • The resolutionKind to issue-code mapping is fixed.
    • ListViewItem offers invoke when IsItemClickEnabled is set.
    • A UNOHR0001 rude edit recovers by undo.
    • uno_app_type_text focuses the element before typing.
    • The screenshot path error string is fixed.
    • On Android, resource-id carries the AutomationId from Uno.WinUI 7.0.0-dev.2332. This is not checked on a device yet.
  • uno-build-app: uno_health is the uno MCP server's report (status, toolCount, issues). The template's test project builds with warning UNOB0025.
  • hooks/hot-reload-edit.sh: the 7.0 DevServer CLI exits 0 for noChanges, superseded and ignored too, not only for applied. The hook used to tell the agent "the app now runs this edit" for an ignored file. It now branches on the verdict word, and exit 4 (still on its way) asks for a status call. Smoke-tested with a fake CLI for every exit code and verdict.

Commit 4: ci(release), version the plugin with the Uno.Sdk minor it targets

The plugin version now tracks the Uno.Sdk it is built for. Plugin 7.0.<patch> targets Uno.Sdk 7.0, and release/stable/7.0 is that line, so the branch name is the pin.

  • version.json moves from 2.0-dev to 7.0-dev. The next release is 7.0.0, not 2.0.0.
  • Test-Plugin.ps1 checks that the major.minor in version.json is an Uno.Sdk line published on NuGet. -dev builds count, so main can target an unreleased SDK.
  • release.yml refuses to ship while that Uno.Sdk line has no stable release on NuGet.
  • The patch number stays the plugin's own and does not follow Uno.Sdk patches.
  • The per-skill metadata.uno-sdk key and Set-UnoSdkVersion.ps1 are removed. One fact lived in 14 files, and nothing at runtime reads skill metadata.

Consequence: no plugin release can ship until Uno.Sdk 7.0 has a stable release. Today NuGet lists 30 Uno.Sdk 7.0 builds and none of them is stable.

For the release notes: the plugin jumps from 1.1 to 7.0. Users should read that as "now numbered after Uno.Sdk", not as skipped majors.

Open decisions (wrong, not fixed)

  1. uno-platform/SKILL.md:39 says the docs MCP is "version-correct". The docs follow stable releases and main, not dev builds.
  2. Coordinate space of uno_app_pointer_click. The skill says snapshot units relative to the window; the 2.0.0-dev.14 tool says absolute physical screen coordinates. This needs a live App MCP run.
  3. FlexPanel FlexMinWidth vs MinWidth. The decompiled layout code combines them, which contradicts flexpanel.md:58. This needs a layout test.

Found in the 7.0 dev build itself (not skill bugs)

  • The template's sample unit test fails on the plain net10.0 target with DllNotFoundException: icuuc77, thrown from the generated ICU initializer.
    • A workaround that worked (not put in the skill): set SkipIcuDataInitializerGenerator=true for net10.0 and add <CompilerVisibleProperty Include="SkipIcuDataInitializerGenerator" />.
  • SkiaRenderer, NativeRenderer and Lottie are no longer in the UnoFeatures schema, but the template still writes SkiaRenderer (and Lottie for the blank preset).
  • dotnet new unoapp -preset blank -nav regions -toolkit silently leaves out the Navigation feature.
  • The Material template's App.xaml sets the obsolete ColorOverrideSource.
  • FontOverrideDictionary="{x:Null}" on the theme in App.xaml fails with UXAML0001.

New in 7.0 with no skill coverage yet

  • GridExtensions.Auto (Toolkit 11)
  • ControlExtensions.IconWidth / IconHeight (Themes)
  • MVUX mocks in Uno.HotTesting.Reactive: FeedMock, ListFeedMock, CommandMock, MockingService
  • -theme cupertino
Unverified passages (runtime behavior not observed on 7.0.0-dev.77)
  • uno-build-app / uno-platform:
    • Hot Reload indicator and Hot Design button behavior (uno-platform/SKILL.md:29, new-app.md:33).
    • dotnet new install and uno-check.
    • Visibility regions keeping tab pages alive (new-app.md:8).
    • External doc URLs and the WCAG thresholds.
    • uno_health output and the App MCP tool names.
    • MSB3027/MSB3021 on a locked output.
    • MVUX wrappers needing several dispatcher turns.
  • uno-mvux:
    • The [Obsolete] on Update exists in Debug builds only.
    • Updaters must be pure.
    • Without key equality, an edit becomes a remove plus an add.
    • FeedView state transitions.
    • Feeds don't cache and states do.
    • DesiredSize is null on the first page.
    • ListView incremental loading and selection sync.
  • uno-navigation:
    • What an unregistered route does, and a bare UseNavigation().
    • Where Region.Attached may go.
    • Panel-visibility and FrameView details.
    • ContentControl content is replaced, not pushed.
    • What -/, -, !, ./ and !back do to the back stack.
    • Dialog result values, and flyout vs modal.
    • The built-in Settings item never syncs selection.
    • The XamlParseException text for a missing style key.
    • The responsive 1008px threshold.
    • Navigation.Request working on any element with Click or Tapped.
    • The new no-shell route registration (it compiles only).
  • uno-toolkit:
    • Input focus-next and keyboard dismiss.
    • LoadingView content showing while busy.
    • NavigationBar MainCommandMode back behavior.
    • Progress extensions on descendants.
    • The ResponsiveExtension element-form rule and its default breakpoints.
    • SafeArea SoftInput and keyboard behavior.
    • Segmented-control look.
    • Pips staying in sync.
    • ShadowContainer semantics.
    • StatusBar icon colors.
    • Badges in Material styles only.
    • Re-clicking a selected tab.
    • VisualStateManagerExtensions parsing.
    • ZoomContentControl gestures.
    • FlexPanel gaps, axis and grow/shrink behavior. Suspect: items flooring at content size, and ScrollViewer children flooring at 0.
    • AutoLayout can't wrap.
    • Card stretching.
    • Drawer light dismiss.
    • The "renders unstyled without an explicit style" claim. Suspect: a default style probably applies.
  • uno-themes:
    • Seed-generated roles.
    • All brushes following a palette change.
    • Removed font keys silently ignored.
    • The variable-font requirement.
    • Customization precedence.
    • The contrast rationale.
    • Which controls consume the icon attached properties.
  • uno-testing:
    • Workspace error codes and the licence-to-tool mapping.
    • Timing figures.
    • Peer default actions and pattern letters.
    • find_elements output layout.
    • Whether intervalInMs is required.
    • Hot Design opening on first launch.
    • The Android and macOS rows of without-app-mcp.md.
    • List-count and dialog-detection heuristics.

PR Checklist

  • Documentation has been added/updated (plugin README, Releasing section)
  • Associated with an issue (GitHub or internal)

Additional Information

Test-Plugin.ps1 passes on each commit on its own. agentskills validate and claude plugin validate --strict passed on commits 1 to 3. The final tree has no frontmatter changes against main. No reference file newly crosses the 6,000-character budget.

The new release gate in release.yml was simulated against NuGet in PowerShell: it blocks 7.0, allows 6.0 and blocks a non-existent 9.9. The jq expression itself has not run yet, since jq is not installed on the dev box; the first release run on the Ubuntu runner will exercise it. Setting version.json to 9.9 makes Test-Plugin.ps1 fail with the new error.

🤖 Generated with Claude Code

https://claude.ai/code/session_0165DA8ixCB2HJRocCyML3TZ

kazo0 and others added 4 commits October 14, 2026 17:22
…se only on a stable one

Every SKILL.md now carries `metadata.uno-sdk`, the Uno.Sdk version the skill
was built against. On main it may be a -dev build, so skills can cover APIs
that have not shipped. Test-Plugin.ps1 fails when the key is missing or the
version is not published on NuGet.

When a release is published, Set-UnoSdkVersion.ps1 moves every -dev value to
the newest stable Uno.Sdk of the same major.minor, and fails while that minor
has no stable release, so a plugin release never targets an SDK users cannot
install. Stable values are left as they are, so a patch release keeps its SDK.

All skills start at 7.0.0-dev.77.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DuaY1yBzt85XnZF2f66jVk
… what changed

Each claim was checked against the packages Uno.Sdk 7.0.0-dev.77 pins (Uno
7.0.0-dev.2332, Uno.Extensions 8.0.0-dev.85, Uno.Toolkit 11.0.0-dev.142,
Uno.Themes 9.0.0-dev.42, C# Markup 7.0.0-dev.33, Uno.Templates 7.0.0-dev.77):
names against the public API and compiled XAML resource keys of each
assembly, snippets by building them in apps generated from the 7.0
templates.

- uno-toolkit: FlexPanel ships in Toolkit 11; LayoutDirection and
  FlexPositionType.Static do not exist and Direction defaults to Row (0).
  NavigationBar is drawn in XAML on every platform (the native presenter is
  gone). The Toolkit feature brings Uno.Toolkit.Skia.WinUI on Skia heads.
  The C# Markup setup is Resources.Build(...) in App.xaml.cs. SafeArea lists
  VisibleBounds, All and None; UnoSplashScreen takes BackgroundColor.
- uno-navigation: the shell templates' "" root and ShellModel exist only in
  an app created with -shell, which is off by default.
- uno-mvux: IListFeed<T> has no SelectAsync; UpdateItemAsync without key
  equality fails with CS0453; TwoWay x:Bind to a generated ViewModel fails
  with UXAML0001 and a public page property of that type with CS0400.
- uno-themes: targets Uno.Themes 9.0; DefaultSpacing defaults to 8;
  SeedColorMode is on 8.0+; Simple FAB key mapping and RippleStyle added.
- uno-testing: uno_app_start launches a second instance instead of stopping
  the running one; uno_app_restart exists; find_elements reports control
  state; the Windows accessibility-tree path is re-checked on 7.0.
- uno-build-app: new-app.md re-verified on Uno.Templates 7.0.0-dev.77,
  including its sample test failing with an icuuc77 DllNotFoundException;
  -platforms no longer needs to come last.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01DuaY1yBzt85XnZF2f66jVk
… for the 7.0 CLI exit codes

Re-verified every skill against the packages Uno.Sdk 7.0.0-dev.77 pins
(decompiled assemblies, Sdk targets, Uno.Templates 7.0.0-dev.77 output,
App MCP 2.0.0-dev.14 and DevServer CLI sources). The first sweep's claims
all held; this pass fixes what it missed:

- uno-mvux: SetAsync exists only for struct, nullable-struct and string
  states; FeedView also has UndefinedTemplate.
- uno-themes: seeds leave the four Error* colours at their base values;
  the migration page no longer recommends TypefacePlain.
- uno-navigation: a missing StaticResource key resolves to null on
  WebAssembly/Skia (the XamlParseException is Windows-only); a non-Grid
  visibility region logs nothing.
- uno-toolkit: FlexPanel has no min-content floor (children shrink to 0);
  the FlexPanel docs pages exist; the lightweight-styling example keys
  are Material-only; the Sdk feature is SimpleTheme, not Simple.
- uno-testing: resolutionKind to issue-code mapping; ListViewItem offers
  invoke with IsItemClickEnabled; UNOHR0001 rude edits recover by undo;
  uno_app_type_text focuses; the path error string; Android resource-id
  carries AutomationId since Uno.WinUI 7.0.0-dev.2332 (not device-checked).
- uno-build-app: uno_health is the uno MCP server's report (status,
  toolCount, issues); the test project builds with UNOB0025.
- hooks: the 7.0 CLI exits 0 for no changes, superseded and ignored too,
  so the hook now tells them apart by the verdict word, and exit 4
  (still on its way) asks for a status call instead of the reminder.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01V7ataJH5uodHixLngB9Tbm
… targets

Plugin 7.0.<patch> targets Uno.Sdk 7.0, so the release branch name is the
pin. The per-skill metadata.uno-sdk key and Set-UnoSdkVersion.ps1 go away:
Test-Plugin.ps1 checks that version.json names an Uno.Sdk line published on
NuGet, and the Release workflow refuses to ship until that line has a stable
release. The next release becomes 7.0.0 instead of 2.0.0.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_0165DA8ixCB2HJRocCyML3TZ
@kazo0 kazo0 changed the title feat(skills): pin each skill to the Uno.Sdk it targets and verify all content against 7.0.0-dev.77 feat(skills): version the plugin with the Uno.Sdk minor and verify all content against 7.0.0-dev.77 Oct 15, 2026
@kazo0
kazo0 merged commit 471ef25 into main Oct 15, 2026
4 checks passed
@kazo0
kazo0 deleted the ci/uno-sdk-metadata branch October 15, 2026 01:32
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.

1 participant