원클릭으로
nereid-artifact-authoring
Create map artifacts in NEREID Vite+React workspace by editing src/App.tsx.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create map artifacts in NEREID Vite+React workspace by editing src/App.tsx.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
z.yuiseki.net/static/geojson/ の静的 GeoJSON ファイルをダウンロードして MapLibre レイヤーとして表示する。USGS地震・武力紛争・プレートテクトニクス・海底ケーブルなどのグローバルデータセットに使う。
Apply MapLibre style spec from legacy-work-spec.json to public/layers/config.json. Handles both inline JSON (mode=inline) and URL reference (mode=url) to tile.yuiseki.net. Do NOT read or modify src/App.tsx.
OpenStreetMapのデータを使って高品質な地図を生成する。ユーザーの日本語プロンプトを構造化→Overpass QL生成→データ取得→MapLibre可視化まで5ステップで実行する。
Valhalla ルーティング API を使って出発地→目的地のルートを GeoJSON LineString に変換し MapLibre で可視化する。「AからBまで歩く/車で行く/自転車で行く」ルート表示リクエストに使う。
Reference-only: MapLibre GL JS is installed via npm as maplibre-gl v5 and react-map-gl v8. Additional GIS libs: pmtiles, osmtogeojson, swr, @turf/turf. NOT a callable tool.
Use osmable CLI for deterministic OSM workflows (geocode, reverse, aoi, poi, route, isochrone). Trigger for OSM map requests such as parks/shops/stations and Nominatim/Overpass retrieval.
| name | nereid-artifact-authoring |
| description | Create map artifacts in NEREID Vite+React workspace by editing src/App.tsx. |
Create interactive map artifacts using the Vite + React + TypeScript + react-map-gl project.
gemini-workspace/
├── index.html ← Vite entry (do not edit directly for content)
├── src/
│ ├── main.tsx ← React entry point
│ ├── App.tsx ← **Main editing target**
│ ├── App.css ← Styles
│ ├── vite-env.d.ts ← Vite types
│ ├── hooks/
│ │ └── useFitBounds.ts ← turf.bbox fitBounds hook
│ └── lib/
│ └── overpass.ts ← osmtogeojson + swr fetcher
├── public/
│ └── styles/ ← Map style JSON files
│ ├── osm_vector.json
│ ├── osm_raster.json
│ └── osm_pmtiles.json
├── scripts/
│ ├── setup.sh
│ └── fetch_geojson.py
├── Makefile
└── package.json
| Package | Use |
|---|---|
react-map-gl v8 | React map components (<Map>, <Source>, <Layer>, <Marker>) |
maplibre-gl v5 | Map rendering engine |
pmtiles | PMTiles protocol for MapLibre |
osmtogeojson | Convert Overpass JSON → GeoJSON |
swr | React data fetching hooks |
@turf/turf | Geospatial analysis (bbox, buffer, centroid, etc.) |
src/App.tsx — modify this file to change map behavior, layers, and data.src/ as .tsx files and import from App.tsx.public/ directory../parks.geojson) to fetch data from public/. DO NOT use absolute paths (/parks.geojson).make build — builds and copies entire dist/ contents to project root.mapLib={maplibregl} prop to <Map>.osm_pmtiles style../index.html from scratch.src/lib/overpass.ts utilities.https://tile.yuiseki.net/styles/osm-bright/style.jsonhttps://tile.yuiseki.net/styles/osm-fiord/style.json./styles/osm_vector.json, ./styles/osm_raster.json, ./styles/osm_pmtiles.jsontile.yuiseki.net styles need NO access tokens.make install # npm install
make dev # Vite dev server
make build # Production build → ./index.html
make typecheck # tsc --noEmit
make build to ensure the artifact passes validation.