agentleFS
geoai-latamgeoai-latam/SKILL_JS5_ARCGIS/skills/arcgis-map-tools/AGENTS.md

SKILL_JS5_ARCGIS / arcgis-map-tools

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

Quick-reference for interactive tools (SDK 5.1). Read before adding sketch/measure/snap.

The file

Files
AGENTS.md

Agent Guide: arcgis-map-tools

Quick-reference for interactive tools (SDK 5.1). Read before adding sketch/measure/snap.

Quick Decision Tree

  1. Draw/edit? → arcgis-sketch (adds its own "Sketch Layer").
  2. Measure? → 2D: *-measurement-2d; 3D: direct-line/area *-3d; code: measurement analyses.
  3. Snap? → snappingControls.snappingOptions = sketch.snappingOptions + featureSources.

Setup Checklist

  • The map has a basemap or a layer (an empty map never gets ready).
  • Share one SnappingOptions between sketch and snapping controls.
  • Add FeatureSnappingLayerSource for feature snapping.
  • Match the measurement variant to the view; set unit explicitly if reports read it.
  • Persist sketch output with applyEdits if needed.

Anti-patterns (one-liner reminders)

  • ❌ Assuming snapping controls drive the sketch (separate objects, measured).
  • ❌ 3D measurement on a 2D map (state: "unsupported").
  • ❌ Assuming sketch saves to the service.

Files in This Skill

  • SKILL.md / SKILL.es.md — full guides
  • references/api-detail.md — components, analyses, snapping defaults
  • references/examples.md — snapping, fixed units, measure in code
  • references/pitfalls.md — extended troubleshooting
  • scripts/snippet-tools.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.