Aliyun cdn manage

From cinience/alicloud-skills · View interactive version

Aliyun cdn manage is an AI agent skill from the GitHub repository cinience/alicloud-skills. Use when managing Alibaba Cloud CDN via OpenAPI/SDK, including CDN domain onboarding and lifecycle operations, cache refresh/preload, HTTPS certificate updates, and log/monitoring data queries.

How to use this skill

Skill file

Category: service

Alibaba Cloud CDN

Purpose

Use Alibaba Cloud CDN OpenAPI (RPC) for common operations and integrations including:

Prerequisites

Workflow

1) Define target resources: accelerated domains, business type, change window, and rollback criteria.

2) Run API discovery and confirm target API names, required parameters, and version.

3) Query current config/state with read-only APIs (Describe*) first.

4) Execute mutating APIs (Add*/Set*/BatchSet*/Delete*) and record request context.

5) Validate changes with monitoring/log APIs and save evidence in output/aliyun-cdn-manage/.

AccessKey Priority

1) Environment variables:ALIBABACLOUD_ACCESS_KEY_ID / ALIBABACLOUD_ACCESS_KEY_SECRET / ALIBABACLOUD_REGION_ID

2) Shared credentials file:~/.alibabacloud/credentials

If region/environment is unclear, confirm with user before mutating operations.

API Discovery

Minimal Executable Quickstart

python skills/network/cdn/aliyun-cdn-manage/scripts/list_openapi_meta_apis.py

Optional arguments:

python skills/network/cdn/aliyun-cdn-manage/scripts/list_openapi_meta_apis.py \
  --product-code cdn \
  --version 2018-05-10 \
  --output-dir output/aliyun-cdn-manage

Common Operation Map

Output Policy

Write generated files and execution evidence to:

output/aliyun-cdn-manage/

Validation

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

Pass criteria: command exits 0 and output/aliyun-cdn-manage/validate.txt is generated.

Output And Evidence

Prerequisites

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.