agentleFS
GeoDaoyuGeoDaoyu/arcgis-maps-sdk-js-ai-context/skills/arcgis-coding-components/AGENTS.md

arcgis-maps-sdk-js-ai-context / arcgis-coding-components

AGENTS.md0 starsChanged 7 months agoMITView on GitHub

Quick-reference for configuring the Arcade editor component.

The file

Files
AGENTS.md

Agent Guide: arcgis-coding-components

Quick-reference for configuring the Arcade editor component.

Editor Configuration Decision

ScenarioConfiguration
Full authoring experienceDefault (all panels visible)
Inline expression inputhide-side-bar for minimal UI
Popup expression editorSet profile with popup variables
Renderer expression editorSet profile with renderer variables
Label expression editorSet profile with labeling variables

Setup Checklist

  • Load coding-components package (CDN script or ESM import)
  • Create <arcgis-arcade-editor> element with explicit width and height
  • Set script property with initial expression (or empty string)
  • Set profile property to define available variables and context
  • Optionally set testData for expression validation
  • Optionally set snippets for reusable code templates
  • Listen for arcgisScriptChange to capture expression updates
  • Listen for arcgisDiagnosticsChange to display errors/warnings

Common Arcade Profile Variables

VariableTypeAvailable In
$featureFeaturePopups, Renderers, Labels
$layerFeatureSetPopups, Renderers
$mapMapPopups
$datapointObjectCharts, Dashboards
$viewObjectDashboards

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.