diff --git a/.changeset/make-generators.md b/.changeset/make-generators.md deleted file mode 100644 index d1ead28..0000000 --- a/.changeset/make-generators.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"cliuno": minor ---- - -Add `cliuno make:*` generators and ship the Claude skills with the package: - -- `cliuno make:resource --fields a:string,b:int?` generates a working CRUD vertical slice (entity/model + controller/route + validation + test, or API client + list/detail pages) that follows each template's conventions and the shared `{status, message, data}` contract. Single-file generators (`make:controller`, `make:model`, `make:migration`, …) delegate to the framework's own CLI (`php artisan`, `node ace`, `bin/rails g`, `ng g`) when it exists. -- `cliuno make` lists what the detected stack supports; `--dry-run` previews, `--force` overwrites. -- `cliuno skills status|install` installs the `cliuno-scaffold`, `cliuno-make`, and `cliuno-matrix` skills into `.claude/skills/` (or `~/.claude/skills/` with `--global`). -- The repo is now a Claude Code plugin marketplace: `claude plugin marketplace add CLIuno/core` then `claude plugin install cliuno@cliuno`. diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index ebfb164..22b82f2 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "cliuno", - "version": "2.1.1", + "version": "2.2.0", "description": "Scaffold full-stack apps from CLIuno's contract-tested templates, generate resources with `cliuno make:*`, and run the compatibility matrix.", "author": { "name": "ru44", diff --git a/CHANGELOG.md b/CHANGELOG.md index 453d98e..99bbf9d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## 2.2.0 + +### Minor Changes + +- afcf420: Add `cliuno make:*` generators and ship the Claude skills with the package: + + - `cliuno make:resource --fields a:string,b:int?` generates a working CRUD vertical slice (entity/model + controller/route + validation + test, or API client + list/detail pages) that follows each template's conventions and the shared `{status, message, data}` contract. Single-file generators (`make:controller`, `make:model`, `make:migration`, …) delegate to the framework's own CLI (`php artisan`, `node ace`, `bin/rails g`, `ng g`) when it exists. + - `cliuno make` lists what the detected stack supports; `--dry-run` previews, `--force` overwrites. + - `cliuno skills status|install` installs the `cliuno-scaffold`, `cliuno-make`, and `cliuno-matrix` skills into `.claude/skills/` (or `~/.claude/skills/` with `--global`). + - The repo is now a Claude Code plugin marketplace: `claude plugin marketplace add CLIuno/core` then `claude plugin install cliuno@cliuno`. + ## 2.1.1 ### Patch Changes diff --git a/package.json b/package.json index 7ff16ec..9555646 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cliuno", - "version": "2.1.1", + "version": "2.2.0", "description": "CLIuno is a CLI tool to make your journey in web development less painful (it makes your life way easier).", "keywords": [ "agent-skills", diff --git a/skills/cliuno-make/SKILL.md b/skills/cliuno-make/SKILL.md index 4f1afd4..09a9fbb 100644 --- a/skills/cliuno-make/SKILL.md +++ b/skills/cliuno-make/SKILL.md @@ -2,7 +2,7 @@ name: cliuno-make description: Generate 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. metadata: - version: 2.1.1 + version: 2.2.0 --- # cliuno make — generate, don't hand-write diff --git a/skills/cliuno-matrix/SKILL.md b/skills/cliuno-matrix/SKILL.md index 69aa85b..3be1315 100644 --- a/skills/cliuno-matrix/SKILL.md +++ b/skills/cliuno-matrix/SKILL.md @@ -2,7 +2,7 @@ name: cliuno-matrix description: Run, 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). metadata: - version: 2.1.1 + version: 2.2.0 --- # CLIuno compatibility matrix diff --git a/skills/cliuno-scaffold/SKILL.md b/skills/cliuno-scaffold/SKILL.md index 665fc68..b015a6f 100644 --- a/skills/cliuno-scaffold/SKILL.md +++ b/skills/cliuno-scaffold/SKILL.md @@ -2,7 +2,7 @@ name: cliuno-scaffold description: Scaffold 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. metadata: - version: 2.1.1 + version: 2.2.0 --- # CLIuno scaffold — start from a working app, not a blank folder