kutesmart-platform-fabric-catalog-fabric-by-code

Calls the overseas operations platform API GET /fabric/getFabricByCode to retrieve fabric information by fabric code. This skill is a minimal-granularity API action; trigger when the single API call is required or when an upper-level agent needs to orchestrate this step within shopping, search, or order flows.

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-fabric-catalog-fabric-by-code" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-adde3ba6bc086353cdbceacb1d1c4cc190b54c6afae6ae3f2ddd6573977171a1. Verify the upstream source and version against https://skillhub.cn/skills/kutesmart/kutesmart-platform-fabric-catalog-fabric-by-code 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 the overseas operations platform API GET /fabric/getFabricByCode to retrieve fabric information by fabric code. This skill is a minimal-granularity API action; trigger when the single API call is required or when an upper-level agent needs to orchestrate this step within shopping, search, or order flows.

0 Downloads

Introduction source: third_party · kutesmart · 1.0.3 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "platform-fabric-catalog-fabric-by-code"
description: "调用海外运营平台接口 GET /fabric/getFabricByCode,用于根据面料编码查面料信息。这是一个最小颗粒度 API skill;当用户需要执行该单一接口动作,或上层 agent 需要编排商城浏览、搜索、下单链路中的这一步时触发。"
version: "1.0.3"
tags:
  - "海外运营平台"
  - "商城Agent"
  - "原子Skill"
  - "API接口"
  - "platform-fabric-catalog"
metadata:
  slug: "platform-fabric-catalog-fabric-by-code"
  display_name: "kutesmart-海外运营平台面料目录-根据面料编码查面料信息"
  environment: "production"
  service: "fabric"
  api_method: "GET"
  endpoint: "/fabric/getFabricByCode"
  base_url: "https://www.kutetailor.com/api/fabric"
  auth_type: "bearer"
  permission_level: "read"
  category: "商城Agent原子接口"
  publisher: "platform"
  visibility: "public_all"

kutesmart-海外运营平台面料目录-根据面料编码查面料信息

正式环境固定调用地址:GET https://www.kutetailor.com/api/fabric/fabric/getFabricByCode

这个 skill 是最小颗粒度接口 skill,只负责一个平台接口动作:fabric_by_code。需要组合成完整业务链路时,由上层 agent 按聚合 skill 或计划文档编排多个原子 skill。

触发场景

当用户需要根据面料编码查面料信息时使用。若用户需求需要多个接口步骤,本 skill 只完成本接口调用,并把关键返回字段交给后续 skill。

调用参数要求

tool arguments 统一使用嵌套 params 对象:

{
  "params": {
    "accessToken": "Bearer token or raw token",
    "query": {},
    "path": {},
    "body": {},
    "headers": {}
  }
}

重要约束:

  • 最外层只放 params,不要使用 params.xxx 这类点号顶层 key。
  • 正式环境地址固定在 frontmatter 的 base_url,调用时不要从用户输入覆盖。
  • 登录态接口使用 params.accessToken 生成 Authorization: Bearer <token>;如果传入值已含 Bearer,不要重复拼接。
  • Path 参数写入 params.path,Query 参数写入 params.query,JSON Body 写入 params.body,额外 Header 写入 params.headers。
  • POST/PUT 默认发送 JSON body;如果上层接口网关另有约定,以网关契约为准。
  • 这是查询或计算类接口;仍需遵守当前登录态、租户和用户权限。

接口

action 请求 URL 参数 返回 用途
fabric_by_code GET /fabric/getFabricByCode Query:code RS<FabricInfoVO> 根据面料编码查面料信息。

执行要点

  • 执行器必须使用 frontmatter 中的固定正式环境地址,不接受用户输入覆盖 base_url。
  • 按上表选择 HTTP method 和 URL;URL 中 {变量} 从 params.path 替换。
  • GET/DELETE 查询参数放在 URL query;POST/PUT 请求体按参数列要求提交。
  • 返回结果必须以接口响应为事实来源,不要补造库存、价格、订单号、优惠金额或物流状态。
  • 如果接口返回认证、权限、参数或业务错误,把原始错误码和错误信息传给上层 agent。

来源

字段 值
聚合 skill platform-fabric-catalog
聚合 skill 文档 doc/skill/platform-fabric-catalog/SKILL.md
原始 action fabric_by_code

Current listing version

1.0.3

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value60/100

Highlights

  • 作为商城业务链路中的原子接口能力,具有明确的实用价值
  • 最小颗粒度设计,便于上层 agent 编排复用
Trigger Precision85/100

Highlights

  • 触发场景描述清晰,边界明确
  • 明确区分了单一接口调用和链路编排两种使用场景
Structure and Standards75/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档缺少具体的调用示例和返回示例,用户难以直观理解接口使用方法

    Recommendation: 补充一个完整的调用示例,包括参数构造、请求发送和响应解析

Highlights

  • 文档结构完整,包含 frontmatter、触发场景、参数要求、接口表格等必要章节
  • 执行要点详细,约束明确
Execution Reliability78/100

Areas to improve

  • 未覆盖通用异常处理 Reported severity: Minor

    未明确说明网络异常、超时等通用异常的处理方式

    Recommendation: 补充通用异常处理说明,如网络超时重试机制、连接失败处理等

Highlights

  • 工具来源明确,使用固定正式环境地址
  • 参数结构规范,有详细的调用约束
  • 错误处理机制明确,会将原始错误信息传递给上层 agent
Evidence Verifiability (mean of the first four)75/100

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 43, 56
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

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.