/mateu:mateu-yamlfrom Mateu
Authors Mateu UIs as YAML data files under specs/ui/, enabling no-code/low-code UI development with routes, layouts, REST sources, and app shells. Triggers on specs/ui, type: UI, routes.yaml, sources.yaml, AppShell, layout:, rowsSource, restAction, sample:, mateu-bundle, specsOnly, staticOnly.
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.
The same model a Java @UI class declares can be written as YAML under specs/ui/
(src/main/resources/specs/ui/ in a Maven project; specs/ui/ under the working directory for
the .NET/Python servers, or MATEU_SPECS_DIR). No UI code, no frontend code: a generic renderer
paints what the files declare. The IDE visual editor (IntelliJ / VS Code) reads and writes these
same files.
type: UI (mount at a base path, home:, lists route files)
└─ routes.yaml (type: Routes — each route → a layout file and/or a viewModel, params, data:)
├─ "" → app.yaml (type: AppShell — title + menu around every screen)
├─ orders → orders.yaml (a page: type: Listing, rowsSource: {ref: orders})
└─ orders/:id → order.yaml (a page: type: Form, data: order fetches the record)
sources.yaml (every REST endpoint named once; pages reference it by name; sample: data)
"" is the mount root (usually the app shell).viewModel: is complete: reads come from sources.yaml, writes from
actions: with a restAction (run by the browser — no server round trip), navigation from a
RouteLink. That is what makes a static bundle possible.type: discriminates; the file name does not matter except where noted)| File (conventional name) | type: | What it is | Reference |
|---|---|---|---|
app.ui.yaml | UI | the mount: basePath, home, routes: [routes.yaml] | mounts-and-routes.md |
routes.yaml | Routes | route table: route, layout, viewModel, fixedParams, defaultParams, children, state, appState, data, appData, access | mounts-and-routes.md |
app.yaml | AppShell | title, variant, menu, header extras, shell flows (Java server and static bundle only) | app-shell.md |
| any page file | a component (Listing, Form, VerticalLayout…) or an envelope with layout: / layoutDelta: | one screen | pages-and-components.md |
sources.yaml | Sources (optional) | REST source catalogue + sample: data | sources.md |
partials/<name>.yaml | none (content: list) or one component | reusable piece, spliced where type: Partial names it | partials.md |
actions.yaml | Actions | named client-runnable flows / REST calls | other-kinds.md |
types.yaml | Types | field-type vocabulary (fieldType: OrderStatus) | other-kinds.md |
translations/<locale>.yaml | Translations | ${i18n.key} catalogue | other-kinds.md |
environments/<name>.yaml | Environment | per-environment source overrides | other-kinds.md |
components.yaml | none (components:) | business components, used by type: ComponentRef | other-kinds.md |
project.yaml | Project | renderer: vaadin | redwood | other-kinds.md |
Static bundles: static-bundle.md · YAML + Java/C#/Python view models: mixing-with-code.md · A complete validated mount to copy from: examples/specs/ui/.
$schema: https://raw.githubusercontent.com/miguelperezcolom/mateu/master/backend/shared/uidl/specs-schema.json
specs-schema.json is the unified schema (a oneOf of every file kind above), so this one line
fits every file. It is the convention of the starters and demos (which often name the kind-specific
schema instead — keep whichever a file already has); the loaders ignore the key. master is the
latest API: when the project pins a release, validate against that tag instead
(…/mateu/v3.0-beta.3/backend/shared/uidl/specs-schema.json, via MATEU_SPECS_SCHEMA for the
validator script).
Kind-specific schemas exist beside it (mount-schema.json, routes-schema.json,
sources-schema.json, uidl-schema.json for a bare component page, actions-schema.json,
types-schema.json). Editors that only honour the comment form (VS Code's YAML extension without
the Mateu extension) take
# yaml-language-server: $schema=<same url> instead. The Mateu IntelliJ / VS Code extensions map
specs/ui/** to the schema automatically.
additionalProperties: false). titel: Orders gives a page with no title and no error. Copy key
names from the schema / these references, never guess.type:, wrong
shape). The server logs a WARN … Could not read the definition specs/ui/x.yaml, line N (path): …; run with -Dmateu.dev=true (or MATEU_DEV=true) and the page itself shows that reason, plus
specs are re-read from src/main/resources/specs/ui on every change (live reload; development only — never in production).dataType values: integer string number date time dateTime bool array file status money component menu range action actionGroup dateRange. There is no decimal, boolean,
double, text. Field look is stereotype: (textarea, select, email, money,
multiSelect, numberRange, richText, …).orders/new before orders/:id, or new is read as an
id.viewModel: — naming one means it can only ever serve that class; bind on the route entry.actions: belongs to the page definition, beside the component (or beside layout:), never on
the route. A Button's actionId must name an action the page declares, an actions.yaml
entry, or a method of the bound view model — otherwise nothing happens (and a static bundle with
staticOnly refuses to build).RouteLink, not an action: actionable: {type: RouteLink, route: orders/new}.${...} expressions see only state, data, appState, appData, component (and row
in rowRoute, i18n in texts, secret only on the server-side proxy). ${state.x ?? ''},
?. and encodeURIComponent(...) work.${secret.KEY} resolves only when the source has
proxy: true (server-side; value from a SecretsProvider bean or env MATEU_SECRET_KEY).
Proxying needs a server, so it is not available in a static bundle.sample: is used only in sample mode (visual editor; -Dmateu.sources.mock=true /
MATEU_SOURCES_MOCK=true on a served app; -Dmateu.bundle.mock=true for a bundle). In sample
mode writes "succeed" without persisting. Outside it the real endpoint is called.type: AppShell) is Java-server and static-bundle only. The .NET and Python
servers serve YAML pages, routes, mounts, sources, actions, types, translations, partials and
layoutDelta:, but the shell/menu must come from their app class ([App] / @app).type: UI mount home: <route> (or the shell homeRoute:); otherwise the
first navigable menu item is home.yaml flavour = Spring Boot serving YAML; static = no
backend) or copy examples/specs/ui/. New page = new file + a
routes.yaml entry + (usually) a menu entry in app.yaml.npm i ajv@8 yaml
there, node validate-specs.mjs <project>/src/main/resources/specs/ui. It catches wrong enum
values, wrong shapes and unknown component type:s — not misspelled keys.mvn spring-boot:run, then
curl -s -X POST localhost:8080/mateu/v3/sync/orders -H 'Content-Type: application/json' \
-d '{"route":"/orders","consumedRoute":"","actionId":"","componentState":{}}'
"type":"NotFound" in the answer = the route or its definition did not resolve (read the
message / WARN). Then open the page in a browser to see it render (the mateu-run skill
screenshots it).mvn package → target/mateu-bundle/; staticOnly fails the build naming
any screen that still needs a server. While editing, mvn mateu-bundle:dev serves it on
http://localhost:3000 and rebuilds + reloads on every save; preview a finished bundle with
npx serve -s target/mateu-bundle.Docs: https://mateu.io/define/yaml/quickstart/ · https://mateu.io/concepts/routes-and-mounts/ · https://mateu.io/concepts/data-sources/ · https://mateu.io/deploy/static-ui/
examples/specs/ui/actions.yaml (opens in a new tab)examples/specs/ui/app.ui.yaml (opens in a new tab)examples/specs/ui/app.yaml (opens in a new tab)examples/specs/ui/dashboard.yaml (opens in a new tab)examples/specs/ui/environments/pre.yaml (opens in a new tab)examples/specs/ui/home.yaml (opens in a new tab)examples/specs/ui/order-new.yaml (opens in a new tab)examples/specs/ui/order.yaml (opens in a new tab)examples/specs/ui/orders.yaml (opens in a new tab)examples/specs/ui/partials/order-notes.yaml (opens in a new tab)examples/specs/ui/products.yaml (opens in a new tab)examples/specs/ui/project.yaml (opens in a new tab)examples/specs/ui/routes.yaml (opens in a new tab)examples/specs/ui/sources.yaml (opens in a new tab)examples/specs/ui/translations/en.yaml (opens in a new tab)examples/specs/ui/translations/es.yaml (opens in a new tab)examples/specs/ui/types.yaml (opens in a new tab)reference/app-shell.md (opens in a new tab)reference/mixing-with-code.md (opens in a new tab)reference/mounts-and-routes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-dotnetBuild Mateu UIs in C# on ASP.NET Core (Mateu.NET) — classes marked [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 C#/.NET Mateu app: Program.cs wiring, views, actions, Crud<T>, capability listings, [App]/[MenuItem] menus, security, tests. Triggers on [UI] attribute, Mateu.AspNetCore, Mateu.Uidl, AddMateu, MapMateu, Crud<T>, IListing, [MenuItem], MATEU_UI with .cs/.csproj files./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.Other plugins' skills for the same job