ecommerce-expert

ecommerce-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 70 tokens per session (2,249 once invoked), scanned B, original, MIT.

A guide to building online stores and commerce systems with Shopify Storefront, Medusa.js, or Saleor. It covers products, inventory, shopping carts, checkout, orders, fulfillment, and search visibility for product pages.

In plain words
What is it for?
Use it to choose a commerce platform, connect a custom frontend to Shopify, set up Medusa.js or Saleor, design product catalogs, and plan cart and checkout behavior.
Why use it?
It helps turn separate store concerns into a consistent design for browsing products, buying them, and managing orders.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 176 skills, 9 agents, 2 MCP servers shipped together

Good fit Use it to choose a commerce platform, connect a custom frontend to Shopify, set up Medusa.js or Saleor, design product catalogs, and plan cart and checkout behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/ecommerce-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add roedyrustam/vibes-plug --skill ecommerce-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 176 skills, 9 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ecommerce-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/ecommerce-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/ecommerce-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/ecommerce-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/ecommerce-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ecommerce-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/ecommerce-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/ecommerce-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,249 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.02249
Opus 5.5 $0.00028 $0.00900
Sonnet 5.5 $0.00014 $0.00450
Haiku 4.5 $0.00007 $0.00225

Measured 6d ago against content hash 48b788931393, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

ecommerce-expert scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch('https://api.doku.com/checkout/v1/payment', { method: 'POST',
.cursor/skills/ecommerce-expert/SKILL.md · 208 lines

How it starts

The opening of the file, as written. The whole thing — 208 lines — stays where its author put it; the contents beside it link to each section on GitHub.

E-Commerce Architecture & Modern Storefront Expert (2026 Edition)

English | Bahasa Indonesia


English

Description

Production guide for high-converting e-commerce architectures, headless storefronts (Medusa.js v2, Shopify Storefront API, Saleor), inventory atomicity, and multi-rail payment integrations (DOKU Checkout, SNAP BI, Stripe). Covers atomic stock reservations to prevent race-condition overselling during flash sales, cart session state machines, structured schema markup (Product, Offer, BreadcrumbList), and localized checkout workflows.

Trigger Conditions

  • Designing or developing an e-commerce platform, marketplace, or custom storefront.
  • Integrating headless commerce engines (Medusa.js v2, Shopify Storefront API).
  • Preventing inventory race conditions during high-concurrency checkout traffic.
  • Integrating localized Indonesian payment methods (DOKU Virtual Account, QRIS, Direct Debit).
  • Optimizing product page Core Web Vitals and SEO schema.

Atomic Inventory Reservation Pattern (PostgreSQL / Drizzle)

Prevents overselling during high-concurrency flash sales using row-level pessimistic locking (FOR UPDATE):

// src/services/inventory.service.ts
import { db } from '@/lib/db';
import { sql } from 'drizzle-orm';

export interface ReserveStockResult {
  success: boolean;
  orderId?: string;
  errorMessage?: string;
}

export async function reserveProductStockAtomic(
  productId: string,
  requestedQuantity: number,
  orderId: string
): Promise<ReserveStockResult> {
  return await db.transaction(async (tx) => {
    // 1. Lock the inventory row strictly for update
    const [product] = await tx.execute(sql`
      SELECT id, stock_quantity, price_cents, is_active
      FROM products
      WHERE id = ${productId}
      FOR UPDATE
    `);

    if (!product || !product.is_active) {
      return { success: false, errorMessage: 'Product is unavailable.' };
    }

    if (product.stock_quantity < requestedQuantity) {
      return { success: false, errorMessage: 'Insufficient stock remaining.' };
    }

    // 2. Decrement available inventory atomically
    await tx.execute(sql`
      UPDATE products
      SET stock_quantity = stock_quantity - ${requestedQuantity},
          updated_at = NOW()
      WHERE id = ${productId}
    `);

    // 3. Create provisional stock reservation record (15-minute TTL)
    await tx.execute(sql`
      INSERT INTO stock_reservations (order_id, product_id, quantity, expires_at)
      VALUES (${orderId}, ${productId}, ${requestedQuantity}, NOW() + INTERVAL '15 minutes')
    `);

    return { success: true, orderId };
  });
}

Read the full file on GitHub · 208 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +12 lines 48b788931393
  2. 7d ago Changed · +1 lines c2c6f95f4412
  3. 10d ago Changed · +107 lines scan A → B 8db9b91ec607
  4. 19d ago Changed c72a5192d5d9
  5. 24d ago Changed 36da667c18d0
  6. 25d ago Changed 57b6c525a0dd
  7. 27d ago Changed · -6 lines · +60 tokens per session 34f97a93584f
  8. 29d ago Changed · +6 lines · -60 tokens per session 204d33ffc4af
  9. 1mo ago Changed 720f463a1250
  10. 1mo ago First seen · 88 lines · 70 tokens per session scan A d7b18c6dbc8d

Subscribe to this mod's changes

ecommerce-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (115 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 2,249 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (sends data to an external url). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ai-engineering-toolkit

Overview of six AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

sickn33/agentic-awesome-skills · 47 tokens

ai-prompt-regression-testing

Use when comparing prompt changes against a fixed evaluation set: record actual model settings, required checks, missing results, judge limitations and case-level regression evidence.

sickn33/agentic-awesome-skills · 37 tokens

shopify-developer

Complete Shopify development reference covering Liquid templating, OS 2.0 themes, GraphQL APIs, Hydrogen, Functions, and performance optimization (API v2026-01). Use when working with .liquid files, building Shopify themes or apps, writing GraphQL queries for Shopify, debugging Liquid errors, creating app extensions…

tech-leads-club/agent-skills · 127 tokens

wordpress

Expert WordPress assistance covering themes, plugins, REST API, Gutenberg blocks, and WPQuery. Use when developing custom WordPress plugins, themes, or headless CMS backends.

G1Joshi/Agent-Skills · 38 tokens

frontier

Execute any task at frontier quality. Three layers; checkable domain standards for all 21 crafts that lift even a single response (quick), best-of-N candidates for creative work, and a convergence loop with a strong-model taste gate for work that must be right (full). Self-contained; bundles the protocol, every craft…

apoorvjain25/frontier · 187 tokens

apify-ecommerce

Extract product data, prices, reviews, and seller information from any e-commerce platform using Apify's E-commerce Scraping Tool.

lingxling/awesome-skills-cn · 31 tokens