Initialize the current folder as a Shopify store workspace and maintain a structured local mirror of store data inside the repo. Use when Codex needs to bootstrap a store repo, organize products, collections, media, metafields, and metaobjects in a consistent layout, or keep exported store state current and easy to work with.
Use this skill to turn the current folder into a Shopify store workspace with clear structure, stable export conventions, and a predictable local representation of store data.
scripts/init-store-workspace.sh from this skill to stamp the current folder with the standard directory layout.The bootstrap script creates this layout in the target folder:
collections/
metafields/
definitions/
values/
metaobjects/
definitions/
entries/
products/
Use one folder per product handle under . Keep downloaded media under each product's directory. Keep collections one folder per collection handle under . Keep metafield definitions separate from metafield values, and keep metaobject definitions separate from exported entries.
products/media/collections/media.json and actual files in media/.assets/store-template/scripts/shopify-export/ when extending or patching workspace export behavior.scripts/init-store-workspace.shRun this script from inside the skill to initialize any target folder:
/path/to/skill/scripts/init-store-workspace.sh /path/to/store-workspace
If no argument is provided, it initializes the current working directory.
assets/store-template/Contains the exporter entrypoint and modules used by the skill when writing store data into a target workspace.
references/workflow.mdRead when you need the exact repo conventions for products, collections, media, and metadata exports.