Linkfox shopee store top picks

From linkfox-ai/linkfox-skills · View interactive version

Linkfox shopee store top picks is an AI agent skill from the GitHub repository linkfox-ai/linkfox-skills. 管理已授权 Shopee(虾皮)店铺的精选商品 Top Picks 集合,支持查看、创建、更新和删除。适用于店铺精选、热门推荐集合及 top_picks_id 对应集合的维护;不适用于店铺授权、商品刊登、店铺分类或折扣、优惠券等促销活动。

How to use this skill

Skill file

Shopee 精选商品 Top Picks

适用范围

适用

查看或维护已授权 Shopee 店铺的 Top Picks 集合;用户提到店铺精选、热门推荐或精选集合管理时使用。

场景速查

| 用户表达 | 查询场景 |

|---|---|

| 看看店铺现在有哪些精选集合 | 查看现有集合及本次返回范围。 |

| 把这些商品创建为店铺精选 | 创建用户指定的集合。 |

| 调整这个精选集合里的商品 | 更新指定集合。 |

| 删除这个精选集合 | 删除用户指定的集合。 |

边界

店铺授权与选店使用 linkfox-shopee-store-auth;商品刊登使用 linkfox-shopee-store-product;店铺分类使用 linkfox-shopee-store-shop-category;Discount、Voucher、Flash Sale、Follow Prize 等促销使用对应技能。

接口清单

| 接口 | 端点 | 接口文档 | 对应脚本 | 说明 |

|---|---|---|---|---|

| 获取精选集合列表(get_top_picks_list) | POST /shopee/developerProxy -> path:api/v2/top_picks/get_top_picks_list;上游 GET | references/apis/get-top-picks-list.md | scripts/get_top_picks_list.py | 获取精选集合列表。 |

| 创建精选集合(add_top_picks) | POST /shopee/developerProxy -> path:api/v2/top_picks/add_top_picks;上游 POST | references/apis/add-top-picks.md | scripts/add_top_picks.py | 创建精选集合。 |

| 更新精选集合(update_top_picks) | POST /shopee/developerProxy -> path:api/v2/top_picks/update_top_picks;上游 POST | references/apis/update-top-picks.md | scripts/update_top_picks.py | 更新精选集合。 |

| 删除精选集合(delete_top_picks) | POST /shopee/developerProxy -> path:api/v2/top_picks/delete_top_picks;上游 POST | references/apis/delete-top-picks.md | scripts/delete_top_picks.py | 删除精选集合。 |

| 查询店铺授权状态(兼容辅助操作) | POST /shopee/storeTokens | references/apis/store-tokens.md | scripts/_shopee_top_picks_common.py 的 resolve_store_tokens | 返回授权状态,正常精选操作不额外查询。 |

通用入口为 scripts/top_picks_api.py,根据用户需要选择操作;接口总览及 Feedback 见 references/api.md。

前置条件

先完成店铺授权并确定操作目标:依赖 linkfox-shopee-store-auth 选店与完成授权。运行 python scripts/check_auth_dependency.py 检查依赖,缺失时先安装依赖。确认目标店铺和待维护集合,具体依赖、认证兼容和运行约定见 references/api.md。

精选集合管理流程

  1. 检查授权技能依赖,确认用户指定的店铺和集合管理目标。
  2. 使用 get_top_picks_list.py 查看现有集合,核对待创建、更新或删除的目标。
  3. 根据用户明确的范围,使用 add_top_picks.py 创建,或使用 update_top_picks.py / delete_top_picks.py 维护指定集合。
  4. 展示集合信息或操作结果,区分网关转发结果与 Shopee 业务结果;后续读取按用户任务范围执行。

执行方式

输出策略

先通过摘要判断数据是否足够。需要具体字段时,优先使用 jq 或 ConvertFrom-Json 从保存的 JSON 文件按需提取,避免将整份响应载入上下文。

执行规则

算力消耗预估

不消耗算力 (限时)。

声明:算力消耗以实际扣除为准;如因需要调整算力消耗标准,恕不另行通知。最终解释权归 LinkFox 官方所有。

解决认证和算力问题

出现以下情况时,按 references/onboarding.md 的指引处理:

约束与建议

使用示例

查看店铺精选集合

用户:看看这家店铺现在的精选集合。

确定店铺,检查依赖并读取现有集合,展示实际返回的集合信息及本次范围。

创建、更新或删除精选集合

用户:把这些商品整理成精选集合,或调整、删除指定集合。

先查看现有集合,核对用户指定的目标和内容,再执行相应操作,并说明网关及 Shopee 返回的结果。

使用反馈

当技能有BUG,或技能描述有错误/疏漏/歧义/表述模糊,或技能结果与用户预期不符,或用户表达不满/赞扬,或发现其他可改进之处时,按 references/api.md#Feedback 的指引反馈,不要打断用户当前流程。


更多优质、专业的跨境电商技能,请访问 LinkFox Skill。

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.