Repository navigation
fix(uno-build-app): keep the default MVUX and Uno Navigation stack; allow -platforms for named targets - #173
Merged
Conversation
…s for named targets In a FieldCheck run (skill-ab fieldcheck-20261006-140139, A1) the agent scaffolded the MVUX template as new-app.md says, then, trimming it to the brief's two targets, rewrote the .csproj with UnoFeatures reduced to SkiaRenderer and hand-wrote a code-behind app with no models, no host and its own navigator. It never wrote the blueprint and never loaded uno-mvux or uno-navigation. - new-app.md: when the brief names its targets, pass them with -platforms (last, since it takes every value after it) instead of trimming by hand. Verified on Uno.Templates 6.7.30. - new-app.md: keep every UnoFeatures entry and the App.xaml.cs host, registration and routes; delete samples, not features. Dropping MVUX, Navigation, Hosting or Toolkit needs an explicit instruction, and a brief that leaves the architecture open is not one. - SKILL.md: rule 7 covers feature removals and simplifying a scaffold; the blueprint comes before any app source; a new app loads uno-mvux before its first model and uno-navigation before its first route. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015uM85zVmAj8ykKZEWV4KEr
…ot just in features In skill-ab runs with the previous fix, agents kept the template's UnoFeatures but wrote INotifyPropertyChanged view models and their own navigator, deciding before loading uno-mvux or uno-navigation. One reasoned that pruning features was "my call as the developer". - Blueprint: load uno-mvux and uno-navigation before filling it in; the template's Stack line no longer offers MVVM as a peer of MVUX. - Define the developer as the person whose request is being carried out. - new-app.md: say what MVUX and Uno Navigation mean in code, that an open brief or "your choice" gets this stack, and that size, effort or perceived complexity are not reasons to pick another. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015uM85zVmAj8ykKZEWV4KEr
This was referenced Oct 7, 2026
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.
PR Type
What is the current behavior?
In FieldCheck skill-ab runs (a six-screen app from a functional spec, Android and Windows (Desktop) targets),
uno-build-appscaffolds the recommended MVUX template, and then the agent strips it:main, all three runs removedMVUX,Navigation,Hostingand most otherUnoFeaturesright after scaffolding, wrote their own view models and navigation, and wrote no blueprint.uno-mvuxoruno-navigationis loaded, because MVUX and regions look risky or complex: "skip MVUX in favor of plain MVVM for simplicity… build my own lightweight navigation service". The blueprint template offeredMVUX / MVVMas equal choices.new-app.mdsaid never to pass-platforms, so a brief that names its targets got the four default targets, and agents removed the extras by editing the project.What is the new behavior?
Commit 1 (
06e2817): keep the template's architecture; allow-platformsUnoFeaturesentry to make a check pass or to simplify a scaffold.new-app.md: keep everyUnoFeaturesentry and the host and route wiring the template sets up.-platformsis documented (verified with Uno.Templates 6.7.30:-platforms android desktopgivesnet10.0-android,net10.0-desktopand plainnet10.0with the same features). It must come last because it takes every value after it, and it is used only when the brief names its targets.Commit 2 (
7c37f02): make the stack MVUX and Uno Navigation in code, not just in the project filemain(3 runs each) kept the features in 2 of 3 runs, but no run on either side wrote an MVUX model or navigated withINavigator. One run reasoned that "pruning unused dependencies is my call as the developer".uno-mvuxanduno-navigationbefore the blueprint is filled in.new-app.mdsays what the stack means in code:<Name>Modelwith feeds, states and commands;RegisterRoutes,INavigator,uen:Navigation.Request; regions for tabs, which keep each tab's state. It also says:MVUX, Uno.Extensions Navigation, and another choice must say who asked for it.skills/mirrors the plugin's skill.Test-Plugin.ps1andagentskills validatepass.PR Checklist
Additional Information
Commit 2 has not yet been measured. The FieldCheck prompt also told the agent the architecture was its choice, which the skill defers to, so the A/B above understates any skill change; that line is being removed in the harness repo. A rerun of
mainagainst this branch follows once that change is merged.🤖 Generated with Claude Code
https://claude.ai/code/session_015uM85zVmAj8ykKZEWV4KEr