/mateu:mateu-dotnetfrom Mateu
Builds Mateu UIs in C# on ASP.NET Core — classes marked [UI] become forms, CRUDs, listings, wizards, dashboards and an app shell, served on the Mateu wire for any Mateu renderer.
Ships in Mateu. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Mateu.NET emits the same wire as the Java server (POST /mateu/v3/sync/{route} → a
UIIncrement JSON), so the stock renderers (Vaadin web, Redwood, React Native, IntelliJ) draw a
C# backend unchanged. You write plain classes; never write controllers, DTOs or frontend code
for the UI. Java (@UI) → skill mateu; YAML pages/routes → skill mateu-yaml; Python →
mateu-python.
dotnet new web -n MyApp && cd MyApp
dotnet add package Mateu.AspNetCore # brings Mateu.Uidl, Mateu.Core, Mateu.Dtos
NuGet versions follow the Java release: v3.0.0 → 3.0.0 (a pre-release such as v3.1-rc.N → 3.1.0-rc.N needs --prerelease). Targets net10.0.
A class library holding only views references Mateu.Uidl alone.
// Program.cs
using System.Reflection;
using Mateu.AspNetCore;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddMateu(Assembly.GetExecutingAssembly()); // scans for [UI]/[App] classes
var app = builder.Build();
app.MapMateu(); // POST /mateu/v3/sync/{route}; MapMateu(ui: "...") also serves the page
app.Run("http://localhost:8080");
AddMateu(typeof(Program).Assembly, typeof(MyView).Assembly) —
otherwise their routes are silently not found.MATEU_UI (or MapMateu(ui: ...)) to the io.mateu:mateu-vaadin
jar of the same version (https://repo1.maven.org/maven2/io/mateu/mateu-vaadin/<v>/mateu-vaadin-<v>.jar)
or its extracted static/ folder. Without it the server answers the sync API only.starters/dotnet from https://github.com/miguelperezcolom/mateu.using System.ComponentModel.DataAnnotations;
using Mateu.Uidl;
[UI("signup-form"), Title("Sign up")]
public class SignupForm
{
[Required, Section("Identity")] public string Name { get; set; } = "";
[Required, EmailAddress] public string Email { get; set; } = "";
[ReadOnly] public string Greeting { get; set; } = "";
[Button("Say hi")]
public object Greet()
{
Greeting = $"Hi, {Name}";
return new object[] { this, new Message("Greeted") }; // re-render + toast
}
[Toolbar("Save", ButtonStyle = "primary")] public Message Save() => new($"Saved {Name}");
[Button] public string Cancel() => "/home"; // a route → navigate
}
Public properties are state/fields (type → control: string, int/long, double/decimal, bool,
DateOnly, DateTime, TimeOnly, enum → dropdown, List<Row> → grid). Methods are actions; the
JSON action id is the camelCased method name.
| Return | Effect |
|---|---|
void / null | nothing changes on screen |
this (or another routed [UI] view) | re-render in place with the new state |
new Message("…") / any other string | toast (MessageVariant.Error etc. for variants) |
"/route" (string starting with /) | navigate |
Drawer / Dialog | open an overlay; close with UICommandDto commands |
PageBanner(s) | banner(s) on the page |
new object[] { this, msg, … } | several effects in one answer |
[Button], [Toolbar], [Action] (no button) or [Fab], or one the view itself
advertises (a component's ActionId, [OnRowSelected], [SubscribeTo]). Anything else → 403.Crud<T>: Fetch is the only abstract member, but override Save and Delete — their
defaults refuse with "Not implemented". The id is the Id property, else mark it [Id].[Button]/[Toolbar] re-check validation ([Required], [Range]…) on the server.HttpContext.User (your ASP.NET auth).using System.ComponentModel; with Mateu.Uidl makes [ReadOnly] ambiguous — don't.Crud<T>, capability listings,
filters, drawer editing, database pushdown, exports.[App] shell + menu + home, wizards,
archetypes (Dashboard, Welcome, Foldout, ItemOverview, CollectionDetail…), fluent components.AddMateu options, identity,
secrets, errors, CORS, YAML specs, how C# differs from Java, xUnit tests.Canonical docs: https://mateu.io/csharp-user-manual/ · Rosetta (Java ↔ C# ↔ Python): https://mateu.io/reference/language-rosetta/ · Parity: https://mateu.io/reference/parity/
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub miguelperezcolom/mateu --plugin mateu8 skills in this plugin
/mateuBuild Mateu UI screens in JAVA — declarative @UI classes and fluent component trees that Mateu renders as a web (or native) UI. Use when creating or editing Java CRUD screens, forms, listings, wizards, editor/master-detail views, dashboards, app shells or federated UIs with Mateu (io.mateu). Triggers on @UI, AutoCrud, CrudStore, Listing, Wizard, Dashboard, ComponentTreeSupplier, @Menu. For YAML/data authoring use mateu-yaml; for C# use mateu-dotnet; for Python use mateu-python./mateu-federationWire a federated Mateu setup end to end — a shell app that aggregates several @UI modules by Maven (build-time, one deployment) or independent services by RemoteMenu over HTTP (runtime, true microservices). Use when building an app shell, microfrontends, service-owned UI modules, embedding a remote UI in a page, or composing several Mateu backends. Triggers on shell, @Menu, RemoteMenu, MicroFrontend, microfrontend, service-owned UI, compose backends./mateu-pythonBuild Mateu UIs in Python on FastAPI (package mateu-ui) — classes decorated @ui become forms, CRUDs, listings, wizards, dashboards and an app shell, served on the Mateu wire so any Mateu renderer draws them. Use when writing or fixing a Python Mateu app: add_mateu wiring, views, Annotated[...] field markers, actions, Crud[T], capability listings, @app/@menu_item menus, security, pytest. Triggers on @ui decorator, mateu_ui, mateu-ui on PyPI, add_mateu, Crud[...], Listing[...], @menu_item, MATEU_UI with .py files./mateu-runBuild, run and screenshot a Mateu app to see a screen actually render — Java (Spring Boot, Quarkus, Micronaut, Helidon), YAML-only, static bundle, .NET or Python. Use when asked to run a Mateu app, verify a screen renders in the real UI (not just tests), call the wire API, or capture a PNG of a route. Handles the UI-module → app build order and ships a Playwright screenshot script. Triggers on run the app, start the server, screenshot the screen, verify it renders, spring-boot:run, mateu/v3/sync./mateu-scaffoldScaffold a new Mateu project or module and wire the Java build correctly — the project generator front doors, the two-step annotation processing (indexer + framework AP), the renderer dependency and the main class. Use when starting a new Mateu app, adding a framework-agnostic @UI module, or fixing "my @UI class compiles but no controller is generated / the route 404s / nothing renders". Triggers on new Mateu project, pom.xml, annotationProcessorPaths, mateu-annotation-processor-indexer, mateu-annotation-processor-mvc, mateu-mvc, mateu-vaadin, mateu-archetype./mateu-screenConversational scaffolder for a single Mateu screen in Java — three business questions pick the template family, the family picks the starting archetype, and the class is generated in the right module. Use when the user wants a new screen, page, view, listing, form, wizard, dashboard or landing and hasn't named the archetype themselves. Triggers on new screen, nueva pantalla, add a page, create a view, scaffold a screen, "which archetype", "qué arquetipo".Other plugins' skills for the same job