aliyun-hbr-backup-test

$npx mdskill add cinience/alicloud-skills/aliyun-hbr-backup-test

Smoke tests Aliyun HBR backup skill for API reachability and authentication

  • Validates minimal authentication and API access for Aliyun HBR backup
  • Uses ALIBABACLOUD credentials and a read-only API call for testing
  • Checks script compilation and executes a bounded read-only query
  • Saves test results and raw output for verification and debugging
SKILL.md
.github/skills/aliyun-hbr-backup-testView on GitHub ↗
---
name: aliyun-hbr-backup-test
description: Smoke test for aliyun-hbr-backup. Validate minimal authentication, API reachability, and one read-only query path.
version: 1.0.0
---

Category: test

# BACKUP HBR Smoke Test

## Prerequisites

- Configure credentials with least privilege (`ALIBABACLOUD_ACCESS_KEY_ID` / `ALIBABACLOUD_ACCESS_KEY_SECRET` / optional `ALIBABACLOUD_REGION_ID`).
- Target skill: `skills/backup/aliyun-hbr-backup/`.

## Test Steps

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

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

## Result Template

- Date: YYYY-MM-DD
- Skill: skills/backup/aliyun-hbr-backup
- Conclusion: pass / fail
- Notes:
More from cinience/alicloud-skills