OpenParable
Skip to content
← Back to skills

Aliyun CLI Manage Test

Testing & Quality
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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  • 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).