Aliyun Sls Log Query Test
Testing & Qualityaliyun-sls-log-query-testAliyun Sls Log Query Test is an Agent Skill for testing & quality published in the cinience/alicloud-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Minimal smoke test for SLS log query skill. Validate SDK auth and one bounded query.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/cinience/alicloud-skills/blob/HEAD/tests/observability/sls/aliyun-sls-log-query-test/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/aliyun-sls-log-query-test, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Category: test
SLS 日志查询Minimal Viable Test
Prerequisites
- 配置
ALIBABACLOUD_ACCESS_KEY_ID、ALIBABACLOUD_ACCESS_KEY_SECRET。 - 配置
SLS_ENDPOINT、SLS_PROJECT、SLS_LOGSTORE。 - GoalsSkill:
skills/observability/sls/aliyun-sls-log-query/。
Test Steps
- 执行 5 分钟窗口的基础查询(如
* | select count(*))。 - 记录耗时与返回行数。
- 若失败,记录完整错误码。
Expected Results
- 查询成功返回统计结果,或返回可诊断错误。