Community生产力与协作github.com

mapbox/mapbox-search-integration

实现 Mapbox 搜索功能到应用程序中的完整工作流——从需求发现到生产就绪集成,并遵循最佳实践

mapbox-search-integration 是什么?

该技能提供了在应用程序中集成 Mapbox 搜索功能的完整端到端工作流。它涵盖从初始需求发现(例如,向开发者提出关键问题以明确用例)到生产级部署的整个过程,包括 API 设置、前端 UI 组件集成(如地图上的搜索框和自动补全)、后端服务与地理编码/反向地理编码的配合,以及性能优化与错误处理等最佳实践。该技能支持 Mapbox 的多种搜索 API,如 Geocoding API、Search Box API 和 Search JS 库,适用于 React、Vue、Angular 等主流前端框架,以及 Node.js 和 Python 后端。通过遵循该工作流,开发者可以快速、可靠地构建具有高质量位置搜索体验的应用。

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

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

在你喜欢的 AI 中提问

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

文档

mapbox-search-integration 是做什么的?

实现 Mapbox 搜索功能到应用程序中的完整工作流——从需求发现到生产就绪集成,并遵循最佳实践

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

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.

相关技能