From f7d8a6b88ffb64fcf7259df6dfb13f1152d9ed28 Mon Sep 17 00:00:00 2001 From: dadachi Date: Sun, 24 May 2026 18:35:04 +0900 Subject: [PATCH 1/3] feat(plugin): add marketplace manifest so the plugin is installable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The plugin was only loadable via `--plugin-dir` (local) — `/plugin install github.com/...` (as the README claimed) doesn't work without a marketplace. Add `.claude-plugin/marketplace.json` at the repo root registering the plugin (source: ./plugin), so it's installable by anyone. Install flow (verified against the CLI — validate ✔, local `marketplace add ./` resolved the ./plugin source and listed it): /plugin marketplace add nativeapptemplate/nativeapptemplate-agent /plugin install nativeapptemplate-agent@nativeapptemplate Fix the now-correct install instructions in plugin/README.md (was the bogus `/plugin install github.com/...`) and add the marketplace flow to the root README. Marketplace name `nativeapptemplate`; plugin name `nativeapptemplate-agent` (matches plugin.json, so skills stay `/nativeapptemplate-agent:*`). Co-Authored-By: Claude Opus 4.7 (1M context) --- .claude-plugin/marketplace.json | 12 ++++++++++++ README.md | 9 ++++++++- plugin/README.md | 15 +++++++++++---- 3 files changed, 31 insertions(+), 5 deletions(-) create mode 100644 .claude-plugin/marketplace.json diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 0000000..9cff85d --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,12 @@ +{ + "name": "nativeapptemplate", + "owner": { "name": "Daisuke" }, + "description": "NativeAppTemplate Agent — generate validated three-platform SaaS apps (Rails 8.1 API + SwiftUI iOS + Jetpack Compose Android) from a natural-language spec.", + "plugins": [ + { + "name": "nativeapptemplate-agent", + "source": "./plugin", + "description": "Generate, validate, and walk three-platform apps from inside Claude Code — generate-app + walk-app skills, bundling the generator MCP server + mobile-mcp." + } + ] +} diff --git a/README.md b/README.md index 6027ae5..d769565 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,14 @@ tree ./out/clinic-queue/ # └── validation-report.html ← self-contained visual report (open in a browser) ``` -The same generator also ships as an MCP server — `npx -y -p nativeapptemplate-agent nativeapptemplate-agent-mcp` exposes a `generate_app` tool, so any MCP-capable assistant (Claude Code, Cursor, Cline, Goose) can invoke it without leaving the editor. And a **Claude Code plugin** ships in [`plugin/`](./plugin/) — `claude --plugin-dir ./plugin` loads two skills: `/nativeapptemplate-agent:generate-app` (generate → validate → explain) and `/nativeapptemplate-agent:walk-app` (launch the app on a simulator/emulator and walk its UI via `mobile-mcp`, screenshots inline). See [`plugin/README.md`](./plugin/README.md). +The same generator also ships as an MCP server — `npx -y -p nativeapptemplate-agent nativeapptemplate-agent-mcp` exposes a `generate_app` tool, so any MCP-capable assistant (Claude Code, Cursor, Cline, Goose) can invoke it without leaving the editor. And a **Claude Code plugin** ships in [`plugin/`](./plugin/) with two skills: `/nativeapptemplate-agent:generate-app` (generate → validate → explain) and `/nativeapptemplate-agent:walk-app` (launch the app on a simulator/emulator and walk its UI via `mobile-mcp`, screenshots inline). Install it via the bundled marketplace: + +```bash +/plugin marketplace add nativeapptemplate/nativeapptemplate-agent +/plugin install nativeapptemplate-agent@nativeapptemplate +``` + +…or load it locally with `claude --plugin-dir ./plugin`. See [`plugin/README.md`](./plugin/README.md). ## Requirements diff --git a/plugin/README.md b/plugin/README.md index 9d1e9e8..5d4ff90 100644 --- a/plugin/README.md +++ b/plugin/README.md @@ -72,11 +72,18 @@ Then in the session: After editing plugin files, run `/reload-plugins` to pick up changes. Confirm the skill is loaded via `/help` and the MCP server via `/mcp`. -## Install from git +## Install from the marketplace + +The repo ships a marketplace manifest (`.claude-plugin/marketplace.json`) that points at +this `plugin/` directory. Add the marketplace, then install: ``` -/plugin install github.com/nativeapptemplate/nativeapptemplate-agent +/plugin marketplace add nativeapptemplate/nativeapptemplate-agent +/plugin install nativeapptemplate-agent@nativeapptemplate ``` -> Note: the plugin lives in the `plugin/` subdirectory of the repo. If installing -> by path, point at `plugin/`, not the repo root. +`nativeapptemplate` is the marketplace name; `nativeapptemplate-agent` is the plugin. Once +installed, the skills are available as `/nativeapptemplate-agent:generate-app` and +`/nativeapptemplate-agent:walk-app` (and `/mcp` shows both bundled servers). The CLI forms +are `claude plugin marketplace add nativeapptemplate/nativeapptemplate-agent` and +`claude plugin install nativeapptemplate-agent@nativeapptemplate`. From 72c14b0de2b207159faa35f83c62d202b2d038a7 Mon Sep 17 00:00:00 2001 From: dadachi Date: Sun, 24 May 2026 18:41:08 +0900 Subject: [PATCH 2/3] =?UTF-8?q?fix(plugin):=20attribution=20=E2=86=92=20"D?= =?UTF-8?q?aisuke=20Adachi"=20(match=20package.json=20+=20LICENSE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The marketplace owner and plugin.json author read bare "Daisuke"; the canonical attribution everywhere else (package.json author, LICENSE copyright) is the full name "Daisuke Adachi". Align both, since marketplace owner is public catalog metadata shown when users add the marketplace. Co-Authored-By: Claude Opus 4.7 (1M context) --- .claude-plugin/marketplace.json | 2 +- plugin/.claude-plugin/plugin.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 9cff85d..e90d30b 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,6 +1,6 @@ { "name": "nativeapptemplate", - "owner": { "name": "Daisuke" }, + "owner": { "name": "Daisuke Adachi" }, "description": "NativeAppTemplate Agent — generate validated three-platform SaaS apps (Rails 8.1 API + SwiftUI iOS + Jetpack Compose Android) from a natural-language spec.", "plugins": [ { diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 429f074..d1de398 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -2,7 +2,7 @@ "name": "nativeapptemplate-agent", "version": "0.2.0", "description": "Generate a validated three-platform SaaS app (Rails 8.1 API + SwiftUI iOS + Jetpack Compose Android) from a one-sentence spec, explain the validation report, and walk the running app on a simulator/emulator via mobile-mcp — without leaving Claude Code.", - "author": { "name": "Daisuke" }, + "author": { "name": "Daisuke Adachi" }, "homepage": "https://github.com/nativeapptemplate/nativeapptemplate-agent", "repository": "https://github.com/nativeapptemplate/nativeapptemplate-agent", "license": "MIT" From fb351ff1c245526894dccf777752dfd449957891 Mon Sep 17 00:00:00 2001 From: dadachi Date: Sun, 24 May 2026 18:46:34 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore(plugin):=20marketplace=20owner=20?= =?UTF-8?q?=E2=86=92=20NativeAppTemplate=20org=20(+=20url)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit owner identifies the catalog/distribution, so use the org/brand (with its GitHub URL) rather than a personal name — reads as the official marketplace and scales to more plugins/maintainers. plugin.json author stays "Daisuke Adachi" (the person who wrote it; matches package.json + LICENSE). Co-Authored-By: Claude Opus 4.7 (1M context) --- .claude-plugin/marketplace.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index e90d30b..c2729c0 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,6 +1,9 @@ { "name": "nativeapptemplate", - "owner": { "name": "Daisuke Adachi" }, + "owner": { + "name": "NativeAppTemplate", + "url": "https://github.com/nativeapptemplate" + }, "description": "NativeAppTemplate Agent — generate validated three-platform SaaS apps (Rails 8.1 API + SwiftUI iOS + Jetpack Compose Android) from a natural-language spec.", "plugins": [ {