智能文档审查,输出优化建议
简介
自动审查阿里云产品文档与OpenAPI文档质量,输出结构化评分、证据与优先级优化建议
原始描述
Automatically review latest Alibaba Cloud product docs and OpenAPI docs by product name, then output detailed prioritized improvement suggestions with eviden...
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: alicloud-platform-docs-api-review description: Automatically review latest Alibaba Cloud product docs and OpenAPI docs by product name, then output detailed prioritized improvement suggestions with evidence and scoring. Use when user asks to audit product documentation quality, API documentation quality, or wants actionable doc/API optimization recommendations. version: 1.0.0
Alibaba Cloud Product Docs + API Docs Reviewer
Use this skill when the user gives a product name and asks for an end-to-end documentation/API quality review.
What this skill does
- Resolve product from latest OpenAPI metadata.
- Fetch latest API docs for default version.
- Discover product/help-doc links from official product page.
- Produce a structured review report with:
- score
- evidence
- prioritized suggestions (P0/P1/P2)
Workflow
Run the bundled script:
python skills/platform/docs/alicloud-platform-docs-api-review/scripts/review_product_docs_and_api.py --product "<product name or product code>"
Example:
python skills/platform/docs/alicloud-platform-docs-api-review/scripts/review_product_docs_and_api.py --product "ECS"
Output policy
All generated artifacts must be written under:
output/alicloud-platform-docs-api-review/
For each run, the script creates:
review_evidence.jsonreview_report.md
Reporting guidance
When answering the user:
- State resolved product + version first.
- Summarize the score and the top 3 issues.
- List P0/P1/P2 recommendations with concrete actions.
- Provide source links used in the report.
Validation
mkdir -p output/alicloud-platform-docs-api-review
for f in skills/platform/docs/alicloud-platform-docs-api-review/scripts/*.py; do
python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/alicloud-platform-docs-api-review/validate.txt
Pass criteria: command exits 0 and output/alicloud-platform-docs-api-review/validate.txt is generated.
Output And Evidence
- Save artifacts, command outputs, and API response summaries under
output/alicloud-platform-docs-api-review/. - Include key parameters (region/resource id/time range) in evidence files for reproducibility.
Prerequisites
- Configure least-privilege Alibaba Cloud credentials before execution.
- Prefer environment variables:
ALICLOUD_ACCESS_KEY_ID,ALICLOUD_ACCESS_KEY_SECRET, optionalALICLOUD_REGION_ID. - If region is unclear, ask the user before running mutating operations.
References
- Review rubric:
references/review-rubric.md
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。