mcpField
A
alicloud-platform-aliyun-cli-test

alicloud-platform-aliyun-cli-test

github.com/cinienceTesting & quality396240 installsUpdated 11w ago
Repository

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

  1. 01Check CLI version
  2. 02Inspect configured profiles
  3. 03Run a read-only API call
  4. 04Validate JSON or permission response

Use cases

  1. 01Verify aliyun CLI installation
  2. 02Check credential profile readiness
  3. 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-test

After installing, type/alicloud-platform-aliyun-cli-testin Claude Code to confirm it loaded.

Details

From the project README

Category: test

通用 aliyun CLI Minimal Viable Test

Prerequisites

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

Test Steps

  1. Run version guard script: python skills/platform/cli/alicloud-platform-aliyun-cli/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).

Comments

Markdown supported