Initial commit: add all skills
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
50
cli-docs-skills/cli-docs/evals/evals.json
Normal file
50
cli-docs-skills/cli-docs/evals/evals.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"skill_name": "cli-docs",
|
||||
"evals": [
|
||||
{
|
||||
"id": 1,
|
||||
"prompt": "帮我把 git 命令行工具总结成 markdown 文档指南,需要有目录,显示版本号,列出所有命令和子命令,每个命令写中文介绍",
|
||||
"expected_output": "生成 git-guide.md 文件,包含:版本信息、目录(TOC)、命令总数统计、每个 git 命令(如 commit/push/pull/clone 等)的中文说明和用法示例",
|
||||
"files": [],
|
||||
"assertions": [
|
||||
{"text": "guide_file_exists: git-guide.md 文件已生成"},
|
||||
{"text": "has_version_info: 文件包含 git 版本号(如 2.x.x 格式字符串)"},
|
||||
{"text": "has_toc: 文件包含目录区块(## 目录 或 TOC 链接列表)"},
|
||||
{"text": "has_command_count: 文件包含命令数量统计(如 '共 N 个命令')"},
|
||||
{"text": "has_code_blocks: 文件包含 markdown 代码块(```)"},
|
||||
{"text": "has_chinese_content: 文件包含中文字符说明"},
|
||||
{"text": "is_substantial: 文件内容超过 3000 字符"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"prompt": "帮我把 curl 命令行工具整理成 markdown 文档,要有目录和版本号,每个命令或选项配中文说明",
|
||||
"expected_output": "生成 curl-guide.md 文件,包含:版本信息、目录、常用选项的中文说明(如 -X、-H、-d、-o 等),以及使用示例",
|
||||
"files": [],
|
||||
"assertions": [
|
||||
{"text": "guide_file_exists: curl-guide.md 文件已生成"},
|
||||
{"text": "has_version_info: 文件包含 curl 版本号"},
|
||||
{"text": "has_toc: 文件包含目录区块"},
|
||||
{"text": "has_command_count: 文件包含选项/命令数量统计"},
|
||||
{"text": "has_code_blocks: 文件包含 markdown 代码块(```)"},
|
||||
{"text": "has_chinese_content: 文件包含中文字符说明"},
|
||||
{"text": "is_substantial: 文件内容超过 3000 字符"}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"prompt": "npm 有哪些命令?帮我整理成一个 markdown 文档,中文说明,要有版本号和目录",
|
||||
"expected_output": "生成 npm-guide.md 文件,包含:npm 版本号、目录、npm 的顶级命令(如 install/run/publish/init 等)的中文介绍、参数说明和用法示例",
|
||||
"files": [],
|
||||
"assertions": [
|
||||
{"text": "guide_file_exists: npm-guide.md 文件已生成"},
|
||||
{"text": "has_version_info: 文件包含 npm 版本号"},
|
||||
{"text": "has_toc: 文件包含目录区块"},
|
||||
{"text": "has_command_count: 文件包含命令数量统计"},
|
||||
{"text": "has_code_blocks: 文件包含 markdown 代码块(```)"},
|
||||
{"text": "has_chinese_content: 文件包含中文字符说明"},
|
||||
{"text": "is_substantial: 文件内容超过 3000 字符"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user