alibabacloud-sls-sdk-guidance

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

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.
  1. 首先阅读
    references/route.md
  2. 识别用户的核心需求:安装、写入日志、消费日志或查询日志。
  3. 除非用户明确要求对比多个场景,否则仅从
    references/scenarios/
    中选择一个场景文件。
  4. 遵循场景文件中的指引,查看对应的SDK
    index.md
  5. 仅当场景文件指向或用户要求具体代码时,才阅读SDK级别的
    write-logs.md
    consume-logs.md
  6. 不要扫描无关的SDK目录。
  7. 推荐SDK时,需说明其适配原因,并提及不适用于哪些场景。
  8. 对于对版本敏感的安装命令,请勿自行编造确切的最新版本。使用能自动解析最新版本的包管理器命令,或在Maven/Gradle生产示例中使用版本占位符。