MapLibre Agent Skills
Curated guidance for AI assistants building MapLibre applications — covering ecosystem and open-source best practices.
Agent skills are markdown files that AI coding assistants read as context. When you ask an AI agent to implement something using MapLibre, these skills give the AI the judgment to avoid common API gotchas, and suggest patterns that work.
New skills are prioritized by reported AI failures, recent API/library changes, and long-standing issues documented in GitHub, Stack Overflow, or the community Slack.
Correctness Guarantee
We strive to make sure the skills in this repo are:
- Accurate — Matches MapLibre and referenced APIs/docs
- Actionable — Clear guidance, not just general, declarative descriptions
- Warranted — Targets something an AI assistant actually gets wrong without the skill
- Attribution — Reference primary sources wherever possible, and always preserve Mapbox copyright where content is adapted
- Consistent — Format and style in line with existing skills
If you find any inconsistency with this quality bar, please file an issue or PR.
What Status Means
Each skill is tested with Promptfoo evals to verify it improves AI responses on real developer questions. The metadata.status field in a skill's front matter records where it stands (e.g. whether an eval has proven it fixes a real failure). See evals/README.md for how evals work.
| Status | Means |
|---|
✅ verified | An eval proved the skill fixes a real failure; results are committed to evals/results/ |
🧪 provisional | No eval rubric, an incomplete one, or a rubric that no longer validates the skill's gap |
process | About maintaining this repo, not MapLibre — eval-exempt, no status badge |
Note that provisional skills are not necessarily lower quality or less reliable. See CONTRIBUTING.md for how a skill moves between provisional and verified.
Available Skills
Each skill's front matter is the source of truth for its current status — see What Status Means.
| Skill | Use when |
|---|
maplibre-cartography | Styling a map; making labels, markers, or roads readable on imagery or vector basemaps |
maplibre-fonts-glyphs | Text labels aren't rendering in the intended font, setting up a glyphs server, choosing between self-hosting and generating font PBFs, or handling non-Latin scripts |
maplibre-mapbox-migration | Moving an existing Mapbox GL JS app to MapLibre; evaluating MapLibre as an open-source alternative |
maplibre-native-gl-js-parity | A style or feature that works in the browser does nothing in an Android or iOS app, or when porting MapLibre GL JS code to Kotlin or Swift |
maplibre-pmtiles-patterns | Hosting tiles without a tile server; static or serverless deployments; converting from MBTiles; generating tiles from OSM or GeoJSON |
maplibre-skill-authoring | At the end of a MapLibre task that took real research, or when asked to capture one as a skill |