aliyun-docmind-extract-test

$npx mdskill add cinience/alicloud-skills/aliyun-docmind-extract-test

Verify Alibaba Cloud DocMind API connectivity and permissions.

  • Confirms authentication and basic API functionality.
  • Integrates with Alibaba Cloud DocMind extract service.
  • Executes a single read-only query to test reachability.
  • Outputs compilation status, request details, and response data.
SKILL.md
.github/skills/aliyun-docmind-extract-testView on GitHub ↗
---
name: aliyun-docmind-extract-test
description: Smoke test for aliyun-docmind-extract. Validate minimal authentication, API reachability, and one read-only query path.
version: 1.0.0
---

Category: test

# AI TEXT DOCUMENT MIND Smoke Test

## Prerequisites

- Configure credentials with least privilege (`ALIBABACLOUD_ACCESS_KEY_ID` / `ALIBABACLOUD_ACCESS_KEY_SECRET` / optional `ALIBABACLOUD_REGION_ID`).
- Target skill: `skills/ai/text/aliyun-docmind-extract/`.

## Test Steps

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

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

## Result Template

- Date: YYYY-MM-DD
- Skill: skills/ai/text/aliyun-docmind-extract
- Conclusion: pass / fail
- Notes:
More from cinience/alicloud-skills