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 或你在用的任意编程智能体里。