/arcgis-sdks-and-apis-plugin:build-with-arcgis-maplibrefrom arcgis-sdks-and-apis-plugin
Renders ArcGIS basemaps, feature layers, vector tiles, and location services in browser maps using MapLibre GL JS and @esri/maplibre-arcgis. Covers authentication, setup, and best practices.
Ships in arcgis-sdks-and-apis-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
MapLibre ArcGIS is an Esri-supported open-source integration. MapLibre GL JS renders/styles; @esri/maplibre-arcgis loads supported ArcGIS resources including feature layers, vector tiles, basemaps, and basemap sessions. Use it for maps, data services, geocoding, routing, places, and other location services. It is not the ArcGIS Maps SDK for JavaScript.
If the application's development requirements are unclear, use the gather-arcgis-application-requirements skill to review project context and clarify consequential unknowns before proceeding. Then apply this skill's technology-specific guidance, reusing requirements already clear from the request or project.
Developers must have one of the following ArcGIS accounts to create applications with ArcGIS: ArcGIS Location Platform (free), or ArcGIS Online or ArcGIS Enterprise with a Creator, Professional, or Professional Plus user type. The account's user type, role, and privileges provide access to different resources and operations.
DO NOT SKIP: Refer to the follow-arcgis-authentication-patterns skill for ArcGIS authentication requirements, including the appropriate type of authentication for different audiences, use cases, and types of application. If the skill is not available, search the project for any existing authentication patterns, and if none are found, query esri-mcp-server-for-developer-documentation for authentication best practices.
Always install maplibre-gl and @esri/maplibre-arcgis packages via CDN or NPM and import maplibre-gl/dist/maplibre-gl.css for CSS. Use the API reference for current URLs and supported versions. For geocoding, routing, and other ArcGIS Location Services, use ArcGIS REST JS.
Try to infer requirements based on existing project files and the wording of the prompt. If uncertain, ask for clarification before proceeding.
Use an importmap from maplibre-gl and @esri/maplibre-arcgis to current CDN ESM URLs. Add REST JS packages as necessary. Check the API reference using esri-mcp-server-for-developer-documentation for current supported versions. Most ArcGIS documentation shows CDN imports; use them for testing, demos, tutorials, samples, and lightweight quickstarts.
Use Vite unless another framework is specified. Install/import core packages and CSS as ESM through any Node package manager. React, Angular, Vue, and Svelte are other supported frameworks. If using a vite template or another framework-specific template, remove all template files that are not relevant to the user's request (e.g. counter.js). Use this method for actual development, larger projects, and production builds.
Before installing, identify package manager/lockfile, framework, CDN versus Node-module imports, and project-level TypeScript/ESLint configs, bundler (webpack/vite/other). Conform; install core packages as required. Preserve environment/credential conventions. For CommonJS, use synchronous native require on Node 22+ or asynchronous dynamic import() on Node 12+; Node <12 is unsupported.
Installing this skill individually does not configure Esri MCP server for developer documentation (esri-mcp-server-for-developer-documentation). Add that server at https://developers-mcp.arcgis.com/mcp using your client's MCP settings, or install the full ArcGIS SDKs and APIs plugin (arcgis-sdks-and-apis-plugin). If the MCP server is unavailable, consult the linked official Esri documentation.
Documentation can be queried using the Esri MCP server for developer documentation (esri-mcp-server-for-developer-documentation):
https://developers-mcp.arcgis.com/mcp
Use the search_esri_developer_docs tool to surface authoritative documentation pages with maplibre-arcgis-plugin as the focus_area parameter in addition to a specified search_term; Use the arcgis-rest-js focus area for ArcGIS REST JS queries. Use the fetch_esri_developer_doc tool with the page_url parameter set to return the full content of a documentation page in Markdown format.
Clearly indicate any recommendations and assumptions that are not grounded in the official documentation. If the MCP server is unavailable, consult official documentation URLs below.
Official references - prefer the Esri MCP server for developer documentation (esri-mcp-server-for-developer-documentation) for all page lookups and fall back to URLs if not available.
esri-mcp-server-for-developer-documentation for the latest ArcGIS capabilities and MapLibre docs for map/style behavior.AttributionControl; never remove attribution provided by BasemapStyle or hosted layers; do not use the default MapLibre attribution property. Keep credentials out of source control.applyStyle, basemaps session operations, and all hosted layer factories as async boundaries. Add sources/layers within a map.onAdd listener after initial basemap/style resolution. Preserve basemap version, source/layer IDs, glyphs, sprites, and attribution.addSourceTo(map, options) and addLayerTo(map, options). For items with multiple layers use addSourcesTo and addLayersTo, and use addSourcesAndLayersTo as a single-line convenience method. Do not use the native map.addSource or map.addLayer for feature layers and vector tile layers.style property; omit style from the Map constructor entirely when using with the BasemapStyle class.getSelf method of the BasemapStyle class. Use arcgis/navigation as the default.loadingMode for feature layers unless debugging. Recommend vector tiles for efficient large-scale display. Add MapLibre sources before style layers; preserve source IDs/types; use source-layer only for vector tiles; use unique source and layer IDs and type-compatible expressions.Popup.setText for untrusted text; sanitize HTML; Avoid duplicate maps/layers, clean up on teardown, prefer paint/layout changes over source data updates, query needed fields, and smoke-test.AuthenticationManager and pass through to basemaps, sessions, and hosted layers. Reference the build-with-arcgis-rest-js skill for guidance as applicable.calcite-design-system skill for usage and guidelines as applicable.Validate that:
source-layer.BasemapStyle.applyStyle; attribution remains visible.source-layer values come from the service style.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub esri/esri-developer-agent-skills --plugin arcgis-sdks-and-apis-plugin15 skills in this plugin
/build-with-arcgis-and-cesiumjsBuild and troubleshoot browser-based 3D mapping apps with CesiumJS and ArcGIS. Use for ArcGIS basemaps, terrain, feature and map services, I3S/scene layers, geocoding, routing, places, and spatial analysis. Guide setup, authentication, ArcGIS REST JS integration, coordinate handling, attribution, and performance using current Esri documentation./build-with-arcgis-and-openlayersUse to build, extend, and troubleshoot browser based mapping applications with OpenLayers and ArcGIS services. Covers how to combine OpenLayers with ArcGIS basemaps, feature services, vector or raster tiles, location services, geocoding, routing, places, elevation, or secure ArcGIS resources. Includes ESM setup, ol-mapbox-style, ArcGIS REST JS, API keys and OAuth, projections, queries and pagination, styling, popups, editing, attribution, and performance./build-with-arcgis-api-for-pythonUse when working with ArcGIS API for Python (ArcGIS Python API, Python API for ArcGIS, Esri Python API), the arcgis Python package/library/module, or arcgis-mapping (arcgis.map). Covers scripts/notebooks, setup, authentication, Spatially Enabled DataFrames (SEDF), queries/edits, publishing, portal administration, cloning/dependencies, Web Maps/Web Scenes, analysis, geocoding, routing and arcgis.ai for ArcGIS Online, Enterprise and Location Platform. Not for ArcPy-only tasks or non-Python SDKs./build-with-arcgis-maps-sdk-for-dotnetUse this skill when building or extending native GIS applications with ArcGIS Maps SDK for .NET. Choose it for WPF or WinUI apps on Windows, or .NET MAUI apps for Windows, Android, iOS, and Mac Catalyst. Follow its guidance to set up and license the SDK, configure authentication, display 2D maps and 3D scenes, use ArcGIS Online, ArcGIS Enterprise, or ArcGIS Location Platform maps and services, and implement location, offline workflows, geocoding, routing, spatial analysis, editing, and synchronization. Use it for SDK-specific architecture, toolkit integration, validation, and platform considerations; consult follow-esri-authentication-patterns to select an authentication model./build-with-arcgis-maps-sdk-for-flutterUse this skill to build, extend, debug, and explain native iOS and Android apps with ArcGIS Maps SDK for Flutter. Guide SDK setup, authentication, maps and scenes, layers, location, offline workflows, and optional Toolkit widgets./build-with-arcgis-maps-sdk-for-javascriptArcGIS Maps SDK for JavaScript (@arcgis/core, @arcgis/*-components, @arcgis/create) skill for frontend application development, and its public documentation. Use when building, designing, configuring, debugging, upgrading, or explaining an app that uses the SDK - including Core API modules, web components/custom elements, widgets, maps, scenes, link charts, layers, graphics, popups, Arcade, geometry operators, queries/SQL, utility network, CIMSymbols, authentication, routing, editing, guides, tutorials, samples, references, release notes, or app templates.Other plugins' skills for the same job