界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

alternate-backends

alternate-backends

【效率与协作】Routes leafmap users to optional backend choices such as kepler, plotly, bokeh, pydeck, deck.gl, HERE, and mapbox when the default notebook maps are not the best fit.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: alternate-backends description: "Routes leafmap users to optional backend choices such as kepler, plotly, bokeh, pydeck, deck.gl, HERE, and mapbox when the default notebook maps are not the best fit." disable-model-invocation: true metadata: disco-role: operating license: MIT

Alternate Backends

Purpose

Use this sub-skill when the user is asking which non-default leafmap backend to use or how to handle a backend-specific import or capability question.

Read this when

  • The user mentions kepler, plotly, bokeh, pydeck, deck.gl, HERE, or mapbox.
  • The user wants a 3D or browser-hosted map and the default ipyleaflet/folium route is not ideal.
  • The user needs to know whether an optional backend is installed, missing, or unsupported in the current environment.

What this sub-skill owns

  • Backend selection guidance for leafmap.kepler, leafmap.plotlymap, leafmap.bokehmap, leafmap.deck, leafmap.deckgl, leafmap.heremap, and leafmap.mapbox.
  • Dependency caveats, backend-specific limitations, and missing-backend troubleshooting.

What this sub-skill does not own

  • Default ipyleaflet/folium map composition.
  • STAC / OSM / Planetary Computer / fire / Terrascope data helpers.
  • MapLibre viewer and CLI details.

First place to look

  • references/backends.md for the selection matrix.
  • references/troubleshooting.md for missing-package, API-key, and compatibility failures.
  • ../../scripts/check_leafmap_smoke.py --mode optional for a quick import-sanity check.

How to route a request

  • Use this sub-skill when the user is trying to choose a backend or recover from a backend-specific ImportError.
  • If the user only needs the best default map workflow, route them to interactive-maps instead.
  • If the user actually wants a standalone viewer or CLI command, route them to maplibre-viewers.

Typical workflow

  1. Identify the requested visual style or backend name.
  2. Check whether the backend is installed and whether it needs a special key or widget stack.
  3. Prefer a verified backend over forcing an optional one into place.
  4. If the backend is missing, explain the shortest safe install or the best fallback.
我的收藏