Curated guidance for AI assistants building MapLibre GL JS 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 based on periodic demand mining — tracking documented AI failures in GitHub issues, Stack Overflow, and community Slack. Each skill is tested with Promptfoo evals to verify it improves AI responses on real developer questions.
| Skill | Use when |
|---|---|
maplibre-tile-sources |
Choosing how to supply map data; deciding between GeoJSON and tiles; configuring a basemap; debugging blank maps or missing labels |
maplibre-pmtiles-patterns |
Hosting tiles without a tile server; static or serverless deployments; converting from MBTiles; generating tiles from OSM or GeoJSON |
maplibre-mapbox-migration |
Moving an existing Mapbox GL JS app to MapLibre; evaluating MapLibre as an open-source alternative |
Each skill lives under skills/<skill-name>/:
- SKILL.md — Required. YAML front-matter (
name,description) plus markdown content. - AGENTS.md — Optional. Short reference for the LLM.
See CONTRIBUTING.md to add or improve a skill. All experience levels welcome, but please note, since we are trying to improve on genAI baseline contributions to MapLibre development, skills or contributions generated entirely by AI agents will likely be rejected.
Installing skills into your project means AI assistants automatically pick them up when you describe a task — no need to define context manually each time.
Skills are plain markdown.
- Paste into chat: Open any
SKILL.mdabove and paste it directly into your AI assistant's context window. - Copy to your project: Drop a
SKILL.mdinto.claude/skills/,.cursor/rules/, or append it to.github/copilot-instructions.md. - Symlink for local development:
mkdir -p .claude
ln -s /path/to/maplibre-agent-skills/skills .claude/skillsThe skills CLI is a package manager for AI agent skills. It places skill files in the right location for your tool automatically, and supports 40+ agents.
# List available skills
npx skills add maplibre/maplibre-agent-skills --list
# Install all skills
npx skills add maplibre/maplibre-agent-skills
# Install a single skill
npx skills add maplibre/maplibre-agent-skills --skill maplibre-tile-sourcesBy default, skills are installed per project. To install globally (e.g. to your user profile):
npx skills add maplibre/maplibre-agent-skills -gTo install for a specific agent:
npx skills add maplibre/maplibre-agent-skills -a claude-code
npx skills add maplibre/maplibre-agent-skills -a cursor
npx skills add maplibre/maplibre-agent-skills -a vscodeSee Supported Agents for the full list.
Once installed, you can manage skills with:
| Command | Description |
|---|---|
npx skills list |
List installed skills (alias: ls) |
npx skills find [query] |
Search for skills interactively or by keyword |
npx skills remove [skills] |
Remove installed skills from agents |
npx skills check |
Check for available skill updates |
npx skills update |
Update all installed skills to latest versions |
npx skills init [name] |
Create a new SKILL.md template |
MIT License. Copyright (c) MapLibre and contributors. See LICENSE.md and NOTICE for more information.