Aliyun CLI Manage Test
Testing & Qualityaliyun-cli-manage-testAliyun 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/cinience/alicloud-skills/blob/HEAD/tests/platform/cli/aliyun-cli-manage-test/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/aliyun-cli-manage-test, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Category: test
通用 aliyun CLI Minimal Viable Test
Prerequisites
aliyunCLI is installed.- A valid profile is configured (default
default). - GoalsSkill:
skills/platform/cli/aliyun-cli-manage/。
Test Steps
- Run version guard script:
python skills/platform/cli/aliyun-cli-manage/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).