返回 Skill 列表
extension
分类: 开发与工程无需 API Key

Content Seeder

根据Shopify架构输入生成逼真的虚拟数据(文本、图像、产品)。

person作者: jakexiaohubgithub

Capabilities

Helps developers populate empty theme sections with testing data. By passing a Shopify JSON Schema (from {% schema %}), this skill returns a JSON object of settings filled with plausible content (Lorem Ipsum, Unsplash images, names, etc.).

Tools Usage Guide

1. generate_dummy_data

Parses a Shopify Schema settings array and generates a corresponding settings object populated with dummy data.

  • Param schema_json: The JSON string of the section schema (specifically the settings array).
  • Returns: A JSON object where keys are setting IDs and values are generated content.

Example

Input Schema:

[
  { "type": "text", "id": "heading", "label": "Heading" },
  { "type": "image_picker", "id": "banner", "label": "Banner Image" }
]

Output:

{
  "heading": "Elegant Sustainable Fashion",
  "banner": "shopify://shop_images/fashion_banner_mockup.jpg"
}