Community图像github.com

mapbox/mapbox-style-patterns

常见样式模式、图层配置和典型地图场景的配方,包括餐厅查找器、房地产、数据可视化、导航、配送/物流等。在实现特定地图用例或寻找经过验证的样式模式时使用。

mapbox-style-patterns 是什么?

mapbox/mapbox-style-patterns 是一个为 Mapbox 开发者设计的样式模式集,提供了针对常见地图场景(如餐厅查找器、房地产、数据可视化、导航、配送/物流等)的预配置图层样式和配方。该技能的核心价值在于通过经过验证的模式,帮助开发者快速构建美观且功能完整的地图应用,避免从零开始设计样式。它支持 Mapbox GL JS 和 Mobile SDKs,使用 Style Spec 标准化配置。具体实现时,开发者可通过导入样式片段来复用图层定义(如热力图、气泡图、线图层等),并根据业务需求调整颜色、透明度或数据源。该技能特别适合需要快速原型设计或希望遵循最佳实践的团队,能显著减少重复性工作并提升地图可视化的一致性。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mapbox/mapbox-agent-skills/tree/main/skills/mapbox-style-patterns

Installed? Explore more 图像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

mapbox-style-patterns 是做什么的?

常见样式模式、图层配置和典型地图场景的配方,包括餐厅查找器、房地产、数据可视化、导航、配送/物流等。在实现特定地图用例或寻找经过验证的样式模式时使用。

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

mapbox/mapbox-cartography

Expert guidance on map design principles, color theory, visual hierarchy, typography, and cartographic best practices for creating effective and beautiful maps with Mapbox. Use when designing map styles, choosing colors, or making cartographic decisions.

mapbox/mapbox-data-visualization-patterns

Patterns for visualizing data on maps including choropleth maps, heat maps, 3D visualizations, data-driven styling, and animated data. Covers layer types, color scales, and performance optimization.

mapbox/mapbox-geospatial-operations

Expert guidance on choosing the right geospatial tool based on problem type, accuracy requirements, and performance needs

mapbox/mapbox-search-integration

Complete workflow for implementing Mapbox search in applications - from discovery questions to production-ready integration with best practices

mapbox/mapbox-style-quality

Expert guidance on validating, optimizing, and ensuring quality of Mapbox styles through validation, accessibility checks, and optimization. Use when preparing styles for production, debugging issues, or ensuring map quality standards.

mapbox/mapbox-token-security

Security best practices for Mapbox access tokens, including scope management, URL restrictions, rotation strategies, and protecting sensitive data. Use when creating, managing, or advising on Mapbox token security.

mapbox/mapbox-web-integration-patterns

Official integration patterns for Mapbox GL JS across popular web frameworks (React, Vue, Svelte, Angular). Covers setup, lifecycle management, token handling, search integration, and common pitfalls. Based on Mapbox's create-web-app scaffolding tool.

mapbox/mapbox-web-performance-patterns

Performance optimization patterns for Mapbox GL JS web applications. Covers initialization waterfalls, bundle size, rendering performance, memory management, and web optimization. Prioritized by impact on user experience.

相关技能