A
alicloud-compute-swas-open-test
About alicloud-compute-swas-open-test
A smoke-test procedure for the Alibaba Cloud Compute SWAS Open skill, intended for its maintainers. It combines an offline script compilation check with a bounded read-only API call and requires saved test evidence.
Key features
- 01Check skill script compilation offline
- 02Select a low-risk read-only API
- 03Bound region and pagination scope
- 04Save request and response evidence
- 05Record exact error details
Use cases
- 01Verify that skill scripts compile
- 02Check read-only API calls and response structure
- 03Archive timestamped evidence for test results
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cinience/ alicloud-skills --skill alicloud-compute-swas-open-testAfter installing, type/alicloud-compute-swas-open-testin Claude Code to confirm it loaded.
Details
From the project READMECategory: test
COMPUTE SWAS OPEN Smoke Test
Prerequisites
- Configure credentials with least privilege (
ALIBABACLOUD_ACCESS_KEY_ID/ALIBABACLOUD_ACCESS_KEY_SECRET/ optionalALIBABACLOUD_REGION_ID). - Target skill:
skills/compute/swas/alicloud-compute-swas-open/.
Test Steps
- Run offline script compilation check (no network needed):
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
- Read the target skill
SKILL.mdand identify one lowest-risk read-only API (for exampleDescribe*/List*/Get*). - Execute one minimal call with bounded scope (region + page size / limit).
- Save request summary, response summary, and raw output under
output/alicloud-compute-swas-open-test/. - 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:
Comments
Markdown supported