Skip to content
Skills Library
Programming · Building & coding

geospatial-frontend

/geospatial-frontend

Build visually stunning geospatial demo webapps with MapLibre globe, DuckDB-WASM, and a warm dark HUD aesthetic. Use when building satellite imagery retrieval demos, embedding visualization tools, geospatial search UIs, or any map-centric data exploration frontend. Triggers on requests to scaffold a new geo demo, build a map-based UI, or create a retrieval/search visualization over satellite data.

Licence
Apache-2.0
Last repository change
07.08.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 07.08.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Build visually stunning geospatial demo webapps with MapLibre globe, DuckDB-WASM, and a warm dark HUD aesthetic. Use when building satellite imagery retrieval demos, embedding visualization tools, geospatial search UIs, or any map-centric data exploration frontend. Triggers on requests to scaffold a new geo demo, build a map-based UI, or create a retrieval/search visualization over satellite data.

Original author description

Build visually stunning geospatial demo webapps with MapLibre globe, DuckDB-WASM, and a warm dark HUD aesthetic. Use when building satellite imagery retrieval demos, embedding visualization tools, geospatial search UIs, or any map-centric data exploration frontend. Triggers on requests to scaffold a new geo demo, build a map-based UI, or create a retrieval/search visualization over satellite data.

How it works

  1. Architecture
  2. Design System
  3. UI Rules
  4. Layout
  5. Map Integration
  6. Data Pipeline Pattern
  7. Tutorial System
  8. Responsive
  9. File Organization
Original SKILL.md headings · 83 lines, 471 words
SKILL.md preview
---
name: geospatial-frontend
description: Build visually stunning geospatial demo webapps with MapLibre globe, DuckDB-WASM, and a warm dark HUD aesthetic. Use when building satellite imagery retrieval demos, embedding visualization tools, geospatial search UIs, or any map-centric data exploration frontend. Triggers on requests to scaffold a new geo demo, build a map-based UI, or create a retrieval/search visualization over satellite data.
---

# Geospatial Frontend Demo Builder

Build premium map-centric demo webapps. Derived from a production geospatial retrieval demo with battle-tested design patterns.

## Architecture

- **Stack**: Vite + vanilla TypeScript + MapLibre GL JS (globe) + DuckDB-WASM + pure CSS
- **No frameworks**: No React, Vue, Tailwind, CSS-in-JS. Pure semantic HTML + CSS custom properties + vanilla TS.
- **Map-first**: The globe IS the app. Everything else floats on top as a transparent HUD.
- **Single source of truth**: Global `state` object; `updateView()` re-renders; fingerprint diffing prevents redundant DOM rebuilds.

## Design System

See [references/design-system.md](references/design-system.md) for full token spec (colors, fonts, shadows, spacing, radii, animations, components).

**Core identity**: Warm espresso + ivory + rust. Dark mode only. Glassmorphed floating panels. Inspired by Anthropic Salon aesthetic.

## UI Rules

See [references/user-preferences.md](references/user-preferences.md) for battle-tested patterns, confirmed features, and design rules.

## Layout

```
viewport (100vw x 100vh, fixed)
  ::before  starfield
  ::after   vignette
  #map      MapLibre globe canvas
  brand     top-left (spinning rings + logotype)
  search    top-center (glassmorphed geocoder)
  status    top-center-below (pulsing LED + message)
  panel-L   left (query: draw controls, exemplars, results)
  panel-R   right (explore/discoveries, optional)
  tutorial  overlay + spotlight + card (z:1000+)
```

Panels are `position: fixed`, glassmorphed, with generous padding. Map fills entire viewport underneath.

## Map Integration

- **MapLibre GL JS** with `projection: "globe"` (3D globe, not flat)
- **Sentinel-2 cloudless tiles** (or similar satellite basemap)
- **Layer stack**: AOI fill/stroke -> draft layers -> result fill/stroke -> point circles with halos -> hover preview
- **Drawing**: rectangle (shift+drag with DOM overlay) + polygon (click-to-add, double-click-to-close)
- **Fly-to animations**: `globe.flyTo()` with curve 1.4, speed 1.2
- **GeoJSON sources**: all data as GeoJSON, expression-based paint properties for dynamic styling

## Data Pipeline Pattern

- DuckDB-WASM loads Parquet manifest + shards
- Spatial filtering via `ST_Intersects` or bbox containment
- Web Worker for heavy compute (embedding distances, scoring)
- Concurrency-limited parallel shard fetches
- Two-phase data loading: metadata first, embeddings on demand

## Tutorial System

Interactive 5-7 step spotlight walkthrough that SIMULATES real actions:
- Box-shadow spotlight (`0 0 0 9999px rgba(...)`) cuts a hole over target element
- Card auto-positioned via `getBoundingClientRect()`, glass-panel styled
- Simulated clicks with animated ripple effect
- Enter key advances; auto-place exemplars if user skips ahead
- Store completion in localStorage
- Must be a LIVE demo -- simulate zoom, draw, exemplar placement, view modes

## Responsive

Two breakpoints only:
- **1100px**: shrink panels, hide secondary nav
- **900px**: panels collapse to bottom-center stack, max-height 40-45vh

## File Organization

Keep files under ~500 LOC. Split by concern:
- `main.ts` -- app state, DOM, event handlers, tutorial
- `map.ts` -- MapLibre setup, layers, drawing, camera
- `types.ts` -- interfaces
- `util.ts` -- geometry, color interpolation, formatting
- `scoring-worker.ts` -- Web Worker for compute
- `styles.css` -- all CSS (pure, no preprocessor)
- `index.html` -- entry with font preloads + meta tags
Files in this package (3)
  • SKILL.md 4 KB
  • references/design-system.md 7 KB
  • references/user-preferences.md 4 KB

Versions

The database has no other skills named geospatial-frontend.

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 26f3e70d18a7 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90geospatial-analysis
    Performs geospatial data analysis including GIS operations, spatial statistics, remote sensing image processing, geocoding, and cartographic visualization; trigger when users discuss maps, coordinates, satellite imagery, spatial patterns, or geographic data.
  • 100globe-gl
    Use when implementing globe.gl (Globe.GL) for 3D globe data visualization with WebGL/ThreeJS, including setup, data layers (points, arcs, polygons, labels), and integration patterns in plain HTML or React.
  • 90local-geospatial-and-cartographic-visualization-ee759543
    Design geospatial and cartographic visualizations. Use when the user needs help deciding whether to use a map, choosing projections or basemaps, building choropleths or symbol maps, or implementing thematic maps, slippy maps, or geospatial interactions with D3 geo, Leaflet,…
  • 95antv-l7
    Comprehensive guide for AntV L7 geospatial visualization library. Use when users need to: (1) Create interactive maps with WebGL rendering (2) Visualize geographic data (points, lines, polygons, heatmaps) (3) Build location-based data dashboards (4) Add map layers, interactions,…
  • 100maplibre-native
    Use when embedding GPU-accelerated vector maps natively in Android, iOS, macOS, Linux, Windows or Node.js with MapLibre Native (C++ core, BSD-2-Clause) — org.maplibre.gl:android-sdk MapView/MapLibre.getInstance/getMapAsync, CocoaPods MapLibre MLNMapView,…
  • 95reading-portolan
    Use when exploring, querying, analyzing, or visualizing data from a Portolan catalog (STAC-based cloud-native geospatial data). Covers navigating STAC metadata, querying GeoParquet with DuckDB, cross-dataset joins, geospatial analysis, and creating interactive maps with…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.