aliyun-airec-manage-test

$npx mdskill add cinience/alicloud-skills/aliyun-airec-manage-test

Smoke tests aliyun-airec-manage for API reachability and basic functionality

  • Validates minimal authentication and API access for aliyun-airec-manage
  • Uses Aliyun AIREC APIs with configured credentials for read-only operations
  • Executes a compile check and a bounded read-only API call for verification
  • Saves test results and response data to output directory for review
SKILL.md
.github/skills/aliyun-airec-manage-testView on GitHub ↗
---
name: aliyun-airec-manage-test
description: Smoke test for aliyun-airec-manage. Validate minimal authentication, API reachability, and one read-only query path.
version: 1.0.0
---

Category: test

# AI RECOMMEND AIREC Smoke Test

## Prerequisites

- Configure credentials with least privilege (`ALIBABACLOUD_ACCESS_KEY_ID` / `ALIBABACLOUD_ACCESS_KEY_SECRET` / optional `ALIBABACLOUD_REGION_ID`).
- Target skill: `skills/ai/recommendation/aliyun-airec-manage/`.

## Test Steps

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

```bash
python3 tests/common/compile_skill_scripts.py \
  --skill-path skills/ai/recommendation/aliyun-airec-manage \
  --output output/aliyun-airec-manage-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-airec-manage-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-airec-manage-test/` with timestamp and parameters.

## Result Template

- Date: YYYY-MM-DD
- Skill: skills/ai/recommendation/aliyun-airec-manage
- Conclusion: pass / fail
- Notes:
More from cinience/alicloud-skills