agentleFS
geoai-latamgeoai-latam/SKILL_JS5_ARCGIS/skills/arcgis-smart-mapping/AGENTS.md

SKILL_JS5_ARCGIS / arcgis-smart-mapping

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

Quick-reference for auto-generated renderers (SDK 5.1). Read before computing symbology. 1. Encode by? color → smartMapping/renderers/color.js; size → .../size.js; category → .../type.js. 2. Continuous vs classed? createContinuousRenderer vs createClassBreaksRenderer (+ classificationMethod). 3. Categories? type.createRenderer with numTypes decided (default 10).

The file

Files
AGENTS.md

Agent Guide: arcgis-smart-mapping

Quick-reference for auto-generated renderers (SDK 5.1). Read before computing symbology.

Quick Decision Tree

  1. Encode by? color → smartMapping/renderers/color.js; size → .../size.js; category → .../type.js.
  2. Continuous vs classed? createContinuousRenderer vs createClassBreaksRenderer (+ classificationMethod).
  3. Categories? type.createRenderer with numTypes decided (default 10).

Setup Checklist

  • Pass { layer, field } (+ view for background-aware colors).
  • Assign result.renderer to layer.renderer.
  • Set classificationMethod (default equal-interval).
  • Numeric fields for continuous; type module for strings.
  • Filter with definitionExpression or a geometry filter, not filter.where.

Anti-patterns (one-liner reminders)

  • ❌ Default class breaks on skewed data (3553 of 3557 in one class).
  • ❌ Type renderer on many categories without numTypes (only 10 + "Other").
  • ❌ Continuous on a text field: no error, made-up stops.
  • ❌ Expecting the view's extent to scope the statistics.

Files in This Skill

  • SKILL.md / SKILL.es.md — full guides
  • references/api-detail.md — creator signatures
  • references/examples.md — color / size / type
  • references/pitfalls.md — extended troubleshooting
  • scripts/snippet-smart-color.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.