A
alicloud-platform-aliyun-cli-test
About alicloud-platform-aliyun-cli-test
A minimal viable test skill for the aliyun CLI, intended to check installation, profile configuration, and basic API access. It runs a version check, inspects configuration, then calls a read-only API.
Key features
- 01Check CLI version
- 02Inspect configured profiles
- 03Run a read-only API call
- 04Validate JSON or permission response
Use cases
- 01Verify aliyun CLI installation
- 02Check credential profile readiness
- 03Test read-only API access
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cinience/ alicloud-skills --skill alicloud-platform-aliyun-cli-testAfter installing, type/alicloud-platform-aliyun-cli-testin Claude Code to confirm it loaded.
Details
From the project READMECategory: test
通用 aliyun CLI Minimal Viable Test
Prerequisites
aliyunCLI is installed.- A valid profile is configured (default
default). - GoalsSkill:
skills/platform/cli/alicloud-platform-aliyun-cli/。
Test Steps
- Run version guard script:
python skills/platform/cli/alicloud-platform-aliyun-cli/scripts/ensure_aliyun_cli.py --interval-hours 24。 - 执行
aliyun version。 - 执行
aliyun configure list。 - Run one read-only API (example):
aliyun ecs DescribeRegions。
Expected Results
- CLI executes and returns version information.
configure listshows valid credential/profile info (or explicit missing hints).- Read-only API returns JSON (or explicit permission error).
Comments
Markdown supported