Community生产力与协作github.com

mapbox/mapbox-web-performance-patterns

Mapbox GL JS Web 应用性能优化模式,涵盖初始化瀑布流、打包体积、渲染性能、内存管理和 Web 优化,按对用户体验的影响程度优先排序。

mapbox-web-performance-patterns 是什么?

该技能提供了一套针对 Mapbox GL JS Web 应用的性能优化模式,旨在帮助开发者提升地图应用的加载速度和运行流畅度。其内容涵盖了从初始化时的资源瀑布流分析、减少打包体积,到优化渲染性能、管理内存泄漏以及实施通用 Web 优化技术等方面。所有优化建议均按照对用户体验的影响程度进行了优先级排序,使开发者能够快速识别并解决最关键的性能瓶颈。该技能适用于所有使用 Mapbox GL JS 构建 Web 应用的开发者,指导他们通过构建时的策略、运行时优化和最佳实践来显著提升应用性能。

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

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

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

文档

mapbox-web-performance-patterns 是做什么的?

Mapbox GL JS Web 应用性能优化模式,涵盖初始化瀑布流、打包体积、渲染性能、内存管理和 Web 优化,按对用户体验的影响程度优先排序。

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-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.

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.

相关技能