aliyun-aicontent-generate-test
$
npx mdskill add cinience/alicloud-skills/aliyun-aicontent-generate-testSmoke tests aliyun-aicontent-generate for basic functionality and API reachability
- Validates minimal authentication and API access for aliyun-aicontent-generate
- Uses read-only API calls and compile checks to ensure setup correctness
- Runs scripted tests with bounded scope to avoid system impact
- Saves test results and error logs for audit and debugging
SKILL.md
.github/skills/aliyun-aicontent-generate-testView on GitHub ↗
--- name: aliyun-aicontent-generate-test description: Smoke test for aliyun-aicontent-generate. Validate minimal authentication, API reachability, and one read-only query path. version: 1.0.0 --- Category: test # AI CONTENT AICONTENT Smoke Test ## Prerequisites - Configure credentials with least privilege (`ALIBABACLOUD_ACCESS_KEY_ID` / `ALIBABACLOUD_ACCESS_KEY_SECRET` / optional `ALIBABACLOUD_REGION_ID`). - Target skill: `skills/ai/content/aliyun-aicontent-generate/`. ## Test Steps 1) Run offline script compilation check (no network needed): ```bash python3 tests/common/compile_skill_scripts.py \ --skill-path skills/ai/content/aliyun-aicontent-generate \ --output output/aliyun-aicontent-generate-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-aicontent-generate-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-aicontent-generate-test/` with timestamp and parameters. ## Result Template - Date: YYYY-MM-DD - Skill: skills/ai/content/aliyun-aicontent-generate - Conclusion: pass / fail - Notes: