alicloud-compute-swas-open-test

Original🇺🇸 English
Translated

Smoke test for alicloud-compute-swas-open. Validate minimal authentication, API reachability, and one read-only query path.

3installs
Added on

NPX Install

npx skill4agent add cinience/alicloud-skills alicloud-compute-swas-open-test
Category: test

COMPUTE SWAS OPEN Smoke Test

Prerequisites

  • Configure credentials with least privilege (
    ALICLOUD_ACCESS_KEY_ID
    /
    ALICLOUD_ACCESS_KEY_SECRET
    / optional
    ALICLOUD_REGION_ID
    ).
  • Target skill:
    skills/compute/swas/alicloud-compute-swas-open/
    .

Test Steps

  1. Run offline script compilation check (no network needed):
bash
python3 tests/common/compile_skill_scripts.py \
  --skill-path skills/compute/swas/alicloud-compute-swas-open \
  --output output/alicloud-compute-swas-open-test/compile-check.json
  1. Read the target skill
    SKILL.md
    and identify one lowest-risk read-only API (for example
    Describe*
    /
    List*
    /
    Get*
    ).
  2. Execute one minimal call with bounded scope (region + page size / limit).
  3. Save request summary, response summary, and raw output under
    output/alicloud-compute-swas-open-test/
    .
  4. If the call fails, record exact error code/message without guessing.

Pass Criteria

  • Script compilation check passes (
    compile-check.json.status=pass
    ).
  • The selected read-only API call succeeds and returns valid response structure.
  • Evidence files exist in
    output/alicloud-compute-swas-open-test/
    with timestamp and parameters.

Result Template

  • Date: YYYY-MM-DD
  • Skill: skills/compute/swas/alicloud-compute-swas-open
  • Conclusion: pass / fail
  • Notes: