Category: test
SECURITY CONTENT MODERATION GREEN Smoke Test
Prerequisites
- Configure credentials with least privilege (
ALIBABACLOUD_ACCESS_KEY_ID/ALIBABACLOUD_ACCESS_KEY_SECRET/ optionalALIBABACLOUD_REGION_ID). - Target skill:
skills/security/content/aliyun-green-moderation/.
Test Steps
1) Run offline script compilation check (no network needed):
python3 tests/common/compile_skill_scripts.py \
--skill-path skills/security/content/aliyun-green-moderation \
--output output/aliyun-green-moderation-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-green-moderation-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-green-moderation-test/with timestamp and parameters.
Result Template
- Date: YYYY-MM-DD
- Skill: skills/security/content/aliyun-green-moderation
- Conclusion: pass / fail
- Notes: