mapbox/mapbox-web-performance-patterns

Mapbox GL JS Webアプリケーション向けパフォーマンス最適化パターン。初期化ウォーターフォール、バンドルサイズ、レンダリングパフォーマンス、メモリ管理、Web最適化をカバーし、ユーザー体験への影響度で優先順位付けされています。

mapbox-web-performance-patterns とは?

このスキルは、Mapbox GL JSを使用したWebアプリケーションのパフォーマンスを最適化するための包括的なパターン集です。初期化時のウォーターフォール(リソース読み込み順序)、バンドルサイズの削減、レンダリングパフォーマンスの向上、メモリ管理、および一般的なWeb最適化手法をカバーしています。各パターンはユーザー体験への影響度で優先順位付けされており、開発者は最も効果の高い改善から実装できます。このスキルはClaude CodeやCursorなどのAIエージェントで使用することを想定しており、SKILL.mdドキュメントに基づいて実用的なアドバイスとコード例を提供します。具体的には、タイル読み込みの遅延、ベクトルタイルの最適化、CSSとJavaScriptの非同期読み込み、メモリリークの防止、Web Workerの活用などのテクニックが含まれ、Mapbox GL JSアプリのパフォーマンスを劇的に改善できます。

対応~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に質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

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.

関連スキル