Skip to content

[MVUX][Navigation][Docs][MCP] MCP Agents should not be used for developing MVUX Models, especially not alongside with Extensions Navigation! #2992

Open

Description

@DevTKSS

What would you like clarification on

Where: https://platform.uno/docs/articles/external/uno.extensions/doc/Learn/Mvux/Overview.html?tabs=viewmodel%2Cmodel#view

I am tired of constantly repeating my Instructions (even when written in copilot-instructions.md 👀 ) for my Mvux + Navigation Extensions using apps and the Docs could also get some important Remarks / Information for new Uno Dev's to avoid running into this sort of issues:

**Could the MCP teching team please add those information to the Agent Instructions?

I am no Prompt Engineer ;) this here is only a summary of what I commonly need to repeat 5x per Day 🥴

  • ALLWAYS prefer for Binding Szenarios via Command's over EventHandlers, via Xaml to the Methods/Properties in the Model instead of Codebehind, where applicable.
    IMPORTANT!:
    • You may not find the generated MyViewModel Definition. This is not important for your Work proceeding, you don't need to lookup this.

    • You will prefer Binding from Command/Property over x:Bind except from your Binding is UI internal (Control -> Control) and not Binding to the underlying Model

    • When working in VS2026 IDE in is having a known issue which causes wrong linted x:Bind as "unknown MarkupExtension", assume this as not the case, as long as you can find the regular xmlns x: defined on top of the Xaml file. The known syntax did not change. You MUST request the Uno docs MCP tools for guidance on how you can and should be using x:Bind in Uno Platform Apps.

    • Your approach for this (in this order!):

      1. The Interaction in UI is including User Input like Keyboard Interactions -> Request Uno Docs MCP for how to cleanly integrate this with MVUX (=> could the Uno Team please instruct it for this specifically recognizing before listed Issues with using the unrelyable DataContext and we can not use the this.GetServiceProvider() please? 👀 )
      2. Check the Controls API for a already available <MyControl>.Command and (if you need Data transported) the .CommandParameter Property.
        IMPORTANT:
      • Some Control API might describe this ICommand Property differently Named, in doubt lookup the Type of those Props with partial name containing *Command!
      • Facing a ListViewBase implementing Control like ListView you MUST not use ItemClickedCommand, then will use utu:CommandExtensions instead, to avoid best Support for all Target Platforms
      1. The Control is not covered by 1. AND my app is using (or allowed to become using - default: allowed) the Uno.Toolkit ("Toolkit" in UnoFeatures)

      2. You MUST ask the Uno MCP Docs Tools, about its support for <OtherControl utu:CommandExtensions ( out of the Box) for which Property will automatically provided through the utu:CommandExtensions.CommandParameter . E.g. for Selection Supporting Controls, this is commonly the SelectedItem. in this case, you will NOT need to define this Parameter Binding future and can move to your next step in work.

      3. If utu:CommandExtensions.CommandParameter doesn't have future implementation for this control, you will Bind the Parameter in Xaml to the Property which value you need to be transfered, IF this is a DependencyProperty on the Control!

      4. Only if the previously listed Cases are not applicable, you may use Codebehind + Events

**Instructions that it also always forgets about, as soon as MVUX comes in the game:

  • You MUST keep the View / (generated + untouch-able) ViewModel / (Data Layer) Model + evtl. Service and used "Model" representing Entity Types for e.g. immutable Data-Transport (similar to IOptions -> T) Layers clearly seperated and adhere to common coding Standards like DRY + SOLID + Clean Code + SoC.
  • I will refer to "Model", when speaking about the Mvux used MyModel to create the MyViewModel
  • If you are creating ContentDialog Definitions or (Inheriting from any other UI Control, not limited to CustomControl) assume this can also get a Model like a Page, so you MUST also register it in the RegisterRoutes like such.

Concern?

  • Usage in industry
  • Clarification of capabilities
  • Getting started with Uno
  • Developing with Uno
  • Contributing to the Uno project
  • Publishing your application
  • Support
  • Other (please specify): Stable Applications, No sudden Exceptions coming from underlying Navigation implementation problems

For which Platform

  • iOS
  • macOS (AppKit)
  • Mac Catalyst
  • Android
  • WebAssembly
  • Windows
  • Skia (WPF)
  • Skia (GTK on Linux/macOS/Windows)
  • Skia (Linux Framebuffer)
  • Build tasks
  • Development with Uno Platform Studio MCP Tools

Anything else we need to know?

