Benchmark 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/alicloud-platform-multicloud-docs-api-benchmark/scripts/benchmarkmulticlouddocs_api.py --product <产品关键词>
示例:
bash
python skills/platform/docs/alicloud-platform-multicloud-docs-api-benchmark/scripts/benchmarkmulticlouddocs_api.py --product serverless
LLM平台基准测试示例(百炼/Bedrock/Azure OpenAI/Vertex AI/Hunyuan/Ark/Pangu):
bash
python skills/platform/docs/alicloud-platform-multicloud-docs-api-benchmark/scripts/benchmarkmulticlouddocs_api.py --product Bailian --preset llm-platform
如果省略--preset参数,脚本将尝试根据关键词自动匹配预设配置。
评分权重可通过配置文件切换(参见references/scoring.json):
bash
python skills/platform/docs/alicloud-platform-multicloud-docs-api-benchmark/scripts/benchmarkmulticlouddocs_api.py --product Bailian --preset llm-platform --scoring-profile llm-platform
自动发现可能遗漏某些页面。如需更严格的对比,请手动传入官方链接:
bash
python skills/platform/docs/alicloud-platform-multicloud-docs-api-benchmark/scripts/benchmarkmulticlouddocs_api.py \
--product object storage \
--aws-links https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html \
--azure-links https://learn.microsoft.com/azure/storage/blobs/
可用手动标记参数:
每个标记参数接受逗号分隔的URL列表。
所有产物必须写入以下目录:
output/alicloud-platform-multicloud-docs-api-benchmark/
每次运行生成:
回答用户时:
1) 展示所有云提供商的评分排名。
2) 突出显示主要差距(P0/P1/P2)及具体修复措施。
3) 如果发现置信度较低,请用户提供固定链接并重新运行。
bash
mkdir -p output/alicloud-platform-multicloud-docs-api-benchmark
for f in skills/platform/docs/alicloud-platform-multicloud-docs-api-benchmark/scripts/*.py; do
python3 -m py_compile $f
done
echo pycompileok > output/alicloud-platform-multicloud-docs-api-benchmark/validate.txt
通过标准:命令退出码为0且output/alicloud-platform-multicloud-docs-api-benchmark/validate.txt已生成。
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 alicloud-platform-multicloud-docs-api-benchmark-1776419939 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 alicloud-platform-multicloud-docs-api-benchmark-1776419939 技能
skillhub install alicloud-platform-multicloud-docs-api-benchmark-1776419939
文件大小: 11.76 KB | 发布时间: 2026-4-17 18:28