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.

referencessaved-layer-configuration.md

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

Configuration saved with layers and items

When a web map's operational layer references an itemId, the SDK loads that portal item and applies its saved configuration to the layer. The web map's own entry for that layer may contain almost nothing while the real configuration lives in the layer item. Reuse these rather than authoring equivalents by hand:

Layers can be FeatureLayer, CSVLayer, GeoJSONLayer, OGCFeatureLayer, or other types. Not all types support every property below. Check the loaded layer's API before use.

Saved on the layer item Loads onto Use it for
charts charts Saved chart definitions for arcgis-chart
attributeTableInfo attributeTableTemplate Column set and sort order for arcgis-feature-table
popupInfo popupTemplate Existing popup configuration and title field
layerDefinition.definitionExpression definitionExpression The feature subset the app actually shows
layerDefinition.drawingInfo.labelingInfo labelingInfo Fields the cartographer chose to surface
featureEffect featureEffect A saved emphasis filter

With a service url but no itemId, the SDK loads the service, not the settings saved in a layer item. It still applies settings saved in the web map, such as popupInfo.

Not every layer has saved charts, table settings, or popups. Load the layer, then check each property before use.

A web map also saves each layer's visibility. A layer saved not visible loads and queries normally but draws nothing; the symptom is an app that looks broken with no error.

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