Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mapbox-ios-patterns

Skill by mapbox

Provides official Mapbox Maps SDK v11 integration patterns for iOS developers using Swift, SwiftUI and UIKit. Covers installation, markers, user location, GeoJSON data, styles, camera control and feature taps.

  • Score 73
  • 89 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mapbox-ios-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mapbox/mapbox-agent-skills /tmp/mapbox-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/mapbox-agent-skills/skills/mapbox-ios-patterns ~/.claude/skills/mapbox-ios-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mapbox-ios-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant integration patterns for the Mapbox Maps SDK v11 on iOS. It covers Swift, SwiftUI and UIKit code for installing the SDK, setting up a map, adding markers and annotations, showing user location, and adding GeoJSON data. It also covers map styles, camera control, and feature taps.

The skill points to reference files for deeper topics such as circle, polyline and polygon annotations, camera follow mode, and featureset interactions. It notes that the Marker API is experimental and suits simple cases, while larger datasets should use a GeoJSON source with a symbol layer. It is aimed at developers building iOS apps with Mapbox maps who want official, documentation-based code patterns.

Written from the project's SKILL.md and checked against it.

What it can do

  • Installation and setupCovers adding the access token to Info.plist and the Swift Package dependency for MapboxMaps.
  • Map initializationShows how to create a map in SwiftUI with the Map view and in UIKit with MapView.
  • Markers and annotationsCompares Marker, PointAnnotation and view annotations and when to use each.
  • User locationShows how to request location permission and display a user location puck on the map.
  • Custom GeoJSON dataCovers adding, updating and removing lines, polygons and points as GeoJSON.
  • Styles and cameraCovers map styles such as standard and standardSatellite and camera control.
  • Featureset interactionsCovers handling taps on features, custom layer taps, long press and gestures.
  • Performance guidanceRecommends reusing annotation managers and batching annotation updates.

What you need

  • Free Mapbox account and public access token
  • iOS 14 or later
  • Xcode 15 or later
  • Swift 5.9 or later

Try asking

  • Add a red marker for San Francisco to my SwiftUI Mapbox map
  • Show the user's location on my iOS map with a 2D puck
  • Load a GeoJSON polygon layer into my Mapbox iOS app

Good to know

  • The Marker API is experimental and needs @_spi(Experimental) import MapboxMaps.
  • Marker is available for SwiftUI only.
  • Marker and PointAnnotation suit up to about 100 markers. Larger datasets should use a symbol layer.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/mapbox-ios-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mapbox-ios-patterns

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

mapbox-ios-patterns: common questions

Which Mapbox SDK version does this skill cover?

It covers Mapbox Maps SDK v11 for iOS, with Swift, SwiftUI and UIKit examples.

When should I use a symbol layer instead of markers?

The skill says markers suit up to about 100 pins. For hundreds or thousands of features, it recommends a GeoJSON source rendered with a SymbolLayer.

Is the Markers API stable?

The skill describes the Marker API as experimental SPI. It is only available in SwiftUI.

How do I install mapbox-ios-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mapbox-ios-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mapbox-ios-patterns safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mapbox-ios-patterns?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

mapbox-ios-patterns Install

Add to stack

Loading.