/cliuno:cliuno-matrixfrom cliuno
Runs the CLIuno frontend×backend compatibility matrix to verify all templates implement the shared REST contract. Debugs mismatches between any frontend and backend.
Ships in cliuno. 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 CLIuno workspace is one CLI (core/) plus framework templates that all implement the
same demo app against one shared REST contract. The matrix proves every frontend works with
every backend by booting each backend for real and driving the full contract flow with the
exact payloads the frontends send.
The frontends are the source of truth for the contract. When a backend and a frontend disagree, fix the backend (or fix all frontends together — never one). The full contract is in references/contract.md; read it before adding or changing any endpoint. Per-backend boot/DB/test details are in references/backends.md.
cd core
pnpm test:matrix # full board: 9 frontends × 13 backends
node scripts/test-matrix.mjs --backends express # one backend
node scripts/test-matrix.mjs --backends rails --frontends vue --verbose
MATRIX_PORT to override); a built-in SMTP
sink on 4325 absorbs verification emails so nothing hangs.core/matrix-report.json
(gitignored) with per-step and per-cell detail.flow: N/N steps passed and a table of PASS
cells. WARN(n) means n endpoints exist (probed) but weren't flow-driven; FAIL(n)
means missing endpoints or failed steps — always list them from the report.src/apis/, src/lib/apis/,
composables/, src/app/services/, Flutter's lib/apis/*.dart) collect every
method + path it calls. If you add a frontend API file, extraction picks it up
automatically; template-literal (and Dart ${...}) params become :p.node scripts/test-matrix.mjs --backends <id> --frontends react --verbose
(react has the smallest endpoint set; --verbose streams the backend's own stdout).node -e "const r=require('./matrix-report.json'); for(const [k,v] of Object.entries(r.backends.<id>.flow)) if(!v.ok) console.log(k, v.status, v.note)".no token in response / no id means the status was fine but the envelope shape
is wrong — check the contract's response-shape table.Adding an endpoint end-to-end:
references/contract.md — payload and response shape
modeled on what the frontends will destructure.runFlow() in core/scripts/test-matrix.mjs — record with
okShape("data.<key>") when frontends read a key, plain ok2xx otherwise. Steps that
need a server-side secret (emailed tokens) read it via the backend's readToken hook.Adding a new backend template: add a registry entry in BACKENDS (dir, prepare, start,
env, and activateUser/readToken hooks if it gates email verification or stores
one-time tokens), implement the whole contract, and run its column until flow is full.
Then give it a generator module in core/src/generators/stacks/<id>.ts so
cliuno make:resource works there too (node scripts/test-generators.mjs --only <id>).
pnpm-workspace.yaml (allowBuilds: pkg: true) —
a stub file with placeholder text silently breaks every pnpm run and husky hook.unset VIRTUAL_ENV before uv run in Django/FastAPI dirs, or uv warns about a foreign venv.manage.py shell -c prints an auto-import banner before your output — take the
last line.synchronize: true (new entity columns auto-apply); Django needs
makemigrations, Rails a migration, Laravel a migration, FastAPI recreates its isolated
matrix-test.db per run.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cliuno/core --plugin cliuno3 skills in this plugin
/cliuno-makeGenerate code inside a CLIuno-scaffolded project with `cliuno make:*` instead of hand-writing it. Use this whenever the user, working in any CLIuno template (Express, Fastify, NestJS, AdonisJS, Django, FastAPI, Laravel, TallStack, Rails, Spring Boot, ASP.NET, Drogon, Axum, React, Next, Vue, Nuxt, Svelte, Solid, Angular, Flutter, React Native), asks to add a resource, model, entity, table, endpoint, CRUD, controller, service, migration, validator/DTO, API client, store, page/screen, or UI component — phrases like "add a Product resource", "create an Orders endpoint", "I need a Comments model with …", "add a page for invoices", "make:controller". One command produces a working vertical slice that follows the template's conventions and the shared REST contract; you then only edit fields and business logic./cliuno-scaffoldScaffold new apps from CLIuno's contract-tested templates instead of writing boilerplate from scratch. Use this whenever the user wants to start a new website, web app, frontend, REST API, backend, full-stack app, or mobile app in Vue, React, Next, Svelte, Solid, Nuxt, Angular, Flutter, React Native, Express, Fastify, NestJS, AdonisJS, Django, FastAPI, Laravel, TALL stack, Rails, Spring Boot, ASP.NET, Drogon, or Axum (Rust) — even if they don't mention CLIuno. Phrases like "create an app", "set up a project", "build me a todo/social/CRUD app", "start a new API", or "scaffold X with auth" should all trigger this skill before any from-scratch scaffolding.Other plugins' skills for the same job