/cliuno:cliuno-makefrom cliuno
Generates code inside CLIuno-scaffolded projects using `cliuno make:*` commands.
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.
Every CLIuno template ships the same demo app (auth, users, todos, posts, …) on one REST
contract. cliuno make:* clones that pattern for a new resource: the generated files use
the template's own imports, helpers, auth guard, {status, message, data} envelope,
owner relation, timestamps, lint rules and formatting. Hand-writing the same files costs
thousands of tokens and drifts from the conventions — run the generator, then edit.
Make sure the skills are present (once per project):
npx cliuno@^2.2 skills status → if anything is missing/outdated,
npx cliuno@^2.2 skills install (adds .claude/skills/cliuno-*; --global for ~/.claude/skills).
See what this stack supports: npx cliuno@^2.2 make (run anywhere inside the
project — detection walks up to the manifest). It lists the kinds and marks which ones
delegate to the framework's own CLI ([native: php], node ace, bin/rails, ng).
Generate the resource:
npx cliuno@^2.2 make:resource Product --fields name:string,price:number,inStock:boolean,notes:text?
Unsure? Add --dry-run to print every file and patch without writing. Re-running is
safe: existing files are skipped (use --force to overwrite) and registrations are
never duplicated.
Read the printed notes (! lines) — they are the manual follow-ups: run a
migration, add a nav link, wire a validator, register a route when the anchor wasn't
found.
Edit, don't rewrite: adjust field types/validation, add business rules, rename labels. Keep the envelope and the auth guard.
Run the template's gates (its CLAUDE.md lists them: typecheck, lint, build, tests).
Frontend + backend pair? Generate on both sides with the same name and fields;
the frontend client calls /<kebab-plural> with camelCase JSON keys, which the backend
stub accepts.
--fields a:type,b:type? — ? marks nullable. Default when omitted: title:string,description:text?.
| type | meaning | backend column (typical) | TS / Dart type |
|---|---|---|---|
string | short text (label) | text / string / varchar | string |
text | long text | text | string |
int | integer | integer | number / int |
number | float | real / float / double | number / double |
boolean | flag (default off) | boolean | boolean / bool |
date | timestamp | datetime | string / Date |
json | arbitrary object | json / simple-json / text | Record<string, …> |
The first string field is the display field used by list pages. Aliases accepted:
integer, float, double, bool, datetime, timestamp, object.
| kind | what it generates |
|---|---|
resource | the full vertical slice (always CLIuno stubs, never bare framework stubs) |
controller model migration service validator request dto test | one backend piece; delegates to php artisan / node ace / bin/rails g / manage.py where that CLI exists, otherwise a CLIuno stub |
api store page component | one frontend piece; component delegates to the template's shadcn-style add command |
Per-stack file lists, registration patches and follow-ups: references/stacks.md.
cliuno-matrix contract).--dry-run still shows a
reasonable pattern to adapt, but don't apply blindly.cliuno make lists no generators yet → fall back to copying that
template's todo files as the pattern.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-generation, scaffolding, cliuno, resource-generator, crud-generator
3 skills in this plugin
/cliuno-matrixRun, debug, and extend the CLIuno frontend×backend compatibility matrix, and consult the shared API contract every template implements. Use this whenever working in the CLIuno workspace on anything API-shaped — adding or changing an endpoint in any backend template (Express, Nest, Fastify, Adonis, Django, FastAPI, Laravel, TallStack, Rails, Spring, ASP.NET, Drogon, Axum), changing a frontend's API layer (Vue, React, Solid, Next, Svelte, Nuxt, Angular, Flutter, React Native), adding a new template, investigating why a frontend and backend disagree, or when asked to "run the matrix", "check compatibility", "test the templates against each other", or verify the demo-app contract (auth/users/todos/posts/comments/follows/OTP)./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.npx claudepluginhub cliuno/core --plugin cliunoOther plugins' skills for the same job