/mateu:mateu-scaffoldfrom Mateu
Scaffolds a new Mateu project or module with correct Java build wiring for annotation processing. Use when starting a Mateu app, adding a @UI module, or fixing missing controllers/routes.
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 code (@UI classes) is the easy part — the fiddly part is the build wiring. Mateu
generates its controllers at compile time via annotation processors, so the pom.xml must
be set up exactly right or you get a clean compile that produces no UI at all.
All three front doors generate from the same verified starters (an app shell + home page + a
Product CRUD, plus AGENTS.md/CLAUDE.md for AI assistants):
mvn archetype:generate -DarchetypeGroupId=io.mateu -DarchetypeArtifactId=mateu-archetype \
-DarchetypeVersion=<release> -DgroupId=com.acme -DartifactId=my-app \
-Dauthoring=code -Drenderer=vaadin -Dsample=crud # authoring: code|yaml|static; sample: crud|empty
spring-mvc, spring-webflux, quarkus, micronaut, helidon-mp (Java), dotnet, python,
yaml (UI as data, Spring Boot, no UI code), static (UI as data, no backend). Each builds on
its own; CI compiles and boots every one.YAML-only / static projects need no annotation processor → mateu-yaml skill. C# / Python → mateu-dotnet / mateu-python.
| Situation | Layout | Poms |
|---|---|---|
One app, @UI classes live in the app itself | single-module app | app-pom.md |
@UI classes in a reusable, framework-agnostic module consumed by one or more apps | UI module + app | ui-module-pom.md + app-pom.md |
Choose the UI-module layout when the screens should be shareable with no Spring (or Quarkus/…) dependency, or when several apps reuse them (see mateu-federation).
Annotation processors only see the sources of the module being compiled. So:
@UI module runs the indexer AP
(io.mateu:mateu-annotation-processor-indexer) — it writes META-INF/mateu/ui-registrations
into the jar so downstream apps can discover its screens without the sources.annotationProcessorPaths, both the framework AP
(io.mateu:mateu-annotation-processor-mvc, …) and every @UI module it consumes — the
framework AP reads each module's index off the processor path and generates the controllers
in the app.If a
@UImodule is a regular<dependency>of the app but not also listed under<annotationProcessorPaths>, its screens are never generated. This is the #1 mistake. OnceannotationProcessorPathsis set, nothing else on the classpath runs as a processor — list Lombok there too.
| Runtime | Runtime jar | Framework AP | Extra the starter keeps |
|---|---|---|---|
| Spring Boot MVC | mateu-mvc | mateu-annotation-processor-mvc | spring-boot-starter-webmvc |
| Spring Boot WebFlux | mateu-webflux | mateu-annotation-processor-webflux | spring-boot-starter-webflux |
| Quarkus | mateu-quarkus | mateu-annotation-processor-quarkus | quarkus-rest-jackson (Jackson wire) |
| Micronaut | mateu-micronaut | mateu-annotation-processor-micronaut | static-resources mapping classpath:static in application.properties |
| Helidon MP | mateu-helidon-mp | mateu-annotation-processor-helidon-mp | META-INF/beans.xml + jersey-media-json-jackson |
Plus ONE renderer jar, served as static assets: io.mateu:mateu-vaadin (default) or
io.mateu:mateu-redwood (Oracle Redwood / Visual Builder). All io.mateu artifacts share one
version; io.mateu:mateu-bom can import them.
@SpringBootApplication
public class Application {
public static void main(String[] args) { SpringApplication.run(Application.class, args); }
}
Do not add io.mateu to scanBasePackages: the framework's beans come with the adapter jar
(its MateuAutoConfiguration). Keep your @UI classes inside the package Application scans —
the generated controllers live next to them. A third-party UI jar is mounted by naming its
package: mateu.ui.modules=com.vendor.ui.
Declare a mateu.version property and reference it as ${mateu.version} — never a literal per
dependency. Default it to the latest release on Maven Central
(https://repo1.maven.org/maven2/io/mateu/mateu-bom/maven-metadata.xml, <release>); use
0.0.1-MATEU only to build against a local mvn install of the Mateu repo. Java 21+.
Don't trust a green build. Confirm the controllers exist and the route responds: verify.md.
@UI screens → mateu (or mateu-screen to pick the archetype).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mateu, project-scaffold, annotation-processing, build-wiring
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-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