npx skills add ...
npx skills add mapbox/mapbox-agent-skills --skill mapbox-style-patterns
Common style patterns, layer configurations, and recipes for typical mapping scenarios including restaurant finders, real estate, data visualization, navigation, delivery/logistics, and more. Use when implementing specific map use cases or looking for proven style patterns.
npx skills add mapbox/mapbox-agent-skills --skill mapbox-style-patterns
This skill provides battle-tested style patterns and layer configurations for common mapping scenarios.
Use case: Consumer app showing restaurants, cafes, bars, or other points of interest
Visual requirements:
Recommended layers:
Key features:
Question 1: What is the primary content?
Question 2: What is the viewing environment?
Question 3: What is the user's primary action?
Question 4: What is the platform?
Additional patterns and configurations are available in the references/ directory. Load the relevant file when a specific pattern is needed.
| File | Contents |
|---|---|
| references/real-estate.md | Pattern 2: Real Estate Map -- property boundaries, price color-coding, amenity markers |
| references/data-viz-base.md | Pattern 3: Data Visualization Base Map -- minimal grayscale base for choropleth/heatmap overlays |
| references/navigation.md | Pattern 4: Navigation/Routing Map -- route display, user location, turn arrows |
| references/dark-mode.md | Pattern 5: Dark Mode / Night Theme -- near-black background, reduced brightness |
| references/delivery-logistics.md | Pattern 6: Delivery/Logistics Map -- real-time tracking, zones, driver markers, ETA badges |
| references/expressions-clustering.md | Data-driven expression patterns + clustering for dense POIs |
| references/common-modifications.md | 3D Buildings, Terrain/Hillshade, Custom Markers |
| references/interactions.md | addInteraction vs setFeatureState vs appearances -- how they fit together and when to use each |
Loading instructions: Read the reference file that matches the user's use case. For example, if implementing a delivery tracking map, load references/delivery-logistics.md.
Invoke this skill when: