agentleFS
geoai-latamgeoai-latam/SKILL_JS5_ARCGIS/skills/arcgis-coding-components/AGENTS.md

SKILL_JS5_ARCGIS / arcgis-coding-components

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

Quick-reference for in-app expression editors. Read before adding one. 1. Arcade? → arcgis-arcade-editor + profile with the id of where it will run. 2. SQL where? → no public component in 5.1 (arcgis-sql-expression-editor is @internal): your own UI + layer.queryFeatureCount({ where }) to check it. 3. Generic code? → Monaco or CodeMirror (arcgis-code-editor is @internal).

The file

Files
AGENTS.md

Agent Guide: arcgis-coding-components

Quick-reference for in-app expression editors. Read before adding one.

Quick Decision Tree

  1. Arcade? → arcgis-arcade-editor + profile with the id of where it will run.
  2. SQL where? → no public component in 5.1 (arcgis-sql-expression-editor is @internal): your own UI + layer.queryFeatureCount({ where }) to check it.
  3. Generic code? → Monaco or CodeMirror (arcgis-code-editor is @internal).

Setup Checklist

  • profile = { id, definitions: { $feature: layer } }, same id as the runtime.
  • Keep the last arcgisDiagnosticsChange; apply arcgisScriptChange only with zero.
  • testData if users should run the script.
  • disableAssistant = true unless you want the AI assistant (on by default in 5.1).
  • Size the element in CSS.

Anti-patterns (one-liner reminders)

  • ❌ No profile: even $feature is "not defined".
  • ❌ arcgisChange, isValid, sqlEditor.layer: none exist.
  • ❌ Author in labeling, run in popup (or the reverse).

Files in This Skill

  • SKILL.md / SKILL.es.md — full guides
  • references/api-detail.md — components and status, editor API, profiles
  • references/examples.md — label editor, test data, custom profile
  • references/pitfalls.md — extended troubleshooting
  • scripts/snippet-coding.ts

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.