aliyun-zimage-turbo-test

$npx mdskill add cinience/alicloud-skills/aliyun-zimage-turbo-test

Smoke tests aliyun-zimage-turbo for basic functionality and API reachability

  • Validates minimal authentication and API access for aliyun-zimage-turbo
  • Uses Aliyun credentials and a read-only API call for testing
  • Checks script compilation and saves test results with timestamps
  • Reports pass/fail status based on test criteria and output files
SKILL.md
.github/skills/aliyun-zimage-turbo-testView on GitHub ↗
---
name: aliyun-zimage-turbo-test
description: Smoke test for aliyun-zimage-turbo. Validate minimal authentication, API reachability, and one read-only query path.
version: 1.0.0
---

Category: test

# AI IMAGE ZIMAGE TURBO Smoke Test

## Prerequisites

- Configure credentials with least privilege (`ALIBABACLOUD_ACCESS_KEY_ID` / `ALIBABACLOUD_ACCESS_KEY_SECRET` / optional `ALIBABACLOUD_REGION_ID`).
- Target skill: `skills/ai/image/aliyun-zimage-turbo/`.

## Test Steps

1) Run offline script compilation check (no network needed):

```bash
python3 tests/common/compile_skill_scripts.py \
  --skill-path skills/ai/image/aliyun-zimage-turbo \
  --output output/aliyun-zimage-turbo-test/compile-check.json
```

2) Read the target skill `SKILL.md` and identify one lowest-risk read-only API (for example `Describe*` / `List*` / `Get*`).
3) Execute one minimal call with bounded scope (region + page size / limit).
4) Save request summary, response summary, and raw output under `output/aliyun-zimage-turbo-test/`.
5) 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/aliyun-zimage-turbo-test/` with timestamp and parameters.

## Result Template

- Date: YYYY-MM-DD
- Skill: skills/ai/image/aliyun-zimage-turbo
- Conclusion: pass / fail
- Notes:
More from cinience/alicloud-skills