Agent Skills
› YaoApp/yao
› yao-doc
yao-doc
GitHubYao流程文档专家技能,提供doc_list、doc_inspect和doc_validate工具,用于发现、查阅和验证Yao进程签名,防止猜测API。
Trigger Scenarios
用户需要查找可用的Yao进程
用户需要阅读进程签名或参数详情
用户需要验证进程名称是否正确
Install
npx skills add YaoApp/yao --skill yao-doc -g -y
SKILL.md
Frontmatter
{
"name": "yao-doc",
"description": "Yao process documentation expert. ALWAYS invoke this skill when the user needs to discover available processes, read process signatures, or validate process names. Do not guess process APIs — use this skill first."
}
Documentation Tools
Three tools for browsing Yao process documentation, called via bash.
doc_list
Search and list available process documentation entries.
tai tool doc_list '{"keyword": "user", "limit": 10}'
| Parameter | Type | Required | Description |
|---|---|---|---|
keyword |
string | no | Search keyword (empty to list all) |
limit |
integer | no | Max results (default 20) |
doc_inspect
Get detailed documentation for a specific process: arguments, return type, methods.
tai tool doc_inspect '{"name": "models.user.Find"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
name |
string | yes | Process name (e.g. models.user.Find) |
doc_validate
Check if a process name is valid. Returns suggestions for similar processes if not found.
tai tool doc_validate '{"name": "models.user.Findd"}'
| Parameter | Type | Required | Description |
|---|---|---|---|
name |
string | yes | Process name to validate |
Workflow
- doc_list — discover available processes by keyword
- doc_inspect — read the full signature before calling
- doc_validate — fix typos when a process name doesn't work
Guidelines
- Always use doc_inspect before calling an unfamiliar process via process_call
- Use doc_validate when you get unexpected errors — the name might be misspelled
Version History
- 94ab88a Current 2026-08-20 19:13


