ReplAi-Now/shopify-skills / skills/store/size-chart-builder
size-chart-builder
VerifiedBuild accurate size charts (English or Arabic) from supplier sheets or measurements, and add them to Shopify. Use for "make a size chart", "size guide" or "جدول مقاسات".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.6 KB |
| assets/base-typical-men-bottoms.csv | other | 107 B |
| assets/base-typical-men-shoes.csv | other | 162 B |
| assets/base-typical-men-tops.csv | other | 170 B |
| assets/base-typical-women-bottoms.csv | other | 133 B |
| assets/base-typical-women-dresses.csv | other | 161 B |
| assets/base-typical-women-shoes.csv | other | 161 B |
| assets/base-typical-women-tops.csv | other | 161 B |
| assets/ease.json | config | 1.3 KB |
| assets/setup.example.json | config | 482 B |
| assets/size-chart-snippet.liquid | other | 2.2 KB |
| assets/size-chart-template.csv | other | 71 B |
| references/base-tables.md | markdown | 1.8 KB |
| references/csv-format.md | markdown | 1.8 KB |
| references/extraction.md | markdown | 2.1 KB |
| references/method.md | markdown | 3.3 KB |
| references/shopify-placement.md | markdown | 6.6 KB |
| scripts/sizechart.py | script | 33.3 KB |
| scripts/tabular.py | script | 6.2 KB |
references/extraction.md
View on GitHub# Turning any input into the standard CSV
Always end with `chart.csv` in the shape described in `csv-format.md`, show it to the merchant as a table, and ask "Is this right?" before rendering or saving anything.
## Supplier spec sheet (XLSX, CSV, Google Sheet export)
1. Preview it: `python3 scripts/tabular.py supplier.xlsx`. Find the size row or column (sheets are often transposed: sizes across the top, measurements down the side).
2. Map each supplier term to a standard name. Common supplier terms: "1/2 chest", "chest width", "pit to pit" = flat chest (keep flat, basis garment). "Body length", "HPS length", "total length" = length. "Waist relaxed" vs "waist extended": use relaxed and note the stretch. "Tolerance +/-1" rows are not sizes; drop them and mention the tolerance in the fit note.
3. Factory sheets often grade in one unit and print another; check the header unit and a sanity value (a women's M chest flat near 45-55 cm, a body bust near 85-95 cm).
## PDF
Read the table text. If the PDF is a scan, read it like a photo. Watch for columns that shifted during extraction: re-check one full row against the PDF.
## Photo of a spec sheet or a handwritten table
Read every number, then repeat the table back to the merchant before using it. Mark anything unreadable as blank and ask for it. Never guess a blurry digit.
## Photos of flat-measured garments
1. For each photo, note the size label, which measurement the tape shows, and the reading at the edge of the garment (not the tape end).
2. Ask the merchant to confirm any reading you are less than sure of, and which side of the tape is cm.
3. These are garment flat numbers: keep them flat in the CSV and run `body` for guidance.
4. One garment per size is enough; if two samples of the same size differ by more than 1 cm, tell the merchant (factory tolerance) and use the average only if they agree.
## Measurements typed in chat
Accept any order ("M chest 96 waist 80, L chest 100 waist 84"). Build the CSV, repeat it as a table, ask for confirmation.
## Base standard
Copy the matching `assets/base-typical-*.csv`, drop the columns the merchant does not want, and say it is a typical starting point.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |