sakthiveltofficial/dsh-shopify-plugins ↗★ 1
@shopify/dsh-shopify
DeepSeek Harness 的 Shopify 插件,通过 Admin REST 和 GraphQL API 提供 210 多个模型工具,支持访问令牌认证。
AI 分析
核心用途是让 AI 助手能够直接管理 Shopify 店铺的商品、订单、库存和客户。适合 Shopify 商家或运营人员通过 AI 实现电商业务自动化管理。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗🧠 Agent usage conventions (the "skills")
These conventions are injected into the agent's system prompt when the plugin mounts; they are also the ground rules for anyone prompting the agent with Shopify:
- IDs: REST tools take numeric resource IDs (e.g.
product_id: '8313381814466'); GraphQL tools take GIDs (gid://shopify/Product/123). Convert with GraphQL'slegacyResourceIdwhen crossing. - Pagination: REST list tools return
next_page_info— loop withpage_infountil it isnull; never silently truncate. GraphQL lists: requestpageInfo { hasNextPage endCursor }and paginate withafter. - Rate limits: REST bucket ~40 GET / ~20 write calls per minute; GraphQL ~1000 cost points/min (~50/s refill). On
429/THROTTLED/ a fullX-Shopify-Shop-Api-Call-Limitbucket, back off (1s, 2s, 4s) and reduce concurrency. Preferlimit: 50–100over huge pages. - userErrors: mutations return validation failures in the payload's
userErrorsarray with HTTP 200 — always inspect them. Top-level GraphQLerrorsare also validation, not transport, failures. - Deprecated REST endpoints: the REST Admin API is legacy; prefer
shopify_graphql_*tools for new product-model work (options, media, publishing) and anything REST does not expose. - Refunds: always call
shopify_calculate_refundfirst, then change transactionkindfrom'suggested_refund'to'refund'beforeshopify_create_refund. - Money: amounts are decimal strings (
'19.99'); always pass the shop currency (fromshopify_get_shop_details/shopify_query_shop) and never assume USD. - Timezones: Shopify stores timestamps in UTC, but date filters evaluate in the shop's local timezone (
iana_timezonefromshopify_get_shop_details) — adjust boundary-day queries. - Destructive actions (
shopify_delete_*,shopify_disable_gift_card) are irreversible: confirm with the user before executing.