OpenParable
Skip to content
← Back to skills

Aliyun Sls Log Query Test

Testing & Quality
aliyun-sls-log-query-test

Aliyun 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. 执行 5 分钟窗口的基础查询(如 * | select count(*))。
  2. 记录耗时与返回行数。
  3. 若失败,记录完整错误码。

Expected Results

  • 查询成功返回统计结果,或返回可诊断错误。