arcgis-maps-sdk-js-ai-context
💡 摘要
该技能为ArcGIS Maps SDK开发提供AI驱动的支持,包含30个专业技能。
🎯 适合人群
🤖 AI 吐槽: “看起来很能打,但别让配置把人劝退。”
风险:Medium。建议检查:是否执行 shell/命令行指令;是否发起外网请求(SSRF/数据外发);API Key/Token 的获取、存储与泄露风险。以最小权限运行,并在生产环境启用前审计代码与依赖。
arcgis-maps-sdk-js-ai-context
DISCLAIMER: This is work in progress and not yet tested extensively. Use at your own risk.
Install Agent Skills for ArcGIS Maps SDK for JavaScript development. Compatible with Claude, VS Code, Cursor, and other AI agents.
Features
- Agent Skills: Comprehensive skill files following the open Agent Skills specification
- Cross-platform AI support: Works with Claude, VS Code Copilot, Cursor, OpenCode, and other compatible agents
- SDK Version Selection: Choose skills for specific ArcGIS Maps SDK versions
- Cross-platform: Works on Windows, macOS, and Linux
- Zero dependencies: Uses only built-in Node.js modules
Installation
No installation required! Run directly with npx:
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context <command>
Commands
Install Agent Skills
Installs 30 Agent Skills directly to .github/skills/ in your project:
# Install for latest SDK version npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context skills # Install for specific SDK version npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context skills --sdk 4.34
This creates the following structure (all skills are prefixed with arcgis- to avoid conflicts with other packages):
your-project/
└── .github/
└── skills/
├── arcgis-core-maps/
│ └── SKILL.md
├── arcgis-layers/
│ └── SKILL.md
├── arcgis-visualization/
│ └── SKILL.md
└── ... (30 skill directories total)
List Available Skills
Shows all available SDK versions and skills:
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context list
Help
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context --help
SDK Version Selection
Use the --sdk flag to install skills for a specific ArcGIS Maps SDK version:
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context skills --sdk 4.34
Available versions can be viewed with the list command. If no version is specified, the latest available version is used.
| SDK Version | Status | |-------------|--------| | 4.34 | Available |
Skills Included
The package includes 30 comprehensive Agent Skills covering:
| Skill | Description | |-------|-------------| | arcgis-starter-app | Scaffold minimal TypeScript/Vite app with Map Components | | arcgis-starter-app-extended | Extended starter app with additional features | | arcgis-core-maps | 2D and 3D map creation, views, navigation | | arcgis-layers | FeatureLayer, TileLayer, GeoJSONLayer, and more | | arcgis-visualization | Renderers, symbols, and visual variables | | arcgis-popup-templates | Popup configuration and content | | arcgis-widgets-ui | Built-in widgets and UI components | | arcgis-geometry-operations | Geometry engine and spatial operations | | arcgis-coordinates-projection | Coordinate systems and projections | | arcgis-authentication | OAuth, API keys, and identity management | | arcgis-portal-content | Portal items, groups, and content management | | arcgis-smart-mapping | Smart mapping and data-driven visualization | | arcgis-editing-advanced | Feature editing and sketching | | arcgis-analysis-services | Spatial analysis and geoprocessing | | arcgis-3d-advanced | 3D visualization and SceneView | | arcgis-scene-effects | 3D effects, lighting, and atmosphere | | arcgis-cim-symbols | CIM symbol specification | | arcgis-arcade | Arcade expressions | | arcgis-time-animation | Time-aware layers and animation | | arcgis-feature-effects | Feature effects and filters | | arcgis-custom-rendering | Custom WebGL rendering | | arcgis-interaction | View interaction and events | | arcgis-map-tools | Measurement, print, and utility tools | | arcgis-tables-forms | Attribute tables and feature forms | | arcgis-media-layers | Media and image layers | | arcgis-advanced-layers | Specialized layer types | | arcgis-imagery | Imagery and raster analysis | | arcgis-knowledge-graphs | Knowledge graph integration | | arcgis-utility-networks | Utility network analysis | | arcgis-core-utilities | Core utilities and helpers |
Usage
After installing skills, your AI agent will automatically have access to ArcGIS-specific knowledge when working in your project. The skills provide:
- Correct import patterns for ESM and CDN usage
- Best practices for TypeScript with autocasting
- Code examples for common tasks
- API reference guidance
Supported AI Agents
- Claude / Claude Code
- VS Code with Copilot
- Cursor
- OpenCode
- Any agent supporting the Agent Skills specification
Requirements
- Node.js 14.0.0 or higher
Source
The skills in this package are based on the official ArcGIS Maps SDK for JavaScript documentation:
- Documentation: https://developers.arcgis.com/javascript/latest/downloads/
- Folders used:
api-referenceandsample-code
AI Assistance Declaration
This project was primarily developed using AI coding assistants. The maintainer directed the development through prompts and reviewed all generated code.
License
MIT
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests at:
https://github.com/SaschaBrunnerCH/arcgis-maps-sdk-js-ai-context
Related
优点
- 无需安装,使用npx轻松运行。
- 支持多种AI代理和SDK版本。
- 涵盖各种ArcGIS功能的全面技能。
缺点
- 仍在进行中,可能有未测试的功能。
- 仅限于ArcGIS Maps SDK上下文。
- 依赖于Node.js版本。
相关技能
免责声明:本内容来源于 GitHub 开源项目,仅供展示和评分分析使用。
版权归原作者所有 SaschaBrunnerCH.
