跳到正文
Skillpedia
通用编程8.3k · #12474

yao-doc

它能做什么

这项技能让智能体搜索 Yao 的流程文档,并核对名称和签名。适合在 Yao 平台上开发、并希望一次就正确调用的开发者。

适用场景

  • ✓当你需要找出在 Yao 平台上哪个流程负责某项任务的时候。
  • ✓当你想在调用某个流程之前读取它的完整签名时。
  • ✓当某个流程名称无法使用,需要修正拼写错误的时候。

技能链接

https://github.com/YaoApp/yao/blob/main/tools/skills/yao-doc/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/YaoApp/yao/blob/main/tools/skills/yao-doc/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请找出用于查询用户的 Yao 流程,并告诉我它确切接受哪些参数。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体按关键词搜索文档,阅读所选流程的完整细节,并对照列表核对名称。在进行任何调用之前,它会先使用这些信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

  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
常见问题

如果名称错误会怎样?

智能体会检查名称,并建议存在的相似流程。

它会自己调用流程吗?

不会。这项技能只用于查找和核对文档,调用需要通过单独的流程工具完成。

搜索可以返回多少结果?

搜索最多返回你设置的数量,默认为 20 条。

详情

作者的原始描述

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.

repo: YaoApp/yao

热度

GitHub 星标
8.3k
排名
#12474
许可证
—
更新时间
2026/10/19

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能