本文へ移動
cccskills
無料GitHub で公開

commerce-data-model

Design and audit the core e-commerce domain model — products, variants, SKUs, options, collections, attributes, taxonomy, faceted search and pagination. Language- and platform-agnostic. Triggers: modeling a catalog, reviewing an existing product schema, designing filtering/search.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcaneスター 3(GitHub 3 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.0 KB
  • references/data-model-spec.md3.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Commerce Data Model

Design the backbone of any storefront: a product catalog model that survives variants, bundles, localization, and faceted search — independent of language, framework, or database.

Note: This skill may create or modify files in your project (a model spec or schema doc). It will ask before writing.

Before Starting

Gather: business context (physical/digital/services, single vs multi-vendor, B2C/B2B), scale (SKU count, variant explosion, locales/currencies), and goal (model from scratch, audit an existing schema, or design taxonomy + filtering).

How This Skill Works

ModeTriggerOutput
ModelmodelEntity model spec: Product, Variant, SKU, Option, Collection, Attribute
AuditauditGap analysis of an existing schema against commerce best practices
TaxonomytaxonomyCategory tree, attribute schema, faceted-search and pagination design

Phase 1 — Core Entities

The canonical separation that prevents 90% of catalog pain:

EntityIsIs NOTKey fields
ProductThe marketing/SEO unit ("Acme Tee")A buyable thingtitle, description, slug, status, brand
VariantA buyable combination ("Tee / Red / M")A categoryoption values, price, weight, barcode
SKUThe stock-keeping identifierA variant's pricecode, variant_id
OptionAn axis of variation (Color, Size)A valuename, position
CollectionA merchandising groupingA taxonomy nodetitle, rules (manual/automatic)

Rule: Price, inventory, and barcode live on the Variant, never the Product. A product with no options still has exactly one variant.

For the full field-level spec, identifiers (GTIN/MPN), bundles/kits, and digital vs physical modeling, see references/data-model-spec.md.


Phase 2 — Attributes & Taxonomy

  • Taxonomy (category tree): hierarchical, navigational, one primary path per product. Stable URLs.
  • Collections: many-to-many merchandising overlays (manual or rule-based). A product lives in one category branch but many collections.
  • Attributes: typed key-values (material: cotton, sleeve: short). Drive facets. Define a controlled vocabulary — free-text attributes break filtering.

Attribute typing: text | enum | number | boolean | measurement. Enums must reference a value list. Measurements carry a unit.


Phase 3 — Faceted Search & Pagination

  • Facets come from enum/boolean/measurement attributes, not free text.
  • Multi-select within a facet = OR; across facets = AND.
  • Always show counts; never show zero-result facet values.
  • Pagination: prefer cursor/keyset over offset for deep catalogs (offset degrades and double-counts under writes). Cap page size.

Output Artifacts

RequestOutput
Model from scratchEntity spec + ER sketch + identifier strategy
Audit schemaVerdict per entity: COMPLIANT / CONCERNS, with fixes
Design taxonomyCategory tree + attribute schema + facet plan

A schema is COMPLIANT when price/inventory sit on variants, every product has ≥1 variant, attributes are typed against vocabularies, and URLs are stable.


Related Skills

  • storefront-architecture: consumes this model to design PLP/PDP pages. Next step after modeling.
  • merchant-feed: maps these entities to Google/Meta feed attributes.
  • inventory-stock: owns stock levels that hang off the SKU/variant.
  • order-lifecycle: references variants as order line items.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

日本語の概要は準備中です。原文の説明を表示しています。

SebastianLuser/claude-code-arcane32026年10月27日 更新

SebastianLuser のスキルをすべて見る

このスキルの問題を報告する