name: commerce-storefront description: Build and adapt storefront templates and Agentic Commerce Protocol flows. Use when designing storefront pages, checkout UI, or ACP flows.
Commerce Storefront
Scaffold storefronts and add commerce features using StateSet tools.
How It Works
- Choose a template (Next.js, Remix, Vite, Astro).
- Generate the project scaffold.
- Add pages, components, and API routes.
- Seed demo data and run the dev server.
Usage
- CLI:
stateset-create <name> --template nextjs - Use
statesetor the scaffold MCP server for adding pages/components. - Keep database path in
.envand use@stateset/embeddedon the server.
Output
{"status":"created","project":"my-storefront","template":"nextjs"}
Present Results to User
- Project path and template used.
- Pages/components added.
- How to run the dev server.
Troubleshooting
- Missing Node dependencies: run
npm installin the project. - Database errors: confirm
.envpath and file permissions.
References
- references/storefront-templates.md
- /home/dom/stateset-icommerce/cli/.claude/skills/commerce-storefront/SKILL.md
- /home/dom/stateset-icommerce/cli/src/scaffold-server.js