Loading...
Loading...
Compare original and translation side by side
CRITICAL:开始前 MUST 先用 Read 工具读取,掌握 openydt 的配置 / profile / 签名(v2/v3) / 响应包络与状态码 / 限速 / 写操作安全规则。所有你新建的 skill 都要复用这套基座,不要在新 skill 里重复这些内容。../openydt-shared/SKILL.md
lark-skill-makerSKILL.mdCRITICAL: MUST use the Read tool to readbefore starting to master openydt's configuration / profile / signature (v2/v3) / response envelope and status codes / rate limiting / write operation security rules. All newly created Skills must reuse this base; do not repeat this content in new Skills.../openydt-shared/SKILL.md
lark-skill-makerSKILL.mdopenydt api <cmd>--yesopenydt apicmd/genopenydt api <cmd>--yesopenydt apicmd/genskills/<skill-name>/SKILL.mdreferences/skills/
openydt-shared/SKILL.md # 共享基座(所有 skill 都先 Read 它)
openydt-<域>/
SKILL.md # 主入口:frontmatter + 正文(必须精简,常驻上下文)
references/ # 可选:按需加载的大块内容
<topic>.md # 如字段字典、完整枚举表、长业务流程openydt-<域或场景>nameskills/<skill-name>/SKILL.mdreferences/skills/
openydt-shared/SKILL.md # Shared base (all Skills must Read it first)
openydt-<domain>/
SKILL.md # Main entry: frontmatter + main content (must be concise, resident in context)
references/ # Optional: large content loaded on demand
<topic>.md # e.g., field dictionary, complete enumeration table, long business processopenydt-<domain or scenario>name---
name: openydt-<域> # 必填,与目录名一致,kebab-case
version: 1.0.0 # 必填,语义化版本
description: "<一句话职责>。<触发词富集>。" # 必填,见下方要求
metadata:
requires:
bins: ["openydt"] # 必填,声明依赖 openydt 二进制
cliHelp: "openydt <域> --help" # 建议:让使用者快速看到真实子命令
---descriptionopenydt-parkopenydt-couponcliHelp---
name: openydt-<domain> # Required, same as directory name, kebab-case
version: 1.0.0 # Required, semantic versioning
description: "<one-sentence responsibility>. <enriched trigger words>." # Required, see requirements below
metadata:
requires:
bins: ["openydt"] # Required, declare dependency on openydt binary
cliHelp: "openydt <domain> --help" # Recommended: allow users to quickly view real subcommands
---descriptionopenydt-parkopenydt-couponcliHelp../openydt-shared/SKILL.md命令openydt <域> <use>读/写--yes关键参数*--body--yessampleBody../openydt-shared/SKILL.mdCommandopenydt <domain> <use>Read/Write--yesKey Parameters*--body--yessampleBodyreferences/<topic>.mdreferences/coupon-flow.mdreferences/<topic>.mdreferences/coupon-flow.mdopenydt <域> <use>cmd/gen/<域>.goopenydt <域> --helpcatalog/catalog.jsonincluded: trueinterfaces[]cmddomainreadwriteparamssampleBodyincluded:falseexcludeReasonopenydt api <cmd> --body '{...}'cmdopenydt <domain> <use>cmd/gen/<domain>.goopenydt <domain> --helpinterfaces[]included: truecatalog/catalog.jsoncmddomainreadwriteparamssampleBodyincluded:falseexcludeReasonopenydt api <cmd> --body '{...}'cmdreadwrite: "write"--yes--yes--dry-runreadwrite: "write"--yes--yes--dry-runcatalog/catalog.jsonincluded:trueopenydt <域> --helpsampleBodyskills/openydt-<名>/SKILL.md--yesreferences/--yessampleBodycatalog/catalog.jsonincluded:trueopenydt <domain> --helpskills/openydt-<name>/SKILL.md--yesreferences/--yesSKILL.md---
name: openydt-<域>
version: 1.0.0
description: "<一句话职责:本域负责 X,含读/写>。触发词:<列尽用户可能说的中文同义词,如 查X、看X、新建X、修改X、删除X、X列表、X编码……>。"
metadata:
requires:
bins: ["openydt"]
cliHelp: "openydt <域> --help"
---SKILL.md---
name: openydt-<domain>
version: 1.0.0
description: "<一句话职责:本域负责 X,含读/写>。触发词:<列尽用户可能说的中文同义词,如 查X、看X、新建X、修改X、删除X、X列表、X编码……>。"
metadata:
requires:
bins: ["openydt"]
cliHelp: "openydt <域> --help"
---CRITICAL:开始前 MUST 先用 Read 工具读取(认证 / profile / 签名 / 状态码 / 限速 / 安全规则)。未读共享基座不要执行任何命令。../openydt-shared/SKILL.md
CRITICAL:开始前 MUST 先用 Read 工具读取(认证 / profile / 签名 / 状态码 / 限速 / 安全规则)。未读共享基座不要执行任何命令。../openydt-shared/SKILL.md
openydt <其它域> --helpopenydt <其它域> --help<use>openydt <域> <use>--body '<json>'| 中文名 | 命令 | 读/写 | 关键参数 |
|---|---|---|---|
| <查询某资源> | | 读 | |
| <修改某资源> | | 写(需 | |
标为必填。*
<use>openydt <域> <use>--body '<json>'| 中文名 | 命令 | 读/写 | 关键参数 |
|---|---|---|---|
| <查询某资源> | | 读 | |
| <修改某资源> | | 写(需 | |
标为必填。*
openydt <域> <use-read> --xxx <值>--yes--dry-runopenydt <域> <use-write> --yes --body '{"xxx":"...","yyyList":[{...}]}'undefinedopenydt <域> <use-read> --xxx <值>--yes--dry-runopenydt <域> <use-write> --yes --body '{"xxx":"...","yyyList":[{...}]}'undefined