kutesmart-platform-product-detail
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kutesmart-platform-product-detail" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7cffff5c2aca2415ca21e7e928c9ddbfafd19ea19d834bcbadb44f3f0e8777cd. Verify the upstream source and version against https://skillhub.cn/skills/kutesmart/kutesmart-platform-product-detail before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Calls overseas operations platform APIs for product details, finished-goods inventory, pricing, size standards, and size-unit conversion to obtain simplified-custom or finished-order details by candidate product id, including styleId, fabric, category, color/size, inventory, and price. This skill supplies orderable details for cart, full ordering, customer measurements, or fabric/process steps, and is triggered when a user views product details, checks stock or price, or confirms orderable configuration.
Introduction source: third_party · kutesmart · 1.0.3 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "platform-product-detail"
description: "调用海外运营平台商品详情、成品库存、产品价格、尺寸标准和尺码单位转换接口。用于根据商品候选 id 查看简定制或成品下单详情,取得 styleId、面料、品类、颜色尺码、库存和价格,为购物车、完整下单、客户量体、面料工艺 skill 提供可下单详情;当用户要看商品详情、查库存、查价格或确认可下单配置时触发。"
version: "1.0.3"
tags:
- "海外运营平台"
- "商品详情"
- "库存"
- "价格"
- "API接口"
metadata:
slug: "platform-product-detail"
display_name: "kutesmart-海外运营平台商品详情库存价格-根据商品候选 id 查看简定制或成品下单详情"
environment: "production"
service: "product"
base_url: "https://www.kutetailor.com/api/product"
auth_type: "bearer"
permission_level: "read"
category: "商城Agent"
publisher: "platform"
visibility: "public_all"kutesmart-海外运营平台商品详情库存价格-根据商品候选 id 查看简定制或成品下单详情
正式环境固定服务根地址:https://www.kutetailor.com/api/product
用于从商品候选进入可下单详情。这个 skill 只读,不写购物车、不提交订单。
调用参数要求
调用本技能时,tool arguments 统一使用嵌套 params 对象:
{
"params": {
"action": "finish_detail",
"accessToken": "<access_token>",
"source": "C",
"originSign": "<site-sign>",
"id": 123
}
}
重要约束:
- 最外层只能放
params。 - C 站商品详情接口必须带
source: C和originSign,不要只传ctoken。 id是商品 id;styleId是款式 id。保存购物车时用styleId,不要把商品id当成styleId。- 成品下单前必须查颜色/尺码库存;库存为 0 不进入提交订单。
- 这是只读 skill,不调用购物车和订单写接口。
触发场景
- “查看这个商品详情”
- “这个成品有哪些颜色尺码”
- “查一下库存”
- “查这个产品价格”
- “拿到 styleId,后面要加购”
- “看简定制商品下单需要哪些信息”
输入参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
frontmatter.base_url |
string | 固定 | 正式环境服务根地址,调用时不由用户传入。 |
params.action |
string | 是 | 见下方动作表。 |
params.accessToken |
string | 条件 | 登录态调用建议传;发送为 Bearer token。 |
params.source |
string | C站建议 | 通常为 C。 |
params.originSign |
string | C站详情必填 | C 站站点标识。 |
params.id |
number | 详情/库存/尺寸必填 | 商品 id。 |
params.productId |
number | 价格必填 | 产品 id,通常等于商品详情的 id。 |
params.currency |
number/string | 价格必填 | 币种 id 或后端要求的币种值。 |
params.color |
string | 库存必填 | 成品颜色。 |
params.size |
string | 库存必填 | 成品尺码名称。 |
params.unit |
string | 转换可选 | 厘米/英寸切换时按后端口径传。 |
params.body |
object | 转换可选 | switch_position 需要的其他查询参数。 |
动作表
| action | 请求 | URL | 参数 | 返回 | 用途 |
|---|---|---|---|---|---|
custom_detail |
GET |
/product/product/public/selectProductOrden |
Query:id |
OrderProductVO |
简定制商品详情/下单页详情。 |
finish_detail |
GET |
/product/product/public/selectFinishOrder |
Query:id |
OrderFinishInfoVO |
成品商品详情/下单页详情。 |
product_stock |
GET |
/product/product/public/selectProductCountById |
Query:id、color、size |
BigDecimal |
按商品、颜色、尺码查询成品库存。 |
product_price |
GET |
/product-price/{productId}/{currency} |
Path:productId、currency |
RS<ProductPriceVO> |
查询指定币种价格。 |
product_size |
GET |
/product/product/public/selectProductSize |
Query:id |
StandardSizeVO |
查询产品部位对应尺寸标准号。 |
switch_position |
GET |
/product/product/public/switchPosition |
Query:id 和转换参数 |
List<SizeListVO> |
厘米/英寸部位值切换。 |
推荐流程
- 接收
platform-product-browse返回的商品候选,读取id、type、styleId。 type=1调custom_detail;type=2调finish_detail。- 从详情返回中保留
styleId、category、fabricCode、price、currencySymbol、size和库存列表。 - 成品商品如果用户选了颜色和尺码,调用
product_stock做最终库存确认。 - 需要币种价格时调用
product_price。 - 简定制需要尺寸标准时调用
product_size;需要单位转换时调用switch_position。 - 把整理后的可下单摘要交给
platform-cart-address或platform-style-order-full。
返回字段重点
简定制详情 OrderProductVO:
| 字段 | 说明 |
|---|---|
id |
商品 id。 |
styleId |
款式 id,后续保存购物车/订单关键字段。 |
category |
品类。 |
fabricCode |
默认或当前面料编码。 |
price / currencySymbol |
价格与币种展示。 |
size |
尺寸摘要。 |
categoryList |
简定制品类配置。 |
craft |
默认或可选工艺摘要。 |
fabricsList |
可选面料列表。 |
measuresType |
量体方式。 |
成品详情 OrderFinishInfoVO:
| 字段 | 说明 |
|---|---|
id |
商品 id。 |
styleId |
款式 id,首轮加购必须使用。 |
name |
商品名称。 |
price / currencySymbol |
价格与币种展示。 |
size |
尺码摘要。 |
productFinishStock / productFinishStockList |
成品颜色、尺码和库存信息。 |
价格 ProductPriceVO:
| 字段 | 说明 |
|---|---|
retailPrice |
零售价。 |
taxRate |
税率。 |
ifCharge |
是否收费标识。 |
embroidery |
刺绣相关价格配置。 |
安全边界
- 不在库存为 0 或缺少颜色/尺码时建议提交。
- 不生成未返回的
styleId、价格或库存。 - 不调用
saveStyleMyCart、saveStyleOrden、submitOrdenList。 - 后端返回业务错误时原样反馈,并提示缺少的参数或上下文。
来源
| 项目 | 路径 |
|---|---|
| 商品详情/库存/尺寸接口 | rcmtm-cloud-product/src/main/java/com/kutesmart/cloud/product/controller/ProductController.java |
| 产品价格接口 | rcmtm-cloud-product/src/main/java/com/kutesmart/cloud/product/controller/ProductPriceController.java |
| 接口清单 | doc/interface-list.md |
Current listing version
1.0.3
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
缺少明确的 When to Use 章节 Reported severity: Minor
虽然有触发场景描述,但可以更明确地组织为 When to Use 章节
Recommendation: 建议添加独立的 When to Use 章节,更清晰地说明使用时机
Highlights
- 提供海外运营平台商品详情查询功能,解决用户实际业务需求
- 支持简定制和成品两种商品类型的详情查询
- 为购物车、下单等后续流程提供关键数据支持
Highlights
- 触发词覆盖完整,包含多种用户查询场景
- 边界清晰,与其他商品相关 skill 区分明确
- description 位置正确,内容完整
Highlights
- 文档结构完整,包含详细的调用参数和动作表
- frontmatter 信息完整,版本号和标签清晰
- 推荐流程步骤清晰,有端到端示例
- 安全边界和约束条件说明详细
Highlights
- API 接口来源明确,地址和认证方式清晰
- 参数说明详细,包含必填/选填和类型说明
- 覆盖主要异常场景(库存为 0 处理)
- 有明确的安全边界,避免错误操作
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 38, 69
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- www.kutetailor.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.