360 Secure SkillHub
360 安全技能中心

Alibabacloud Sls Sdk Guidance

以 references/route.md 为入口,按安装、写日志、消费日志、查询日志四类场景路由到对应参考文档,再指向具体语言 SDK 说明。内容覆盖 Java、Python、Go、Node.js、.NET、PHP、C/C++、Rust、Android/iOS 等 SDK 的安装命令、代码示例、Producer/Consumer 与日志框架 Appender 用法,并给出选型理由与不适用场景。

分类:开发
sdk-team
sdk-team
热度 12.25
最近更新 2026-11-26 01:19:34

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add sdk-team/alibabacloud-sls-sdk-guidance
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
alibabacloud-sls-sdk-guidance
description
Provide Alibaba Cloud SLS / Aliyun Log SDK installation, quickstart, usage guidance, and SDK selection advice across languages. Use when users ask how to install or use SLS SDKs, choose an SDK for a scenario, write logs, consume logs, query logs, or integrate application logs with Producer, Consumer, or logging framework Appender libraries.

Workflow

  1. Read references/route.md first.
  2. Identify the user's primary intent: install, write logs, consume logs, or query logs.
  3. Pick exactly one scenario file from references/scenarios/ unless the user explicitly asks for comparison across multiple scenarios.
  4. Follow references from the scenario file to the relevant SDK index.md.
  5. Read SDK-level write-logs.md or consume-logs.md only when the scenario points to it or the user asks for concrete code.
  6. Do not scan unrelated SDK directories.
  7. When recommending an SDK, explain why it fits and mention when it should not be used.
  8. For version-sensitive installation commands, avoid inventing exact latest versions. Use package-manager commands that resolve latest versions, or use version placeholders for Maven/Gradle production examples.