gitmap
от 14-tr
Web & Frontend DevelopmentКратко
Version control for ArcGIS web maps — exposed as native OpenClaw tools.
Описание
Что делает этот навык
GitMap wraps the `gitmap` CLI to expose Git-like version control for ArcGIS web maps as callable tools. It covers branch, commit, diff, push/pull, and map discovery against ArcGIS Online and Enterprise Portal. No local database is required.
ArcGIS Online has no native version history for web maps; GitMap adds branching, diffing, and commit history without requiring a local database.
Когда его использовать
- Tracking layer symbology changes before publishing to Portal
- Creating feature branches for experimental basemap updates
- Reviewing commit history of a shared team web map
- Syncing local map edits back to ArcGIS Online
- Discovering and filtering web maps owned by a specific user
Пример сценария
User asks: Commit my current web map edits and push them to Portal
- 1
Calls gitmap_status to show what changed in the local repo
- 2
Calls gitmap_commit with the user's message to snapshot the current map state
- 3
Calls gitmap_push to sync committed changes to ArcGIS Portal
Status summary, commit hash confirmation, and push result indicating the map is up to date on Portal
Требования
- gitmap-core Python package (pip install gitmap-core)
- ArcGIS Online or Enterprise Portal account
- PORTAL_URL environment variable
- ARCGIS_USERNAME environment variable
- ARCGIS_PASSWORD environment variable (scoped API token preferred)
Установка
clawhub install 14-tr/gitmapВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.