Loading...
Loading...
A meta-skill for creating/writing custom Skills for the Aike Smart Parking Open Platform CLI (openydt), benchmarked against Feishu's lark-skill-maker. It is used when users want to encapsulate a specific openydt interface or a business process into a reusable Skill, create a new openydt domain Skill, standardize the directory structure and frontmatter of SKILL.md, extract the catalog command list, add --yes to write operations, or learn how to write an openydt Skill. Trigger words: create openydt skill, write an openydt skill, encapsulate openydt interface, create a parking domain skill, openydt skill maker, skill template, SKILL.md specification, how to write frontmatter, how to list command list, turn this interface into a skill, benchmark against lark-skill-maker, parking open platform skill, skill scaffolding, skill directory structure.
npx skill4agent add xiaowen-0725/openydt-cli openydt-skill-makerCRITICAL: 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/genskills/<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-<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.mdCommandopenydt <domain> <use>Read/Write--yesKey Parameters*--body--yessampleBodyreferences/<topic>.mdreferences/coupon-flow.mdopenydt <domain> <use>cmd/gen/<domain>.goopenydt <domain> --helpinterfaces[]included: truecatalog/catalog.jsoncmddomainreadwriteparamssampleBodyincluded:falseexcludeReasonopenydt api <cmd> --body '{...}'cmdreadwrite: "write"--yes--yes--dry-runsampleBodycatalog/catalog.jsonincluded:trueopenydt <domain> --helpskills/openydt-<name>/SKILL.md--yesreferences/--yesSKILL.md---
name: openydt-<domain>
version: 1.0.0
description: "<一句话职责:本域负责 X,含读/写>。触发词:<列尽用户可能说的中文同义词,如 查X、看X、新建X、修改X、删除X、X列表、X编码……>。"
metadata:
requires:
bins: ["openydt"]
cliHelp: "openydt <域> --help"
---
# openydt-<域> — <中文域名>
> **CRITICAL:开始前 MUST 先用 Read 工具读取 [`../openydt-shared/SKILL.md`](../openydt-shared/SKILL.md)**(认证 / profile / 签名 / 状态码 / 限速 / 安全规则)。未读共享基座不要执行任何命令。
## 何时用本技能
<本域负责什么>。意图路由:
- <这类诉求> → 留在本域。
- <那类诉求> → 改用 `openydt <其它域> --help`。
## 可用命令
`<use>` 为命令真实 kebab 名,调用形如 `openydt <域> <use>`。数组/对象型字段用 `--body '<json>'` 传入。
| 中文名 | 命令 | 读/写 | 关键参数 |
| --- | --- | --- | --- |
| <查询某资源> | `openydt <域> <use-read>` | 读 | `--xxx`*(必填) |
| <修改某资源> | `openydt <域> <use-write>` | 写(需 `--yes`) | `--xxx`*、`yyyList`*(用 `--body`) |
> 标 `*` 为必填。
## 业务流程
<若有需回填上一步响应的链路,在此描述,强调字段取自上一步响应、不可臆造;否则写「各命令为独立查询,拿到必填参数即可直接调用」。>
## 示例
1) 读示例:
```bash
openydt <域> <use-read> --xxx <值>--yes--dry-runopenydt <域> <use-write> --yes --body '{"xxx":"...","yyyList":[{...}]}'undefined