amap

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

AMap Skill

AMap Skill

Quick Start

快速开始

  1. Ensure
    AMAP_MAPS_API_KEY
    is set.
  2. Run
    bun scripts/amap.ts --help
    in this skill directory.
  3. Pick the matching command from
    references/command-map.md
    .
  1. 确保已设置
    AMAP_MAPS_API_KEY
  2. 在本skill目录下运行
    bun scripts/amap.ts --help
  3. references/command-map.md
    中选择匹配的命令。

Workflow

工作流程

  1. Validate user intent and select one command.
  2. Prefer address commands for route planning when users provide plain addresses.
  3. Keep output as raw AMap JSON without wrapping fields.
  4. Treat any non-zero API business state as failure.
  1. 验证用户意图并选择对应的命令。
  2. 当用户提供普通地址时,优先使用地址类命令进行路线规划。
  3. 输出保持为原始AMAP JSON格式,不包装字段。
  4. 任何非0的API业务状态均视为调用失败。

Commands

命令

  • Full command mapping:
    references/command-map.md
  • Ready-to-run examples:
    references/examples.md
  • 完整命令映射:
    references/command-map.md
  • 可直接运行的示例:
    references/examples.md

Notes

注意事项

  • This skill is script-first and does not run an MCP server.
  • Only
    AMAP_MAPS_API_KEY
    is supported.
  • 本skill以脚本为核心,不运行MCP服务器。
  • 仅支持
    AMAP_MAPS_API_KEY