/skillry-optional-specialist:map-routing-geo-reviewfrom skillry-optional-specialist
Reviews map integration code for correctness, performance, API key security, and location privacy. Covers Leaflet, Mapbox GL JS, Google Maps Platform, OpenLayers, routing, geocoding, markers, clustering, and tile caching.
Ships in skillry-optional-specialist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Skillry 3.0.0 merged the skills below into this one. The procedure in this file stays the default. When a task, agent or document names one of these old skills, open only its reference.
| Old skill | Reference | Covers | Source |
|---|---|---|---|
maplibre-cartography | references/maplibre-cartography.md | MapLibre GL JS cartography: label and halo colors, imagery legibility, hierarchy, glyphs, sprites, shields, layer order | maplibre/maplibre-agent-skills (MIT) |
maplibre-tile-sources | references/maplibre-tile-sources.md | MapLibre data sources: GeoJSON vs tiles, hosted services, PMTiles, self-hosted servers, tile schemas, glyphs, sprites | maplibre/maplibre-agent-skills (MIT) |
Third-party references keep a provenance header and their upstream license in references/<old-skill>/LICENSE.
Review map integration code for correctness, performance, API key security, and location privacy. Covers Leaflet, Mapbox GL JS, Google Maps Platform, OpenLayers; routing and directions APIs; geocoding and reverse geocoding; marker rendering and clustering; coordinate handling; tile caching; and user location data.
navigator.geolocation) is collected, stored, or transmitted.Application restrictions → HTTP referrers + API restrictions → only the APIs used (Maps JavaScript API, Geocoding API, Directions API — not "All APIs").styles:read + tiles:read), not the default secret token with write access.?key=... must be referrer-restricted.height: 0 renders blank and is a common bug.maxZoom and minZoom must be set to values supported by the tile provider to avoid blank tile errors.CircleMarker on a canvas layer, or Mapbox circle / symbol layers with GeoJSON source) instead of SVG/DOM markers.z-index stacking must be deterministic; overlapping markers must be clickable with a sensible priority order or a cluster popup listing all overlapping points.mousemove or continuous GPS position update. Debounce at ≥ 500 ms.region or bounds to the expected country/area to improve result relevance.[lat, lng] order; GeoJSON uses [lng, lat] (longitude first). Mixing these is the most common geospatial bug — audit every coordinate array.DECIMAL(10, 8) (latitude) and DECIMAL(11, 8) (longitude) in SQL — FLOAT loses precision at ~5 decimal places, causing ~1 m error.Cache-Control: public, max-age=86400 for static tiles (zoom ≤ 14) and shorter TTL for frequently updated data layers.@2x tile URLs on retina displays; low-res tiles on retina look blurry.navigator.geolocation.getCurrentPosition() requires user permission — never call it silently on page load without context.enableHighAccuracy: true) should only be used when genuinely needed (turn-by-turn navigation); use coarse location for "nearby search" to reduce battery drain.watchPosition with a minimum distance filter.API keys:
Map rendering:
maxZoom/minZoom within provider limits.Markers and performance:
Coordinates:
[lat, lng] vs GeoJSON [lng, lat] usage is consistent throughout.DECIMAL(10,8) / DECIMAL(11,8).Routing:
Privacy:
geolocation API not called on page load without user trigger.[lng, lat] vs [lat, lng] confusion: mixing Leaflet and GeoJSON coordinate order places markers in the wrong location (often in the ocean). This is the most frequent geospatial bug.FLOAT loses precision at the 6th decimal place (~11 cm). Use DECIMAL or store as integer microdegrees.Return a structured report with:
[lat,lng] vs [lng,lat] consistency finding.references/maplibre-cartography.md (opens in a new tab)references/maplibre-cartography/LICENSE (opens in a new tab)references/maplibre-cartography/NOTICE (opens in a new tab)references/maplibre-tile-sources.md (opens in a new tab)references/maplibre-tile-sources/LICENSE (opens in a new tab)references/maplibre-tile-sources/NOTICE (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
map-review, geospatial, routing, geocoding, api-key-security, location-privacy
9 skills in this plugin
/ecommerce-integration-reviewEcommerce: catalog, checkout, payments, inventory, orders, taxes; WordPress/WooCommerce plugins and themes./nfc-linktree-menu-builder-reviewNFC card, linktree, menu builder, QR and tap-to-open flows, plus print-ready artifacts and export./local-llm-runtime-reviewLocal LLM runtimes: model routing, resource limits, privacy boundaries, offline behavior.npx claudepluginhub fluxonlab/skillry --plugin skillry-optional-specialistOther plugins' skills for the same job