maplibre-v6-migration SKILL.md skillB

maplibre-v6-migration from maplibre/maplibre-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add maplibre/maplibre-agent-skills/maplibre-v6-migration@git:20261026.b780373

Pins git:20261026.b780373 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
maplibre/maplibre-agent-skills
Path
skills/maplibre-v6-migration/SKILL.md
Versions recorded
5
Latest version
git:20261026.b780373, committed Oct 26, 2026
First version recorded
Aug 25, 2026
Size
10,505 bytes
Repository stars
160
License
MIT

Upgrading a MapLibre GL JS app from v5 to v6 — the ESM-only build, the removed default export, CommonJS require() breakage, the styleimagemissing/setMissingStyleImageResolver change, the removal of the internal map.transform, the MapDataEvent → MapSourceDataEvent/MapStyleDataEvent split, and the bundler-only setWorkerUrl() requirement. Use when a v5 app breaks after upgrading to v6, or before pinning a v6 install.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# MapLibre GL JS v5 → v6 Migration

**Use this only when the question, or the code in it, involves one of the seven changes below.** For any other MapLibre question, such as sources, layers, styling or terrain, write the answer with v6 imports and add no section, table, list or note about v6 changes or migrating from v5.

MapLibre GL JS v6 (released 2026-07-22) removed several things v5 code relied on: the UMD/CSP browser bundles, the default export, CommonJS support, the internal `map.transform`, and the `MapDataEvent` type. Most models' training data predates v6. So for code that touches one of these seven, the natural-sounding answer is usually the v5 one, and it breaks on v6.

**Primary reference:** the [MapLibre GL JS v5→v6 migration guide](https://maplibre.org/maplibre-gl-js/docs/guides/v5-to-v6-migration-guide/). This skill adds the gaps a model tends to fill with v5-era defaults. If the guide and this skill disagree, follow the guide and [report it](https://github.com/maplibre/maplibre-agent-skills/issues/new?template=ai-failure-report.md).

## When to Use This Skill
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add maplibre/maplibre-agent-skills/maplibre-v6-migration@sha256:23372369001207a4

The line at the top of this page pins the label git:20261026.b780373, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gbq4e5kbsbrcyngo.svg)](https://markdownregistry.com/a/art_gbq4e5kbsbrcyngo)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 25, 2026 and Oct 26, 2026, about one every 16 days.

versioncommittedcommitsizeaudit
git:20261026.b780373 latest2026-10-26 b780373 10,505 BB view · diff
git:20261026.3abe3c92026-10-26 3abe3c9 10,444 BB view · diff
git:20261026.25eeb742026-10-26 25eeb74 10,406 BB view · diff
git:20260830.0b44d712026-08-30 0b44d71 9,935 BB view · diff
git:20260825.fbf8b7f2026-08-25 fbf8b7f 9,918 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10505 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

maplibre/maplibre-agent-skills · 160 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gbq4e5kbsbrcyngo
GET https://markdownregistry.com/api/v1/resolve?ref=maplibre/maplibre-agent-skills/maplibre-v6-migration
GET https://markdownregistry.com/api/v1/blob/23372369001207a4d0caf737f38b962791eb473f214a0b2c9383353683565de0

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from maplibre/maplibre-agent-skills

AGENTS.md AGENTS.md file
maplibre/maplibre-agent-skills · AGENTS.md
git:20260820.91f6ab2 · audit A · 160 stars
maplibre-cartography SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-cartography/SKILL.md · Cartographic principles for MapLibre GL JS — label and symbol legibility on imagery vs. vector basemaps, figure-ground…
git:20261026.5bdf7cd · audit A · 160 stars
maplibre-fonts-glyphs SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-fonts-glyphs/SKILL.md · Configuring fonts and glyphs for MapLibre GL JS and MapLibre Native — the style's `glyphs` URL, self-hosting or…
git:20261026.79df4b0 · audit A · 160 stars
maplibre-mapbox-migration SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-mapbox-migration/SKILL.md · Migrating from Mapbox GL JS to MapLibre GL JS — package and import changes, removing the access token, choosing tile…
git:20261105.bac4ee9 · audit B · 160 stars
maplibre-native-gl-js-parity SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-native-gl-js-parity/SKILL.md · Six places where MapLibre Native (Android, iOS) and MapLibre GL JS differ, release by release — custom URL schemes…
git:20261105.a9ed19b · audit A · 160 stars
maplibre-pmtiles-patterns SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-pmtiles-patterns/SKILL.md · Serverless vector and raster tiles with PMTiles for MapLibre GL JS — single-file format, HTTP range requests, hosting…
git:20261029.6548441 · audit A · 160 stars
maplibre-running-evals SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-running-evals/SKILL.md · The step-by-step procedure for running this repo's Promptfoo evals with a generator and a judge over provider APIs. Use…
git:20261026.74dec25 · audit A · 160 stars
maplibre-skill-authoring SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-skill-authoring/SKILL.md · How to turn a working session into a MapLibre agent skill — you researched something MapLibre's docs did not cover, got…
git:20261026.25eeb74 · audit A · 160 stars
maplibre-source-wiring SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-source-wiring/SKILL.md · Getting a MapLibre GL JS source to actually render — TileJSON `url` versus hand-wired `tiles` templates, matching…
git:20261031.532edeb · audit A · 160 stars
maplibre-sprites-icons SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-sprites-icons/SKILL.md · Sprites and icon images for MapLibre GL JS — choosing a `Marker`, a sprite, or `addImage`; the `sprite` base URL and…
git:20261029.a5566a4 · audit A · 160 stars
maplibre-terrain-rendering SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-terrain-rendering/SKILL.md · Drawing elevation in MapLibre GL JS once a raster-dem source works — hillshade and `hillshade-method`, the…
git:20261026.801d568 · audit A · 160 stars
maplibre-tile-sources SKILL.md skill
maplibre/maplibre-agent-skills · skills/maplibre-tile-sources/SKILL.md · Choosing what form your data needs for MapLibre GL JS — GeoJSON read straight from a file versus vector or raster…
git:20261105.f651ae2 · audit A · 160 stars

Every file in maplibre/maplibre-agent-skills

Browse by kind, by grade B, or by owner.