/marmo-ui:prototype runs instead · from marmo-ui
Scaffolds a shareable Marmo prototype (Vite + React + Tailwind 4) with reviewer comments and AI-edit support. Walks through copying the prototype-starter, wiring @marmoui/prototype-overlay (Anthropic OAuth + inline comments + owner select-mode), and deploying to Netlify.
This skill never runs in Claude Code
It ships in marmo-ui at skills/, but /marmo-ui:prototype (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
You are about to scaffold a brand-new Marmo prototype. A prototype is a
standalone Vite + React + Tailwind 4 + @marmoui/ui app that lives
outside the monorepo and ships to Netlify. The @marmoui/prototype-overlay
package is pre-wired into the starter so reviewers can sign in with Claude
and leave inline comments, and the owner can click an element, write a
prompt, and copy a payload (file + line + selector + prompt) to the
clipboard for paste into a local Claude Code session.
If the user just wants to add a UI component to an existing Marmo product
app, use the marmo-ui skill instead — not this one.
mcp__marmo-ui__get_knowledge_version
If this errors, surface it. Don't fall back to guessing component APIs.
Run in parallel:
node --version (need ≥ 20)pnpm --version (need ≥ 9)netlify --version (suggest npm i -g netlify-cli if missing)echo $NPM_TOKEN | head -c 4 (must not be empty — required for GH Packages)echo $MARMO_PROTOTYPE_OAUTH_CLIENT_ID | head -c 4echo $MARMO_PROTOTYPE_COMMENTS_API | head -c 4If either MARMO_PROTOTYPE_* env var is missing, print this and stop:
Set these once in your shell rc:
export MARMO_PROTOTYPE_COMMENTS_API="https://<proj>.supabase.co/functions/v1/comments-api" export MARMO_PROTOTYPE_OAUTH_CLIENT_ID="<from anthropic console>"Ask the Design Systems team for the current values.
Default: ~/Sites/marmo-prototype-<kebab-case-name-from-prompt>. If it
exists and contains anything, ask for an alternative.
Source = apps/prototype-starter/ inside the mahmoudilyan/marmoui
monorepo. The user should have it cloned; if not, clone shallow:
git clone --depth 1 https://github.com/mahmoudilyan/marmoui /tmp/marmo-ui-template
cp -R /tmp/marmo-ui-template/apps/prototype-starter <target-dir>
rm -rf /tmp/marmo-ui-template
After copying:
package.json name to match the directory name.node_modules, dist, .turbo if present.workspace:* versions in package.json with the latest
published versions (@marmoui/ui and @marmoui/prototype-overlay).
Look these up via npm view <pkg> version --registry=https://npm.pkg.github.com.cp .env.example .env.local
Then write the values from $MARMO_PROTOTYPE_* into .env.local. Never
commit .env.local.
Pick the right primitive using the MCP, exactly like the marmo-ui skill:
phosphor; also material, lucide, tabler, heroicons, feather). Pass that iconLibrary to every MCP call below.mcp__marmo-ui__get_patternmcp__marmo-ui__search_components + get_component_infoWrite the JSX into src/App.tsx, replacing the placeholder. UI imports only
from @marmoui/ui; icons only from the chosen library (default
@phosphor-icons/react). Ensure the starter has the icon library's package
installed (add it to package.json if it isn't already).
Run mcp__marmo-ui__review_generated_code on the final App.tsx with the same
iconLibrary. Fix every error and warning — wrong-library icon imports are
errors. Never ship code with errors — reviewers will see those errors before
you do.
pnpm install
pnpm dev & # background
# wait for "Local:" line
curl -fsS http://localhost:5173 > /dev/null && echo OK
kill %1
If the page errors, look at terminal output and fix before deploying.
If no Netlify site is linked yet (netlify status shows none):
netlify init
Then:
pnpm share
Capture the deployed URL.
Print the share message in this exact shape (substitute the URL):
Prototype deployed: https://<site>.netlify.app
Reviewers: open the URL and click "Sign in with Claude". Any
@marmoui.com user can leave inline comments — pin on any element,
reply, resolve.
Owner: first visit, click "Claim as owner" in the toolbar. After that
you'll see an "Edit with Claude" button. Click an element, write a
prompt, paste the clipboard payload into a local Claude Code session
running in this directory. That's the round-trip loop.
marmo-ui).packages/ui).pnpm share does).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
prototype, marmo-ui, review-overlay, netlify-deploy, vite-react
npx claudepluginhub mahmoudilyan/marmoui --plugin marmo-ui2 skills in this plugin
Other plugins' skills for the same job