Repository navigation
feat(skills): version the plugin with the Uno.Sdk minor and verify all content against 7.0.0-dev.77 - #192
Merged
Conversation
…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
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Issue (If applicable): n/a (internal)
PR Type
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-sdkto everySKILL.mdand a release script that rewrote-devvalues 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.77Ground truth was the packages that Uno.Sdk 7.0.0-dev.77 pins:
Each claim was handled one of three ways:
UnoFeatures, template switches): checked against public-API and compiled-XAML-key dumps of 51 assemblies, diffed against the 6.7.30 set.-f net10.0-desktopin apps generated from the 7.0 templates.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:
NavigationBar's XAML content property isPrimaryCommands, and VisualStateManagerExtensions logs a warning instead of failing silently.Uno.UI.App.Mcp2.0.0-dev.14 tools: all ofuno-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.mdwas exercised for real.Commit 3:
fix(skills), a second sweep and a hook fixA 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:
SetAsyncexists only for struct, nullable-struct andstringstates.FeedViewalso hasUndefinedTemplate.Error*colours at their base values. Two staleTypefacePlainhedges are gone.StaticResourcekey resolves to null on WebAssembly and Skia; theXamlParseExceptionappears only on Windows. A non-Grid visibility region logs nothing.SimpleTheme, notSimple.resolutionKindto issue-code mapping is fixed.ListViewItemoffersinvokewhenIsItemClickEnabledis set.UNOHR0001rude edit recovers by undo.uno_app_type_textfocuses the element before typing.resource-idcarries theAutomationIdfrom Uno.WinUI 7.0.0-dev.2332. This is not checked on a device yet.uno_healthis theunoMCP 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 fornoChanges,supersededandignoredtoo, not only forapplied. 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 targetsThe plugin version now tracks the Uno.Sdk it is built for. Plugin
7.0.<patch>targets Uno.Sdk7.0, andrelease/stable/7.0is that line, so the branch name is the pin.version.jsonmoves from2.0-devto7.0-dev. The next release is7.0.0, not2.0.0.Test-Plugin.ps1checks that themajor.minorinversion.jsonis an Uno.Sdk line published on NuGet.-devbuilds count, somaincan target an unreleased SDK.release.ymlrefuses to ship while that Uno.Sdk line has no stable release on NuGet.metadata.uno-sdkkey andSet-UnoSdkVersion.ps1are removed. One fact lived in 14 files, and nothing at runtime reads skillmetadata.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.1to7.0. Users should read that as "now numbered after Uno.Sdk", not as skipped majors.Open decisions (wrong, not fixed)
uno-platform/SKILL.md:39says the docs MCP is "version-correct". The docs follow stable releases and main, not dev builds.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.FlexPanelFlexMinWidthvsMinWidth. The decompiled layout code combines them, which contradictsflexpanel.md:58. This needs a layout test.Found in the 7.0 dev build itself (not skill bugs)
net10.0target withDllNotFoundException: icuuc77, thrown from the generated ICU initializer.SkipIcuDataInitializerGenerator=truefornet10.0and add<CompilerVisibleProperty Include="SkipIcuDataInitializerGenerator" />.SkiaRenderer,NativeRendererandLottieare no longer in theUnoFeaturesschema, but the template still writesSkiaRenderer(andLottiefor the blank preset).dotnet new unoapp -preset blank -nav regions -toolkitsilently leaves out theNavigationfeature.App.xamlsets the obsoleteColorOverrideSource.FontOverrideDictionary="{x:Null}"on the theme inApp.xamlfails with UXAML0001.New in 7.0 with no skill coverage yet
GridExtensions.Auto(Toolkit 11)ControlExtensions.IconWidth/IconHeight(Themes)Uno.HotTesting.Reactive:FeedMock,ListFeedMock,CommandMock,MockingService-theme cupertinoUnverified passages (runtime behavior not observed on 7.0.0-dev.77)
uno-platform/SKILL.md:29,new-app.md:33).dotnet new installanduno-check.new-app.md:8).uno_healthoutput and the App MCP tool names.[Obsolete]onUpdateexists in Debug builds only.DesiredSizeis null on the first page.UseNavigation().Region.Attachedmay go.FrameViewdetails.ContentControlcontent is replaced, not pushed.-/,-,!,./and!backdo to the back stack.XamlParseExceptiontext for a missing style key.Navigation.Requestworking on any element with Click or Tapped.NavigationBarMainCommandModeback behavior.ResponsiveExtensionelement-form rule and its default breakpoints.SoftInputand keyboard behavior.ScrollViewerchildren flooring at 0.find_elementsoutput layout.intervalInMsis required.without-app-mcp.md.PR Checklist
Additional Information
Test-Plugin.ps1passes on each commit on its own.agentskills validateandclaude plugin validate --strictpassed on commits 1 to 3. The final tree has no frontmatter changes againstmain. No reference file newly crosses the 6,000-character budget.The new release gate in
release.ymlwas simulated against NuGet in PowerShell: it blocks 7.0, allows 6.0 and blocks a non-existent 9.9. Thejqexpression itself has not run yet, sincejqis not installed on the dev box; the first release run on the Ubuntu runner will exercise it. Settingversion.jsonto9.9makesTest-Plugin.ps1fail with the new error.🤖 Generated with Claude Code
https://claude.ai/code/session_0165DA8ixCB2HJRocCyML3TZ