vercel/shop

init-vercel-shop

Initialize a new Vercel Shop storefront from the vercel/shop template with create-next-app.

Ver código fuente

Cómo usar

  1. Copia el comando y revisa el paquete antes de instalarlo en tu entorno de agente.
  2. Consulta las herramientas, credenciales y entornos necesarios en el documento original.
  3. Describe las entradas y el resultado deseado; contrasta la salida con las fuentes.
npx skills add https://github.com/vercel/shop --skill init-vercel-shop

Antes de empezar

  • La instalación no incluye suscripción al modelo, cuota API ni permisos sobre tus archivos.
  • Las estrellas e instalaciones reflejan actividad, no una prueba independiente de calidad o seguridad.
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

Initialize Vercel Shop

Ask for the target directory if the user did not provide one. Always pass it explicitly.

  1. Inspect the target. If it already contains a Vercel Shop project, stop and use the relevant storefront skill instead. If it is a non-empty directory, ask for a different target rather than overwriting files.
  2. Run:
bash
   pnpm create next-app@latest <target-directory> --example https://github.com/vercel/shop

The template pins pnpm 12 and Node.js 24.

  1. Confirm the generated project contains AGENTS.md, .agents/skills/, app/, components/, lib/shopify/, and package.json.
  2. Read the generated AGENTS.md before making further changes.
  3. If dependency installation fails, keep the generated project and show the retry command to run from its root:
bash
   pnpm install
  1. Ask one optional follow-up: Connect an existing Shopify store now?

If yes, ask only for the store's admin URL or .myshopify.com domain, then read references/storefront-token.md and follow its automated Shopify CLI flow. Try to reuse or create a public Storefront token before asking the user to visit the Headless channel.

If no, finish with the normal environment setup as the next step.

Return the generated project path, whether a Shopify store was connected, and whether dependency installation needs a retry.

Relacionados por tarea

del mismo repositorio

Más Skills

Todos los Skills