Index of every page on this site: llms.txt
All skills
esri avatar

/build-with-arcgis-maps-sdk-for-javascript

@b6fcac5
Run it yourself

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

Use this Skill: https://skilld.dev/gh/esri/esri-developer-agent-skills/build-with-arcgis-maps-sdk-for-javascript

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencescdn.md

≈728 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CDN apps

Refer to this reference only when the app loads the SDK from js.arcgis.com.

Use the version-specific pattern below before use. $arcgis.import() is available from 4.32 for loading Core modules; use AMD require with earlier versions.

CDN loading by version

Version 5.0 and later

One module script loads the Core API, component packages, and Calcite:

<script type="module" src="https://js.arcgis.com/5.1/"></script>

Add type="module" to scripts that use module syntax.

Versions 4.33 and 4.34

Load the Core API and each needed component package with separate script tags. Version 4.33 changed component URLs to match the Core API pattern:

<script src="https://js.arcgis.com/4.33/"></script>
<script type="module" src="https://js.arcgis.com/4.33/map-components/"></script>

The old component URL was removed in 4.34. Use the versioned URL shown above for both releases.

Versions 4.28 through 4.32

Load the Core API and each needed component package separately. The component URL puts the package name before the version. The 4.28 CDN guide shows this pattern:

<link rel="stylesheet" href="https://js.arcgis.com/4.28/esri/themes/light/main.css" />
<script src="https://js.arcgis.com/4.28/"></script>
<script type="module" src="https://js.arcgis.com/map-components/4.28/arcgis-map-components.esm.js"></script>

The official 4.28 component example includes the Core CSS link. From 4.32, CDN component packages no longer need manual stylesheet links for their dependencies, including Calcite. Widget or direct MapView/SceneView apps still need the Core CSS.

Map and Coding components first appeared in 4.28 as beta packages. Charts components followed in 4.29; Embeddable components arrived in 4.31; Common and AI components arrived in 5.0. Check the release notes for the app's exact SDK version to confirm that each component package and component is available. Do not infer version support from the latest documentation.

Release notes: 4.28, 4.29, 4.30, 4.31, 4.32, 4.33, 4.34, 5.0.

For the current CDN template, check Esri/jsapi-resources.

Hosting the CDN build locally

You can download the ArcGIS Maps SDK for JavaScript CDN build and host it on your own server.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts8d3 checks · Risk SAFE
  • Gen Agent Trust Hub8d

    The skill provides comprehensive instructions for developing applications with the ArcGIS Maps SDK for JavaScript, utilizing official vendor tools from Esri for project scaffolding and documentation retrieval. It includes guidance on using a vendor-provided MCP server for authoritative documentation. A standard vulnerability surface exists where user-supplied project and template names are used in shell commands during application creation.

  • Socket8d

    No alerts

  • Snyk8d

    Risk: LOW · No issues

Signed by skilld at b6fcac5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated last week

README badge

README badge for esri/esri-developer-agent-skills/build-with-arcgis-maps-sdk-for-javascript