Loading...
Loading...
Compare original and translation side by side
shopify store auth --store <domain> --scopes read_productsread_productsshopify store auth --store <domain> --scopes read_productsread_products| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| store | string | yes | — | Store domain (e.g., mystore.myshopify.com) |
| status_filter | string | no | active | Product status to score: |
| required_metafields | array | no | [] | List of |
| format | string | no | human | Output format: |
| 参数 | 类型 | 是否必填 | 默认值 | 描述 |
|---|---|---|---|---|
| store | 字符串 | 是 | — | 店铺域名(例如 mystore.myshopify.com) |
| status_filter | 字符串 | 否 | active | 需要打分的商品状态: |
| required_metafields | 数组 | 否 | [] | 必填的 |
| format | 字符串 | 否 | human | 输出格式: |
ℹ️ Read-only skill — no mutations are executed. Safe to run at any time.
ℹ️ 只读技能——不会执行任何修改操作,随时运行都安全。
| Field | Points |
|---|---|
| Description present (non-empty) | 15 |
| At least 1 image | 15 |
| SEO title present | 10 |
| SEO description present | 10 |
| At least 1 variant with barcode | 10 |
| At least 1 variant with cost | 10 |
| At least 1 variant with weight | 10 |
| All required metafields present | 20 (split evenly) |
| Total | 100 |
| 字段 | 分值 |
|---|---|
| 描述存在(非空) | 15 |
| 至少1张图片 | 15 |
| SEO标题存在 | 10 |
| SEO描述存在 | 10 |
| 至少1个变体带有条形码 | 10 |
| 至少1个变体带有成本信息 | 10 |
| 至少1个变体带有重量信息 | 10 |
| 所有必填metafields都存在 | 20(按字段数量均分) |
| 总计 | 100 |
productsquery: "status:<status_filter>"first: 250hasNextPage: falseproductsquery: "status:<status_filter>"first: 250hasNextPage: falseundefinedundefinedundefinedundefined╔══════════════════════════════════════════════╗
║ SKILL: Product Data Completeness Score ║
║ Store: <store domain> ║
║ Started: <YYYY-MM-DD HH:MM UTC> ║
╚══════════════════════════════════════════════╝[N/TOTAL] <QUERY|MUTATION> <OperationName>
→ Params: <brief summary of key inputs>
→ Result: <count or outcome>format: human══════════════════════════════════════════════
PRODUCT DATA COMPLETENESS REPORT
Products scored: <n>
Avg score: <pct>/100
Score < 50: <n> products (need urgent attention)
Score 50–79: <n> products
Score ≥ 80: <n> products
Lowest scoring products:
"<title>" Score: <n>/100 Missing: description, SEO title
Output: completeness_<date>.csv
══════════════════════════════════════════════format: json{
"skill": "product-data-completeness-score",
"store": "<domain>",
"products_scored": 0,
"avg_score": 0,
"below_50_count": 0,
"output_file": "completeness_<date>.csv"
}╔══════════════════════════════════════════════╗
║ SKILL: Product Data Completeness Score ║
║ Store: <store domain> ║
║ Started: <YYYY-MM-DD HH:MM UTC> ║
╚══════════════════════════════════════════════╝[N/TOTAL] <QUERY|MUTATION> <OperationName>
→ Params: <brief summary of key inputs>
→ Result: <count or outcome>format: human══════════════════════════════════════════════
PRODUCT DATA COMPLETENESS REPORT
Products scored: <n>
Avg score: <pct>/100
Score < 50: <n> products (need urgent attention)
Score 50–79: <n> products
Score ≥ 80: <n> products
Lowest scoring products:
"<title>" Score: <n>/100 Missing: description, SEO title
Output: completeness_<date>.csv
══════════════════════════════════════════════format: json{
"skill": "product-data-completeness-score",
"store": "<domain>",
"products_scored": 0,
"avg_score": 0,
"below_50_count": 0,
"output_file": "completeness_<date>.csv"
}completeness_<YYYY-MM-DD>.csvproduct_idtitlescorehas_descriptionimage_counthas_seo_titlehas_seo_descriptionhas_barcodehas_costhas_weightmissing_metafieldscompleteness_<YYYY-MM-DD>.csvproduct_idtitlescorehas_descriptionimage_counthas_seo_titlehas_seo_descriptionhas_barcodehas_costhas_weightmissing_metafields| Error | Cause | Recovery |
|---|---|---|
| API rate limit exceeded | Wait 2 seconds, retry up to 3 times |
| No products match filter | Empty catalog or wrong filter | Exit with 0 results |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| API速率限制超出 | 等待2秒,最多重试3次 |
| 无符合过滤条件的商品 | 商品目录为空或过滤条件错误 | 退出,返回0条结果 |
required_metafieldscustom.materialcustom.ingredientsrequired_metafieldscustom.materialcustom.ingredients