Use when benchmarking similar product documentation and API documentation across Alibaba Cloud, AWS, Azure, GCP, Tencent Cloud, Volcano Engine, and Huawei Cloud. Given one product keyword, auto-discover latest official docs/API links, score quality consistently, and output detailed prioritized improvement recommendations.
当用户需要对同类产品进行跨云文档/API 对比时,使用此技能。
运行基准测试脚本:
bash
python skills/platform/docs/aliyun-platform-docs-benchmark/scripts/benchmarkmulticlouddocs_api.py --product <产品关键词>
示例:
bash
python skills/platform/docs/aliyun-platform-docs-benchmark/scripts/benchmarkmulticlouddocs_api.py --product serverless
LLM 平台基准测试示例(百炼/Bedrock/Azure OpenAI/Vertex AI/混元/方舟/盘古):
bash
python skills/platform/docs/aliyun-platform-docs-benchmark/scripts/benchmarkmulticlouddocs_api.py --product 百炼 --preset llm-platform
如果省略 --preset,脚本会尝试根据关键词自动匹配预设。
评分权重可通过配置文件切换(参见 references/scoring.json):
bash
python skills/platform/docs/aliyun-platform-docs-benchmark/scripts/benchmarkmulticlouddocs_api.py --product 百炼 --preset llm-platform --scoring-profile llm-platform
自动发现可能会遗漏页面。如需更严格的对比,可手动传入官方链接:
bash
python skills/platform/docs/aliyun-platform-docs-benchmark/scripts/benchmarkmulticlouddocs_api.py \
--product 对象存储 \
--aws-links https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html \
--azure-links https://learn.microsoft.com/azure/storage/blobs/
可用的手动标记:
每个标记接受逗号分隔的 URL。
所有产物必须写入以下目录:
output/aliyun-platform-docs-benchmark/
每次运行:
回答用户时:
1) 展示所有云提供商的评分排名。
2) 突出显示主要差距(P0/P1/P2)及具体的修复措施。
3) 如果发现置信度较低,请用户提供固定链接并重新运行。
bash
mkdir -p output/aliyun-platform-docs-benchmark
for f in skills/platform/docs/aliyun-platform-docs-benchmark/scripts/*.py; do
python3 -m py_compile $f
done
echo pycompileok > output/aliyun-platform-docs-benchmark/validate.txt
通过标准:命令退出码为 0 且生成了 output/aliyun-platform-docs-benchmark/validate.txt。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 aliyun-platform-docs-benchmark-1775877722 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 aliyun-platform-docs-benchmark-1775877722 技能
skillhub install aliyun-platform-docs-benchmark-1775877722
文件大小: 11.47 KB | 发布时间: 2026-4-12 08:56