@saschabrunnerch/arcgis-maps-sdk-js-ai-context 0.0.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +167 -203
- package/bin/cli.js +157 -173
- package/contexts/4.34/{claude/arcgis-3d-advanced → skills/arcgis-3d-layers}/SKILL.md +482 -586
- package/contexts/4.34/{claude → skills}/arcgis-advanced-layers/SKILL.md +714 -431
- package/contexts/4.34/{claude → skills}/arcgis-arcade/SKILL.md +8 -3
- package/contexts/4.34/{claude → skills}/arcgis-authentication/SKILL.md +302 -301
- package/contexts/4.34/{claude → skills}/arcgis-cim-symbols/SKILL.md +508 -486
- package/contexts/4.34/{claude → skills}/arcgis-coordinates-projection/SKILL.md +343 -406
- package/contexts/4.34/{claude → skills}/arcgis-core-maps/SKILL.md +760 -739
- package/contexts/4.34/{claude → skills}/arcgis-core-utilities/SKILL.md +782 -732
- package/contexts/4.34/{claude → skills}/arcgis-custom-rendering/SKILL.md +600 -445
- package/contexts/4.34/{claude/arcgis-editing-advanced → skills/arcgis-editing}/SKILL.md +629 -702
- package/contexts/4.34/{claude → skills}/arcgis-feature-effects/SKILL.md +401 -393
- package/contexts/4.34/skills/arcgis-geometry-operations/SKILL.md +495 -0
- package/contexts/4.34/{claude → skills}/arcgis-imagery/SKILL.md +322 -307
- package/contexts/4.34/{claude → skills}/arcgis-interaction/SKILL.md +434 -572
- package/contexts/4.34/{claude → skills}/arcgis-knowledge-graphs/SKILL.md +477 -582
- package/contexts/4.34/{claude → skills}/arcgis-layers/SKILL.md +589 -601
- package/contexts/4.34/{claude → skills}/arcgis-map-tools/SKILL.md +653 -668
- package/contexts/4.34/{claude → skills}/arcgis-popup-templates/SKILL.md +8 -0
- package/contexts/4.34/{claude → skills}/arcgis-portal-content/SKILL.md +689 -679
- package/contexts/4.34/skills/arcgis-rest-services/SKILL.md +684 -0
- package/contexts/4.34/{claude/arcgis-scene-effects → skills/arcgis-scene-environment}/SKILL.md +520 -512
- package/contexts/4.34/{claude → skills}/arcgis-smart-mapping/SKILL.md +693 -686
- package/contexts/4.34/{claude/arcgis-analysis-services → skills/arcgis-spatial-analysis}/SKILL.md +502 -607
- package/contexts/4.34/{claude/arcgis-starter-app-extended → skills/arcgis-starter-app}/SKILL.md +917 -649
- package/contexts/4.34/{claude → skills}/arcgis-tables-forms/SKILL.md +841 -877
- package/contexts/4.34/{claude → skills}/arcgis-time-animation/SKILL.md +723 -722
- package/contexts/4.34/{claude → skills}/arcgis-utility-networks/SKILL.md +312 -301
- package/contexts/4.34/{claude → skills}/arcgis-visualization/SKILL.md +530 -580
- package/contexts/4.34/skills/arcgis-widgets-advanced/SKILL.md +777 -0
- package/contexts/4.34/{claude → skills}/arcgis-widgets-ui/SKILL.md +596 -574
- package/lib/installer.js +19 -104
- package/package.json +45 -45
- package/contexts/4.34/claude/arcgis-geometry-operations/SKILL.md +0 -489
- package/contexts/4.34/claude/arcgis-media-layers/SKILL.md +0 -290
- package/contexts/4.34/claude/arcgis-starter-app/SKILL.md +0 -273
- package/contexts/4.34/copilot/arcgis-3d.instructions.md +0 -267
- package/contexts/4.34/copilot/arcgis-analysis.instructions.md +0 -294
- package/contexts/4.34/copilot/arcgis-arcade.instructions.md +0 -234
- package/contexts/4.34/copilot/arcgis-authentication.instructions.md +0 -187
- package/contexts/4.34/copilot/arcgis-cim-symbols.instructions.md +0 -177
- package/contexts/4.34/copilot/arcgis-core-maps.instructions.md +0 -246
- package/contexts/4.34/copilot/arcgis-core-utilities.instructions.md +0 -247
- package/contexts/4.34/copilot/arcgis-editing.instructions.md +0 -262
- package/contexts/4.34/copilot/arcgis-geometry.instructions.md +0 -225
- package/contexts/4.34/copilot/arcgis-layers.instructions.md +0 -278
- package/contexts/4.34/copilot/arcgis-popup-templates.instructions.md +0 -266
- package/contexts/4.34/copilot/arcgis-portal-advanced.instructions.md +0 -275
- package/contexts/4.34/copilot/arcgis-smart-mapping.instructions.md +0 -184
- package/contexts/4.34/copilot/arcgis-starter-app-extended.instructions.md +0 -643
- package/contexts/4.34/copilot/arcgis-starter-app.instructions.md +0 -268
- package/contexts/4.34/copilot/arcgis-time-animation.instructions.md +0 -112
- package/contexts/4.34/copilot/arcgis-visualization.instructions.md +0 -321
- package/contexts/4.34/copilot/arcgis-widgets-ui.instructions.md +0 -277
package/README.md
CHANGED
|
@@ -1,203 +1,167 @@
|
|
|
1
|
-
# arcgis-maps-sdk-js-ai-context
|
|
2
|
-
|
|
3
|
-
> **DISCLAIMER:** This is work in progress and not yet tested extensively. Use at your own risk.
|
|
4
|
-
|
|
5
|
-
Install
|
|
6
|
-
|
|
7
|
-
## Features
|
|
8
|
-
|
|
9
|
-
- **
|
|
10
|
-
- **
|
|
11
|
-
- **SDK Version Selection**: Choose
|
|
12
|
-
- **Cross-platform**: Works on Windows, macOS, and Linux
|
|
13
|
-
- **Zero dependencies**: Uses only built-in Node.js modules
|
|
14
|
-
|
|
15
|
-
## Installation
|
|
16
|
-
|
|
17
|
-
No installation required! Run directly with npx:
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context <command>
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Commands
|
|
24
|
-
|
|
25
|
-
### Install
|
|
26
|
-
|
|
27
|
-
Installs
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
# Install for latest SDK version
|
|
31
|
-
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context
|
|
32
|
-
|
|
33
|
-
# Install for specific SDK version
|
|
34
|
-
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
|
94
|
-
|
|
95
|
-
| arcgis-
|
|
96
|
-
| arcgis-
|
|
97
|
-
| arcgis-
|
|
98
|
-
| arcgis-
|
|
99
|
-
| arcgis-
|
|
100
|
-
| arcgis-
|
|
101
|
-
| arcgis-
|
|
102
|
-
| arcgis-
|
|
103
|
-
| arcgis-
|
|
104
|
-
| arcgis-
|
|
105
|
-
| arcgis-
|
|
106
|
-
| arcgis-
|
|
107
|
-
| arcgis-
|
|
108
|
-
| arcgis-
|
|
109
|
-
| arcgis-
|
|
110
|
-
| arcgis-
|
|
111
|
-
| arcgis-
|
|
112
|
-
| arcgis-
|
|
113
|
-
| arcgis-
|
|
114
|
-
| arcgis-
|
|
115
|
-
| arcgis-
|
|
116
|
-
| arcgis-
|
|
117
|
-
| arcgis-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
- ArcGIS API imports
|
|
169
|
-
- Map and view initialization
|
|
170
|
-
- Layer configuration
|
|
171
|
-
- Widget setup
|
|
172
|
-
- Common patterns
|
|
173
|
-
|
|
174
|
-
## Requirements
|
|
175
|
-
|
|
176
|
-
- Node.js 14.0.0 or higher
|
|
177
|
-
|
|
178
|
-
## Source
|
|
179
|
-
|
|
180
|
-
The context files in this package are based on the official ArcGIS Maps SDK for JavaScript documentation:
|
|
181
|
-
|
|
182
|
-
- **Documentation:** https://developers.arcgis.com/javascript/latest/downloads/
|
|
183
|
-
- **Folders used:** `api-reference` and `sample-code`
|
|
184
|
-
|
|
185
|
-
## AI Assistance Declaration
|
|
186
|
-
|
|
187
|
-
This project was primarily developed using AI coding assistants. The maintainer directed the development through prompts and reviewed all generated code.
|
|
188
|
-
|
|
189
|
-
## License
|
|
190
|
-
|
|
191
|
-
MIT
|
|
192
|
-
|
|
193
|
-
## Contributing
|
|
194
|
-
|
|
195
|
-
Contributions are welcome! Please feel free to submit issues and pull requests at:
|
|
196
|
-
|
|
197
|
-
https://github.com/SaschaBrunnerCH/arcgis-maps-sdk-js-ai-context
|
|
198
|
-
|
|
199
|
-
## Related
|
|
200
|
-
|
|
201
|
-
- [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript/)
|
|
202
|
-
- [Claude](https://claude.ai/)
|
|
203
|
-
- [GitHub Copilot](https://github.com/features/copilot)
|
|
1
|
+
# arcgis-maps-sdk-js-ai-context
|
|
2
|
+
|
|
3
|
+
> **DISCLAIMER:** This is work in progress and not yet tested extensively. Use at your own risk.
|
|
4
|
+
|
|
5
|
+
Install [Agent Skills](https://agentskills.io) for [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript/) development. Compatible with Claude, VS Code, Cursor, and other AI agents.
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- **Agent Skills**: Comprehensive skill files following the open [Agent Skills specification](https://agentskills.io/specification)
|
|
10
|
+
- **Cross-platform AI support**: Works with Claude, VS Code Copilot, Cursor, OpenCode, and other compatible agents
|
|
11
|
+
- **SDK Version Selection**: Choose skills for specific ArcGIS Maps SDK versions
|
|
12
|
+
- **Cross-platform**: Works on Windows, macOS, and Linux
|
|
13
|
+
- **Zero dependencies**: Uses only built-in Node.js modules
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
No installation required! Run directly with npx:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context <command>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Commands
|
|
24
|
+
|
|
25
|
+
### Install Agent Skills
|
|
26
|
+
|
|
27
|
+
Installs 30 Agent Skills directly to `.github/skills/` in your project:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Install for latest SDK version
|
|
31
|
+
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context skills
|
|
32
|
+
|
|
33
|
+
# Install for specific SDK version
|
|
34
|
+
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context skills --sdk 4.34
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
This creates the following structure (all skills are prefixed with `arcgis-` to avoid conflicts with other packages):
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
your-project/
|
|
41
|
+
└── .github/
|
|
42
|
+
└── skills/
|
|
43
|
+
├── arcgis-starter-app/
|
|
44
|
+
│ └── SKILL.md
|
|
45
|
+
├── arcgis-core-maps/
|
|
46
|
+
│ └── SKILL.md
|
|
47
|
+
├── arcgis-layers/
|
|
48
|
+
│ └── SKILL.md
|
|
49
|
+
├── arcgis-widgets-ui/
|
|
50
|
+
│ └── SKILL.md
|
|
51
|
+
└── ... (30 skill directories total)
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### List Available Skills
|
|
55
|
+
|
|
56
|
+
Shows all available SDK versions and skills:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context list
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### Help
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context --help
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## SDK Version Selection
|
|
69
|
+
|
|
70
|
+
Use the `--sdk` flag to install skills for a specific ArcGIS Maps SDK version:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx @saschabrunnerch/arcgis-maps-sdk-js-ai-context skills --sdk 4.34
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Available versions can be viewed with the `list` command. If no version is specified, the latest available version is used.
|
|
77
|
+
|
|
78
|
+
| SDK Version | Status |
|
|
79
|
+
|-------------|--------|
|
|
80
|
+
| 4.34 | Available |
|
|
81
|
+
|
|
82
|
+
## Skills Included
|
|
83
|
+
|
|
84
|
+
The package includes 30 comprehensive Agent Skills covering:
|
|
85
|
+
|
|
86
|
+
| Skill | Description |
|
|
87
|
+
|-------|-------------|
|
|
88
|
+
| arcgis-starter-app | Scaffold TypeScript/Vite apps (minimal and production-ready setups) |
|
|
89
|
+
| arcgis-core-maps | 2D and 3D map creation, views, navigation, arcgis-video |
|
|
90
|
+
| arcgis-layers | FeatureLayer, TileLayer, GeoJSONLayer, and more |
|
|
91
|
+
| arcgis-advanced-layers | WMS, WFS, WMTS, OGC, MapImageLayer, CatalogLayer, MediaLayer |
|
|
92
|
+
| arcgis-visualization | Renderers, symbols, labels, and visual variables |
|
|
93
|
+
| arcgis-smart-mapping | Smart mapping and data-driven visualization |
|
|
94
|
+
| arcgis-popup-templates | Popup configuration and content |
|
|
95
|
+
| arcgis-widgets-ui | Built-in widgets and UI components |
|
|
96
|
+
| arcgis-widgets-advanced | BuildingExplorer, FloorFilter, Track, Locate, ScaleBar, and more |
|
|
97
|
+
| arcgis-geometry-operations | Geometry operators and spatial operations |
|
|
98
|
+
| arcgis-coordinates-projection | Coordinate systems and projections |
|
|
99
|
+
| arcgis-spatial-analysis | Spatial analysis, feature reduction, and analysis objects |
|
|
100
|
+
| arcgis-rest-services | REST service wrappers for routing, geocoding, printing, places |
|
|
101
|
+
| arcgis-3d-layers | VoxelLayer, PointCloudLayer, glTF imports, 3D analysis components |
|
|
102
|
+
| arcgis-scene-environment | SceneView environment, shadows, lighting, atmosphere |
|
|
103
|
+
| arcgis-feature-effects | Feature effects, filters, and blend modes |
|
|
104
|
+
| arcgis-cim-symbols | CIM symbol specification |
|
|
105
|
+
| arcgis-arcade | Arcade expressions |
|
|
106
|
+
| arcgis-time-animation | Time-aware layers and animation |
|
|
107
|
+
| arcgis-editing | Editor widget, forms, subtypes, versioning |
|
|
108
|
+
| arcgis-interaction | Hit testing, highlighting, sketching, and events |
|
|
109
|
+
| arcgis-map-tools | Measurement, print, directions, and utility tools |
|
|
110
|
+
| arcgis-tables-forms | Attribute tables and feature forms |
|
|
111
|
+
| arcgis-custom-rendering | Custom WebGL rendering and LayerView architecture |
|
|
112
|
+
| arcgis-imagery | Imagery and raster analysis |
|
|
113
|
+
| arcgis-authentication | OAuth, API keys, and identity management |
|
|
114
|
+
| arcgis-portal-content | Portal items, groups, and content management |
|
|
115
|
+
| arcgis-knowledge-graphs | Knowledge graph integration and link charts |
|
|
116
|
+
| arcgis-utility-networks | Utility network analysis |
|
|
117
|
+
| arcgis-core-utilities | Accessor, Collection, reactiveUtils, intl, and workers |
|
|
118
|
+
|
|
119
|
+
## Usage
|
|
120
|
+
|
|
121
|
+
After installing skills, your AI agent will automatically have access to ArcGIS-specific knowledge when working in your project. The skills provide:
|
|
122
|
+
|
|
123
|
+
- Correct import patterns for ESM and Map Components
|
|
124
|
+
- Best practices for TypeScript with autocasting
|
|
125
|
+
- Code examples for common tasks
|
|
126
|
+
- Reference samples linking to official SDK sample code
|
|
127
|
+
- Common pitfalls and how to avoid them
|
|
128
|
+
- Cross-references between related skills
|
|
129
|
+
|
|
130
|
+
### Supported AI Agents
|
|
131
|
+
|
|
132
|
+
- [Claude](https://claude.ai/) / [Claude Code](https://claude.ai/claude-code)
|
|
133
|
+
- [VS Code with Copilot](https://code.visualstudio.com/)
|
|
134
|
+
- [Cursor](https://cursor.com/)
|
|
135
|
+
- [OpenCode](https://opencode.ai/)
|
|
136
|
+
- Any agent supporting the [Agent Skills specification](https://agentskills.io)
|
|
137
|
+
|
|
138
|
+
## Requirements
|
|
139
|
+
|
|
140
|
+
- Node.js 14.0.0 or higher
|
|
141
|
+
|
|
142
|
+
## Source
|
|
143
|
+
|
|
144
|
+
The skills in this package are based on the official ArcGIS Maps SDK for JavaScript documentation:
|
|
145
|
+
|
|
146
|
+
- **Documentation:** https://developers.arcgis.com/javascript/latest/downloads/
|
|
147
|
+
- **Folders used:** `api-reference` and `sample-code` and `map-components`
|
|
148
|
+
|
|
149
|
+
## AI Assistance Declaration
|
|
150
|
+
|
|
151
|
+
This project was primarily developed using AI coding assistants. The maintainer directed the development through prompts and reviewed all generated code.
|
|
152
|
+
|
|
153
|
+
## License
|
|
154
|
+
|
|
155
|
+
MIT
|
|
156
|
+
|
|
157
|
+
## Contributing
|
|
158
|
+
|
|
159
|
+
Contributions are welcome! Please feel free to submit issues and pull requests at:
|
|
160
|
+
|
|
161
|
+
https://github.com/SaschaBrunnerCH/arcgis-maps-sdk-js-ai-context
|
|
162
|
+
|
|
163
|
+
## Related
|
|
164
|
+
|
|
165
|
+
- [ArcGIS Maps SDK for JavaScript](https://developers.arcgis.com/javascript/)
|
|
166
|
+
- [Agent Skills Specification](https://agentskills.io)
|
|
167
|
+
- [Claude](https://claude.ai/)
|