/marmo-ui:prototypefrom marmo-ui
Scaffolds a shareable Marmo prototype with a comments and AI-edit overlay, then deploys it to Netlify and returns a public URL for reviewer sign-in.
Ships in marmo-ui. Installing the plugin adds it to Claude Code.
Scaffold a new prototype using @marmoui/ui, wire up the
@marmoui/prototype-overlay (Anthropic OAuth sign-in + inline comments
Run every step. Don't skip the MCP validation pass — prototypes are read by reviewers from outside the engineering team and any hallucinated prop or broken composition is going to surface in a comment thread inside an hour.
Confirm prerequisites.
node --version ≥ 20pnpm --version ≥ 9netlify --version (suggest npm i -g netlify-cli if missing)NPM_TOKEN set (required to install @marmoui/* from GH Packages)MARMO_PROTOTYPE_OAUTH_CLIENT_ID and MARMO_PROTOTYPE_COMMENTS_API
set in shell env (provisioned once per developer, point at the team
Supabase project and Anthropic OAuth client). If missing, print the
one-time setup instructions from
apps/prototype-starter/README.md and stop.Choose a target directory outside the monorepo. Default:
~/Sites/marmo-prototype-<kebab-case-name>. If the dir exists and is
non-empty, ask for a different name.
Copy the starter template. Source = apps/prototype-starter/
in the marmo-ui monorepo (resolve via
mcp__marmo-ui__get_knowledge_version().repoRoot if available,
otherwise ask the user for the path). Copy excluding node_modules,
dist, .turbo. Rewrite the package.json name field to match
the new directory.
Wire env vars. Create .env.local from .env.example with:
VITE_COMMENTS_API=$MARMO_PROTOTYPE_COMMENTS_API
VITE_ANTHROPIC_OAUTH_CLIENT_ID=$MARMO_PROTOTYPE_OAUTH_CLIENT_ID
Generate the screen from the user's $ARGUMENTS description.
mcp__marmo-ui__get_knowledge_version once.mcp__marmo-ui__get_design_guidelines once.mcp__marmo-ui__get_pattern if one
matches; otherwise mcp__marmo-ui__search_components and
mcp__marmo-ui__get_component_info per component.src/App.tsx, replacing the placeholder.@marmoui/ui + react-icons/md.mcp__marmo-ui__review_generated_code on the final file. Fix
every error and warning until valid: true. Never ship code with
errors.Install + smoke-test.
pnpm installpnpm dev in the background, wait for "Local:" line, fetch the URL
once, kill the dev server. Confirm 200.Deploy.
netlify init (interactive — let
the user pick the team).pnpm share (= vite build && netlify deploy --prod --dir=dist).Print the share message to the user:
Prototype deployed: <url>
Reviewers: open the URL and click "Sign in with Claude". Any
@marmoui.com user can leave comments.
Owner: claim the prototype on first visit. 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 in this repo.
$ARGUMENTS
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub mahmoudilyan/marmoui --plugin marmo-ui5 commands in this plugin
/design-md/marmo-ui:design-mdGenerate a portable DESIGN.md (brand color, type, tokens, component inventory) at the project root so any AI agent can generate on-brand UI./init/marmo-ui:initInitialize a project for on-brand Marmo UI generation — detect or interview for brand basics (layout, primary color, fonts, radius, spacing) and write a DESIGN.md if one doesn't exist./marmo-build/marmo-ui:marmo-ui-buildBuild UI with @marmoui/ui following the full MCP-backed workflow. Use for explicit "build this Marmo way" requests./override/marmo-ui:overrideOverride an @marmoui/ui component or create a new custom component in the app's local ui/ folder — sets up the wrapper convention (src/ui/ re-exporting @marmoui/ui) on first run, then shadows or adds components without forking the package.Other plugins' commands for the same job