shopify-admin-order-hold-and-release
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "shopify-admin-order-hold-and-release":https://skillpi.com/zh/skills/deepskill-26da11522af84916d86880b4b58b0a002658cf18f007be1180c160e44e45ff4b。安装前核对上游来源和版本:https://github.com/40RTY-ai/shopify-admin-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
批量对开放订单执行或解除履约保留,并注明原因及可选的到期日期。
介绍来源: third_party · 40RTY-ai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 软件、账号及付费要求
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: shopify-admin-order-hold-and-release
role: fulfillment-ops
description: "Place or release fulfillment holds on open orders in batch — with a stated reason and optional expiry date."
toolkit: shopify-admin, shopify-admin-execution
api_version: "2025-01"
graphql_operations:
- orders:query
- fulfillmentOrderHold:mutation
- fulfillmentOrderReleaseHold:mutation
status: stable
compatibility: Claude Code, Cursor, Codex, Gemini CLIPurpose
Places or releases holds on fulfillment orders programmatically without navigating the Shopify admin. Useful for fraud review queues, inventory shortages, or payment verification workflows. Works on orders with fulfillment orders in OPEN status.
Prerequisites
shopify auth login --store <domain>- API scopes:
read_orders,write_merchant_managed_fulfillment_orders
Parameters
Universal (store, format, dry_run) + skill-specific:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| action | string | yes | — | hold or release |
| order_ids | array | no* | — | Array of order GIDs to target (e.g., ["gid://shopify/Order/123"]) |
| query_filter | string | no* | — | Shopify order search query to select orders (e.g., "tag:fraud-review") |
| reason | string | no | OTHER |
Hold reason: AWAITING_PAYMENT, HIGH_RISK_OF_FRAUD, INCORRECT_ADDRESS, INVENTORY_OUT_OF_STOCK, OTHER |
| reason_notes | string | no | — | Free-text note visible to fulfillment staff |
| hold_until | string | no | — | ISO 8601 date when hold auto-expires (optional) |
*One of order_ids or query_filter is required.
Safety
⚠️ Step 2 places or releases holds on live fulfillment orders. Holding an order prevents it from being fulfilled and may delay delivery. Releasing a hold allows fulfillment to proceed immediately. Run with
dry_run: trueto preview which orders will be affected before committing.
Workflow Steps
-
OPERATION:
orders— query Inputs:order_idslist orquery_filterstring; fetch each order'sfulfillmentOrdersto get the fulfillment order IDs and currentstatusExpected output: List of fulfillment order GIDs with their currentstatus; skip any already in the target state (already held / not held) -
OPERATION:
fulfillmentOrderHold— mutation (ifaction: hold) Inputs:id: <fulfillmentOrderId>,fulfillmentHold: { reason, reasonNotes, holdUntilDate }per fulfillment order Expected output: UpdatedfulfillmentOrder.status: ON_HOLD,userErrorsOR
-
OPERATION:
fulfillmentOrderReleaseHold— mutation (ifaction: release) Inputs:id: <fulfillmentOrderId>per held fulfillment order Expected output: UpdatedfulfillmentOrder.status: OPEN,userErrors
GraphQL Operations
# orders:query — validated against api_version 2025-01
query OrdersForHold($first: Int!, $after: String, $query: String) {
orders(first: $first, after: $after, query: $query) {
edges {
node {
id
name
displayFulfillmentStatus
fulfillmentOrders(first: 5) {
edges {
node {
id
status
requestStatus
}
}
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}
# fulfillmentOrderHold:mutation — validated against api_version 2025-01
mutation FulfillmentOrderHold($id: ID!, $fulfillmentHold: FulfillmentOrderHoldInput!) {
fulfillmentOrderHold(id: $id, fulfillmentHold: $fulfillmentHold) {
fulfillmentOrder {
id
status
}
remainingFulfillmentOrder {
id
status
}
userErrors {
field
message
}
}
}
# fulfillmentOrderReleaseHold:mutation — validated against api_version 2025-01
mutation FulfillmentOrderReleaseHold($id: ID!) {
fulfillmentOrderReleaseHold(id: $id) {
fulfillmentOrder {
id
status
}
userErrors {
field
message
}
}
}
Session Tracking
Claude MUST emit the following output at each stage. This is mandatory.
On start, emit:
╔══════════════════════════════════════════════╗
║ SKILL: order-hold-and-release ║
║ Store: <store domain> ║
║ Started: <YYYY-MM-DD HH:MM UTC> ║
╚══════════════════════════════════════════════╝
After each step, emit:
[N/TOTAL] <QUERY|MUTATION> <OperationName>
→ Params: <brief summary of key inputs>
→ Result: <count or outcome>
If dry_run: true, prefix every mutation step with [DRY RUN] and do not execute it.
On completion, emit:
For format: human (default):
══════════════════════════════════════════════
OUTCOME SUMMARY
Orders targeted: <n>
Fulfillment orders held/released: <n>
Skipped (already in target state): <n>
Errors: 0
Output: none
══════════════════════════════════════════════
For format: json, emit:
{
"skill": "order-hold-and-release",
"store": "<domain>",
"started_at": "<ISO8601>",
"completed_at": "<ISO8601>",
"dry_run": false,
"steps": [
{ "step": 1, "operation": "OrdersForHold", "type": "query", "params_summary": "<filter or ids>", "result_summary": "<n> fulfillment orders found", "skipped": false },
{ "step": 2, "operation": "FulfillmentOrderHold|FulfillmentOrderReleaseHold", "type": "mutation", "params_summary": "<n> fulfillment orders, action: <hold|release>", "result_summary": "<n> updated", "skipped": false }
],
"outcome": {
"action": "<hold|release>",
"orders_targeted": "<n>",
"fulfillment_orders_affected": "<n>",
"skipped": "<n>",
"errors": 0,
"output_file": null
}
}
Output Format
No CSV. Inline summary table: | Order | Fulfillment Order ID | Previous Status | New Status | |-------|---------------------|-----------------|------------| | #1001 | gid://...FulfillmentOrder/456 | OPEN | ON_HOLD |
Error Handling
| Error | Cause | Recovery |
|---|---|---|
fulfillmentOrder.status is already ON_HOLD |
Order already held | Skipped automatically — logged in output |
fulfillmentOrder.status is not OPEN or ON_HOLD |
Order is already fulfilled, cancelled, or in progress | Cannot hold/release; skip and report |
INVENTORY_OUT_OF_STOCK reason without note |
Some stores require a note for this reason | Add reason_notes parameter |
userErrors from mutation |
Insufficient scopes or invalid fulfillment order state | Verify write_merchant_managed_fulfillment_orders scope |
Best Practices
- Use
query_filter: "tag:fraud-review"to hold all orders tagged by your fraud detection process in one command. - Set
hold_untilto automatically release holds after a review window — prevents holds being forgotten on customer orders. - Always run
dry_run: truefirst when usingquery_filter— confirm the order count before holding dozens of orders at once. - Combine with
fulfillment-status-digestto identify held orders and then batch-release them after resolving exceptions. - The
AWAITING_PAYMENTreason is visible to fulfillment staff and provides context for why an order is paused.
版本历史
-
v1.1.0
GitHub ↗
原版更新说明
## 🤖 New category: Agentic Commerce Readiness The fix-it side of the [**agentiq.report**](https://agentiq.report) audit. The audit tells operators *where* AI shopping agents (ChatGPT, Gemini, Perplexity, agentic checkout) can't find, read, or recommend their store. This release adds **10 skills that remediate those findings** via the native Shopify Admin GraphQL toolkit — closing the loop: **audit finds the gap → run the matching skill → re-audit confirms.** Every skill declares the audit **signals** it fixes (`audit_signals` frontmatter), so a finding in the report maps directly to the skill that resolves it. ### Skills - **`agentic-readiness-audit`** — flagship, read-only store-side scorecard that routes each gap to its fix skill - **`agentic-product-jsonld-backfill`** — barcode/GTIN, vendor, product type for complete Product JSON-LD - **`agentic-image-alt-text`** — descriptive alt text on product media - **`agentic-description-enrichment`** — fact-rich descriptions for AI quoting - **`agentic-metafields-setup`** — define + populate agentic metafields for filtering - **`agentic-product-taxonomy`** — Shopify Standard Product Taxonomy categories - **`agentic-crawler-access`** — allow GPTBot/ClaudeBot/PerplexityBot… in `robots.txt.liquid` - **`agentic-llms-txt`** — publish a curated `/llms.txt` for AI assistants - **`agentic-organization-schema`** — Organization JSON-LD (sameAs, contactPoint) into the theme - **`agentic-policy-readability`** — machine-readable shipping/returns policies Plus a weekly **`agentic-readiness-monitor`** routine that re-audits and alerts on regressions. ### Stats **116 skills across 11 categories** (was 106/10), **21 routines** (was 20). All GraphQL validated against the live Admin 2025-01 schema; `pnpm validate:index` passes (116 skills, 64 operations). ### Notes Theme-editing and policy skills default to `dry_run`/`audit` mode, write inside managed `# BEGIN/END` blocks, and recommend duplicating the theme first.
当前收录版本
0.0.1
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 解决 Shopify 商家在欺诈审查、库存短缺等场景下的订单履约保留批量操作需求
- 适用于电商运营高频任务,显著提升处理效率
亮点
- description 清晰覆盖 hold/release 两种核心动作及关键参数
- frontmatter 描述完整且位置规范
待提升项
-
缺少 When to Use 显式章节 原报告严重程度:轻微
文档使用 Purpose 章节而非标准 When to Use 命名
改进建议:建议将 Purpose 章节标题改为 When to Use 以符合规范
亮点
- Workflow Steps 划分清晰,含查询和执行两个阶段
- 提供完整的 GraphQL 操作示例和 Session Tracking 输出规范
亮点
- 使用标准 Shopify Admin GraphQL API,参数定义完整
- 提供 dry_run 预览机制防止误操作,覆盖主要异常状态处理
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
翻译待完成,请参阅来源文档。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。