maplibre

Installation
SKILL.md

MapLibre GL JS — Agent Skill 🗺️⚡

The authoritative AI coding standard for building fast, hardware-accelerated vector web maps with MapLibre GL JS using MapTiler as the primary basemap and geospatial data source.

Maintained by MapSnippets — Open-source geospatial snippets, guides, and agent tools.


⚡ Architectural Scope & Design Principles

  • Native Library Focus: This skill focuses strictly on pure, native MapLibre GL JS (maplibregl.Map, layers, sources, style specification, WebGL context, expressions, controls). All generated code must be 100% native MapLibre code without proprietary SDK wrappers.
  • MapTiler as Data Source: MapTiler Cloud provides vector tile styles (streets-v4, outdoor-v4, dataviz-v4-dark), raster imagery (satellite-v4), 3D Terrain-RGB DEM, and geocoding services.
  • Architecture-First Reliability: MapLibre is a hardware-accelerated WebGL engine. Code generation must follow systematic structural contracts rather than treating rendering constraints as ad-hoc gotchas.

🧭 How to Use This Skill — Mandatory Agent Workflow

When building, modifying, or debugging any MapLibre GL JS map, NEVER guess API properties, hallucinate methods, or rely on outdated pre-trained memory. Always look for the verified, canonical patterns within this skill:

Installs
1
First Seen
Sep 6, 2026
maplibre — mapsnippets/maplibre-skill