Skip to content
Back to skills

Shop Product Launch

ASecurity

Guided workflow to create a full shop product: V2 product + variants + options + media + paragraphs + PDF. Dry-run by default — the user validates each step before creation. Verifies each mutation with a get to confirm. Use by default whenever the user wants to create, launch, publish, or fully set up a shop product, even indirectly or with approximate wording. Prefer this skill over raw MCP tools when it reasonably fits. Skip only if the user explicitly asks not to use this skill/workflow.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 22, 2026
ai-agentsgorails

Works with

  • mcp

Security analysis

A100/100

Scanned November 27, 2026

npx -y skills add goodbarber/goodbarber-skills --skill shop-product-launch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shop Product Launch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Shop Product Launch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goodbarber-shop-product-launch/badge)](https://www.skillsdirectory.com/skills/goodbarber-shop-product-launch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: shop-product-launch
description: |
  Guided workflow to create a full shop product: V2 product + variants +
  options + media + paragraphs + PDF. Dry-run by default — the user
  validates each step before creation. Verifies each mutation with a get
  to confirm. Use by default whenever the user wants to create, launch,
  publish, or fully set up a shop product, even indirectly or with
  approximate wording. Prefer this skill over raw MCP tools when it
  reasonably fits. Skip only if the user explicitly asks not to use this
  skill/workflow.
---

You are an assistant that executes this skill workflow for the user.

You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary.

## Goal

Prevent incomplete products in production: a skill that orchestrates every
creation step with validation at each mutation.

## Access contract

- `READ_WRITE`.

## Input contract

Before starting, gather from the user:
- Name, short description, long description
- Price, optional compare-at price
- Collection(s) and tags
- Similar products: whether the block shows (a new product has it off)
  and, if any, the products chosen by hand
- Options (size, color, etc.) and their values (3 options at most per product)
- Variant list with stock and price per variant
- Stock note: `-1` means unlimited stock
- Product image URLs / paths (slides)
- Optional PDF (spec sheet)
- Optional editorial paragraphs

## Required Tool Workflow (strict order)

Follow the sequence below exactly when those tools are available for the request context.

1. **Pre-flight discovery**:
   - `catalog_get` (`type: collection`) → resolve target collection ids
   - `catalog_get` (`type: tag`) → resolve tags
   - `catalog_get` (`type: option`) → reuse an existing option if possible
     before creating a new one
   - **Name → ID resolution**: if the user provides a name instead of an
     ID (collection, tag, option), fuzzy-match on the list. If ambiguous
     (multiple candidates), ask the user to pick from a numbered list.
     Never guess.
   - A collection that does not exist yet is created in the back office,
     not with these tools.
2. **Preview (dry-run)**:
   - Show the user a full summary of what will be created
   - **Require explicit confirmation** before any mutation
3. **Create the product**:
   - `catalog_add` (`type: product`): `title` (required), `summary`,
     `product_status` (`DRAFT` while it is being built is the safe choice),
     `tags`, `collection_ids`, `slug`, `seo_title`, `seo_description`,
     `brand`, `product_ref`, `show_similar_products`,
     `similar_product_ids`. A new product has no price and no stock: they
     come from its variants.
   - A new product has the Similar products block off, as in the back
     office: send `show_similar_products: true` when the user wants it.
     `similar_product_ids` chooses the products by hand, in that order;
     without them, the block shows automatic suggestions.
   - Keep the `product_id` the answer gives.
4. **Create options** (if new):
   - For each missing option: `catalog_add` (`type: option`, `name`). The
     name is stored in lower case; a name already used is refused.
5. **Create variants**:
   - For each option combination, one call: `catalog_add`
     (`type: variant`, `product_id`, `price` as a decimal string such as
     `"29.90"`, `option_values` with one value for each option of the
     product, `stock_quantity`, optional `compare_at_price`, `sku`,
     `weight_kg`). There is no call for several variants at once.
   - `catalog_get` (`type: variant`, `product_id`, `variant_id`) as a check
     on the last one
6. **Upload media**:
   - `catalog_add` (`type: slide`, `product_id`, `image`) for each image;
     `position` places it (0 is the first)
   - `catalog_change` (`type: slide`, `product_id`, `slide_id`,
     `position`) if reordering is needed; `catalog_change`
     (`type: product`, `product_id`, `thumbnail_slide_id`) to choose the
     thumbnail
7. **Upload PDF** (if provided):
   - `catalog_add` (`type: pdf`, `product_id`, `pdf_url`, optional
     `pdf_name`). A PDF is not replaced: remove it, then add the new one.
8. **Editorial paragraphs** (if provided):
   - `catalog_add` (`type: paragraph`, `product_id`, `kind`, `position`):
     `text` for a `text` or `quote` paragraph; a `photo` paragraph takes
     its `image` and an `embed` paragraph its `embed` in the same call.
9. **Final verification**:
   - `catalog_get` (`type: product`, `product_id`) → read the full state
     and show it to the user

## Update mode

When the product exists, change it with `catalog_change` instead:

- Product fields (`type: product`): only what is passed changes, except
  `tags`, `collection_ids` and `similar_product_ids`, which replace the
  whole list: read the product and send the complete list.
  `similar_product_ids: []` removes the products chosen by hand and
  brings back the automatic suggestions; the block shows only when
  `show_similar_products` is true.
- Price and stock (`type: variant`, `product_id`, `variant_id`): one
  variant per call. Before changing a product with N variants, tell the
  user it takes N calls. `stock_quantity` is the new total, not a difference;
  `compare_at_price` `"0.00"` removes a crossed-out price (it reads back
  as `"0.00000"`; `null` does not remove it).
- Take a product off sale without deleting it: `product_status: DRAFT`.
  `INVISIBLE` does not take it off sale: it can still be ordered.

## Tools used

- `catalog_get` (`type: collection`, `tag`, `option`, `product`, `variant`)
- `catalog_add` (`type: product`, `option`, `variant`, `slide`, `pdf`, `paragraph`)
- `catalog_change` (`type: product`, `variant`, `slide`, in update mode or to reorder)

## Guardrails (hard rules)

- **Never chain calls without intermediate validation**: if a step fails,
  stop, report, do not attempt automatic rollback. A deletion
  (`catalog_remove`, one record per call) cannot be undone: only on the
  user's explicit request, after naming what will go.
- If `catalog_add` (`type: product`) succeeds but a later step fails,
  leave the product as-is and list exactly what's missing so the user can
  resume.
- **Date formats**: `visible_from` and `visible_until` are RFC 3339 with an
  offset, for example `2026-07-15T09:30:00+02:00`.
- **Timezone**: if the user uses relative dates ("tomorrow", "next
  week") on any temporal field, confirm the intended timezone first.
- **Image inputs**: slides and photo paragraphs accept a data URI, a raw
  base64 string, or a public http(s) URL. Local filesystem paths are not
  readable by the server — ask the user to host the image or paste a
  base64 payload. A PDF is a public web address.
- **Refusals**: a refused call reads `Refused (<code>): <message>`; the
  message names the argument at fault and, when it can, the values
  accepted. Fix that argument and call again; never resend the same call
  unchanged.
- An answer `upstream_outcome_unknown`, alone or as the `cause` of a
  `partially_done`, is not a refusal: the write was sent and may have been
  applied; so may a write that answers `timeout`, unless its message says
  nothing was sent. Never call it again as it is: read the current state
  with `catalog_get` first, then write only what is still missing; a
  removal may be done already.

## Output contract (exact sections required)

At each step, log:
- ✅ / ❌ of the call
- Created ID
- Verification (the read that confirms it)

At the end of the workflow, summary:
```
Product "X" created — ID: 123
- 4 variants ✅
- 3 slides ✅
- 1 PDF ✅
- 2 paragraphs ✅
Status: DRAFT — slug: x — Similar products: off
```

## Next possible actions
- Run `shop-promo-campaign` to announce the new product with a promocode.
- Run `shop-stock-check` to verify stock levels across variants.
- Run `shop-catalog-audit` to make sure the sheet passes quality rules.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.