360 Secure SkillHub
360 安全技能中心

Aliyun Platform Docs Review

该 Skill 接收产品名称或代码,解析阿里云 OpenAPI 元数据,获取最新 API 文档和产品帮助文档,依据评分细则生成证据文件与评审报告,并给出 P0/P1/P2 改进建议。运行需 Python 和阿里云访问凭证,产物写入指定输出目录。

cinience
cinience
热度 32.89
最近更新 2026-05-11 17:39:19
分类:数据依赖:代码执行 / 第三方 API / 读写文件应用场景:报告撰写 / 研究 / 校对润色

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add aliyun-platform-docs-review
Metadata
name
aliyun-platform-docs-review
description
Use when reviewing 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

  1. Resolve product from latest OpenAPI metadata.
  2. Fetch latest API docs for default version.
  3. Discover product/help-doc links from official product page.
  4. Produce a structured review report with:
  • score
  • evidence
  • prioritized suggestions (P0/P1/P2)

Workflow

Run the bundled script:

python skills/platform/docs/aliyun-platform-docs-review/scripts/review_product_docs_and_api.py --product "<product name or product code>"

Example:

python skills/platform/docs/aliyun-platform-docs-review/scripts/review_product_docs_and_api.py --product "ECS"

Output policy

All generated artifacts must be written under:

output/aliyun-platform-docs-review/

For each run, the script creates:

  • review_evidence.json
  • review_report.md

Reporting guidance

When answering the user:

  1. State resolved product + version first.
  2. Summarize the score and the top 3 issues.
  3. List P0/P1/P2 recommendations with concrete actions.
  4. Provide source links used in the report.

Validation

mkdir -p output/aliyun-platform-docs-review
for f in skills/platform/docs/aliyun-platform-docs-review/scripts/*.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-platform-docs-review/validate.txt

Pass criteria: command exits 0 and output/aliyun-platform-docs-review/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/aliyun-platform-docs-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, optional ALICLOUD_REGION_ID.
  • If region is unclear, ask the user before running mutating operations.

References

  • Review rubric: references/review-rubric.md