Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

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 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.

Available Skills

SkillUse when
maplibre-tile-sourcesChoosing how to supply map data; deciding between GeoJSON and tiles; configuring a basemap; debugging blank maps or missing labels
maplibre-pmtiles-patternsHosting tiles without a tile server; static or serverless deployments; converting from MBTiles; generating tiles from OSM or GeoJSON
maplibre-mapbox-migrationMoving an existing Mapbox GL JS app to MapLibre; evaluating MapLibre as an open-source alternative

Development

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.

Install

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.

Without the CLI

Skills are plain markdown.

  • Paste into chat: Open any SKILL.md above and paste it directly into your AI assistant's context window.
  • Copy to your project: Drop a SKILL.md into .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/skills

Via the skills CLI

The 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-sources

By default, skills are installed per project. To install globally (e.g. to your user profile):

npx skills add maplibre/maplibre-agent-skills -g

To 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 vscode

See Supported Agents for the full list.

Once installed, you can manage skills with:

CommandDescription
npx skills listList 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 checkCheck for available skill updates
npx skills updateUpdate all installed skills to latest versions
npx skills init [name]Create a new SKILL.md template

License

MIT License. Copyright (c) MapLibre and contributors. See LICENSE.md and NOTICE for more information.

关于 About

Community-maintained agent skills for MapLibre GL JS — helping AI coding assistants write better mapping code

语言 Languages

JavaScript92.2%
Shell7.8%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
57
Total Commits
峰值: 27次/周
Less
More

核心贡献者 Contributors