variant-matrix

Installation
SKILL.md

Variant Matrix

Overview

Product variants let one product listing cover all size/color/material combinations — each with its own price, SKU, and inventory. Platforms generate the full matrix of combinations from your option values and handle the variant selector UI automatically. The main tasks are: entering options correctly, generating all SKUs, setting per-variant pricing and inventory, and managing large matrices efficiently.

When to Use This Skill

  • When modeling apparel, footwear, or accessories where products have multiple option axes
  • When importing products from a supplier CSV with flat variant rows that need to be grouped
  • When building an admin interface for merchants to manage variant pricing and inventory
  • When a variant selector on the product page needs to disable unavailable combinations

Core Instructions

Step 1: Determine platform and understand the variant model

Related skills
Installs
26
GitHub Stars
20
First Seen
Mar 16, 2026