Skip to main content

yao-doc

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.

来源信息

仓库
YaoApp/yao
最近来源活动
2026年5月3日 11:11
检测到的 SKILL.md 语言
英语
星标
8,117
分支
722

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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. ```bash 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. ```bash 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. ```bash tai tool doc_validate '{"name": "models.user.Findd"}' ``` | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `name` | string | yes | Process name to validate | ## Workflow 1. **doc_list** — discover available processes by keyword 2. **doc_inspect** — read the full signature before calling 3. **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
在 GitHub 查看