aliyun-swas-manage-test
$
npx mdskill add cinience/alicloud-skills/aliyun-swas-manage-testValidates basic functionality of aliyun-swas-manage skill
- Tests authentication, API reachability, and read-only query
- Uses Aliyun SWAS APIs and environment credentials for validation
- Executes minimal API call with bounded scope and records results
- Generates structured output for pass/fail determination
SKILL.md
.github/skills/aliyun-swas-manage-testView on GitHub ↗
--- name: aliyun-swas-manage-test description: Smoke test for aliyun-swas-manage. Validate minimal authentication, API reachability, and one read-only query path. version: 1.0.0 --- Category: test # COMPUTE SWAS OPEN Smoke Test ## Prerequisites - Configure credentials with least privilege (`ALIBABACLOUD_ACCESS_KEY_ID` / `ALIBABACLOUD_ACCESS_KEY_SECRET` / optional `ALIBABACLOUD_REGION_ID`). - Target skill: `skills/compute/swas/aliyun-swas-manage/`. ## Test Steps 1) Run offline script compilation check (no network needed): ```bash python3 tests/common/compile_skill_scripts.py \ --skill-path skills/compute/swas/aliyun-swas-manage \ --output output/aliyun-swas-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-swas-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-swas-manage-test/` with timestamp and parameters. ## Result Template - Date: YYYY-MM-DD - Skill: skills/compute/swas/aliyun-swas-manage - Conclusion: pass / fail - Notes: