# Aliyun CLI Manage Test

> Aliyun CLI Manage Test is an Agent Skill for testing & quality published in the cinience/alicloud-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Minimal smoke test for generic Alibaba Cloud aliyun CLI skill. Validate CLI install, auth profile, and one read-only API call.

- Skill name: `aliyun-cli-manage-test`
- Category: [Testing & Quality](https://www.openparable.com/skill/testing-quality/1)
- Source: https://github.com/cinience/alicloud-skills/blob/HEAD/tests/platform/cli/aliyun-cli-manage-test/SKILL.md
- Repository: cinience/alicloud-skills (396 GitHub stars when collected)

## SKILL.md

Category: test

# 通用 aliyun CLI Minimal Viable Test

## Prerequisites

- `aliyun` CLI is installed.
- A valid profile is configured (default `default`).
- GoalsSkill: `skills/platform/cli/aliyun-cli-manage/`。

## Test Steps

1) Run version guard script: `python skills/platform/cli/aliyun-cli-manage/scripts/ensure_aliyun_cli.py --interval-hours 24`。
2) 执行 `aliyun version`。
3) 执行 `aliyun configure list`。
4) Run one read-only API (example): `aliyun ecs DescribeRegions`。

## Expected Results

- CLI executes and returns version information.
- `configure list` shows valid credential/profile info (or explicit missing hints).
- Read-only API returns JSON (or explicit permission error).

---

Source: https://www.openparable.com/skill/testing-quality/aliyun-cli-manage-test (OpenParable). Cite the canonical URL above.
