Community生產力與協作github.com

mapbox/mapbox-web-performance-patterns

適用於 Mapbox GL JS 網頁應用的效能優化模式。涵蓋初始化瀑布流、套件大小、渲染效能、記憶體管理及網頁最佳化,並依使用者體驗影響程度排列優先順序。

mapbox-web-performance-patterns 是什麼?

此技能提供一系列詳細的效能優化模式,專為使用 Mapbox GL JS 的網頁應用程式設計。其主要目標是幫助開發者識別並解決影響使用者體驗的關鍵效能瓶頸,從初始化階段的瀑布流載入,到套件(bundle)大小的控制。技能內容也深入探討渲染效能、記憶體管理以及通用的網頁最佳化策略。所有模式均根據其對使用者體驗的實際影響程度進行優先級排序,讓開發者能集中精力處理最高回報的改進項目。它支援所有現代瀏覽器環境中的 Mapbox GL JS 應用,並基於 Mapbox 官方文件與業界最佳實踐進行彙整。透過遵循這些模式,開發者能顯著提升地圖載入速度、互動流暢度及整體資源使用效率。

相容平台~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 網頁應用的效能優化模式。涵蓋初始化瀑布流、套件大小、渲染效能、記憶體管理及網頁最佳化,並依使用者體驗影響程度排列優先順序。

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.

相關技能