maplibremaplibreOfficial·3 Agent Skills Included

maplibre-agent-skills

Correct MapLibre map styling, tiles, terrain, and migrations

Guides coding assistants to write correct MapLibre GL JS code for map styling, tile sources, fonts, terrain rendering, and PMTiles hosting. Eliminates common silent failures like blank maps, missing icons, wrong fonts, and broken feature-state highlighting. Covers Mapbox-to-MapLibre and v5-to-v6 migrations with verified, eval-tested guidance cited to primary sources.
npx skills add maplibre/maplibre-agent-skills --all -g -y
Available:

Instructs the agent to match each MapLibre question to the right skill via front-matter descriptions, prefer primary MapLibre docs over Mapbox assumptions, and report stale or incorrect skill content instead of silently working around it.

All Skills in This Repository (3)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install MapLibre Agent Skills?

Run `npx skills add maplibre/maplibre-agent-skills --all -g -y` in your terminal to install all skills globally. You can also install a single skill with `npx skills add maplibre/maplibre-agent-skills --skill maplibre-tile-sources`.

How to migrate from Mapbox GL JS to MapLibre?

The maplibre-mapbox-migration skill walks your assistant through swapping the package, removing the access token, replacing the style URL, and translating Mapbox v2-only APIs like setFog into MapLibre equivalents.

Why is my MapLibre map blank or missing labels?

The maplibre-source-wiring and maplibre-fonts-glyphs skills diagnose the usual causes: mismatched source-layer names, missing glyphs or sprite URLs, wrong tileSize, and CORS failures.

Can I host map tiles without a tile server?

Yes. The maplibre-pmtiles-patterns skill shows how to serve vector, raster, and terrain tiles from a single PMTiles file on static storage like S3, R2, or GitHub Pages using HTTP range requests.

Do these skills work with Claude Code and Cursor?

Yes. The skills are plain markdown files following the universal SKILL.md standard, so they load automatically in Claude Code, Cursor, Copilot, and 40+ other coding assistants.

Related Repositories in Software Engineering

View All in Software Engineering