Activity

  1. added
    kind/consumer-experience
    kind/documentation
    triage/untriaged
    on Dec 21, 2025
  2. DevTKSS commented on Jan 9, 2026

    @DevTKSS
    ContributorAuthor

    @Jen-Uno FYI
    not sure if you want to have it here, since the MCP knowledge strongly missing is coming from this repo here, or if you want to transfer it to the Studio Repo, but maybe you or the Studio Team want to take a look onto this, because those are many of the problems someone like me (MVUX + Uno Extensions Navigation + Xaml Uno App User) is facing while (trying to) developing with the Uno MCP's 🙁

    currently, I would not be able to recommend:

    • using them for Mvux at all

      • MCP docs search/fetch for MVUX seems to
      • Agent only knows about the .Empty(...) and .Value(...) initializers, but is not properly introduced in Existance and Usage of Operators!
        • .Selection(...)
        • .ForEach(...) *especially lacking knowledge on properly handling its Callback in case of existing code!
    • (thinking of my Santa App tryes) should not try having them build a Uno app from a Single Prompt + start with a brand new Templated Uno App:

      • Using Uno.Extensions.Navigation this ends up in Black Screen because it always attempts to modify the Shell
      • Agent Creating Pages results in not longer open-able pages after closing it:
      Image

      I am unable to tell you (reproducable) situations that are not causing this issue. My first guess has been its because of the MS:Compile automatically added Tag in csproj, but even if I first check and remove any of them before allowing the agent to build my app, this happens still 🤔

      Would still be interested in the expected workflow or workaround for this 🤔

      • delete the file? 🤷 I would not know how to fix them...
      • not longer use VS202* for this app? VS Code is still able to open such files in most cases
  3. DevTKSS commented on Jan 12, 2026

    @DevTKSS
    ContributorAuthor

    So yes, as you see all the issues we have with the current docs for the MCPs and the resulting issues when using both Extensions in the same app, it absolutly makes sense, in my Opinion, to have the Navigation Docs include seperated tabs for Mvux + Mvvm:

    @Jen-Uno FYI. Hope we can improve both, Docs and MCP-using-Agents in the future beneath the pure benefit for those Users on Consumer side with low to none MVVM pre-knowledge, which should be the primary Docs target audience. Yes, when knowing MVUX longer at any point in the future, its more clear how to transfer our knowledge, but when Uno presents MVUX as alternative to MVVM, we should not make the Assumption to know this just because "it's almost the same" and our Samples and Guides in the Docs should have both aproaches included. E.g. the Dialogs Tabs can show you what I mean with "MVUX and MVVM are not the same just similar": https://platform.uno/docs/articles/features/dialogs.html?tabs=mvvm%2Cxaml
    but the target should become to provide this tabbed content for fluentles working with Navigation Framework from Uno 👍

  4. DevTKSS commented on Mar 13, 2026

    @DevTKSS
    ContributorAuthor

    Hello @Jen-Uno & @jeromelaban @kazo0 : I would just like to bring this Problem and Limitations back into Mind and Attention of the Team please.
    Sorry if sounding a bit rude in OP, from User/Consumer side it's just very frustrating seeing Uno advertise their "great" AI Toolset and their improvements, but on User Side, every time attempting to use it (HD Agent & MCP's for mentioned topics), the actual result with using e.g. OpenAI GPT 5.4 Model, it's not only breaking my Uno App before and at runtime (HR & HD) then also not capable of developing anything more MVUX Statemanagement Props/Callbacks then setting the Value (and 50% of the time not even this along following Uno's Documented conventions ! ). Attempting to use something like Selection ForEach or UpdateAsnc etc. should (until the MCP is a lot better be NOT recommended to MCP Users to be attempted to used and marked as limited/no MCP support.
    And No, I did not use/try Models like Opus 4.5/4.6. It can not be your honest recommendation/solution for this, to the normal users, to use x3 Multiplyer , when the "normal" <=1x Multiplyer Models shows clear lack of knowledge findings in the MCP already!

    Just honest feedback, but Potentially you want to inform the Webinar/Uno own Content creators too, that from User side, correctness is commonly preferenced from us, over "pretty words" for toolset capabilities?👍
    Reference for this: On the last Webinar I attended (End of 2025 with the Holiday Contest) I strongly remember @francoistanguay told in the YouTube Live chat and @kazo0 the contest before, that from Uno side, there is no Problem using and doing the contests (our development resulting of this too), with MVUX + Uno MCP's, and I even attempted to "just" use Mvvm as potentially better known tool from the regular AI, but not even this was anything near flawless useable.

    I would like you (Uno Team) to know too, that its not about beeing rude, then a User and OSS Contributor I would be really happy to be again able to show-and-tell, helping you to spread the word even future and support this great OSS Project and its tools provided, but as you might recognized, the ongoing issues () making it up from HD public release really really hard for me to do so filter them out, up to contantly having to Work-around them for Content Creation to not show this problems around instead.

    Also, the PR review improvement Capabilities: Even if your Team would "just" react by comments, when beeing mentioned in issues/PR's, could you evaluate letting us Uno-External Contributors or even Users know about eventual still missing informations, progress, updated blocking issues or maybe something like a estimated time/version you potentially plan to tackle this?
    That would be really awesome and bring lot's more transparency to those like me, who are currently kind of "left alone" or not hear anything again, only seeing very rare progress for months and years already.

    The "stale" Issue / PR Bot should potentially not be seen as a "Solution" by having it "just close" Issues/PR's, which are awaiting response of the team. Other repos do make use of bots, relabeling then again to anything like "awaits response of maintainer" or whatever, that would potentially help the team then again, for filtering stuff to response?
    The fewest Problems are solved/fixed by putting it into a box and putting the cover back on it. 😓

  5. changed the title [-][MVUX][Navigation][Docs][MCP] Add information to make the MCP Agents aware of NOT use MVUX Models in the codebehind, especially not alongside with Extensions Navigation![/-] [+][MVUX][Navigation][Docs][MCP] MCP Agents should not be used for developing MVUX Models, especially not alongside with Extensions Navigation![/+] on Mar 13, 2026
  6. kazo0 commented on Mar 14, 2026

    @kazo0
    Contributor

    @DevTKSS Thanks for the feedback! We are actively looking into multiple avenues for ensuring reliability and enforcing proper patterns and practices when it comes to agentic development for Uno applications, including all of the first-party libraries in the ecosystem.

    I'd like to better understand your workflow with AI and our MCP servers and try some things out with you to see what we can improve. I sent you a message on Discord if you want to connect :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/consumer-experiencekind/documentationtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions