/mapbox:mapbox-ios-maps-v10-to-v11-migrationfrom mapbox
Migrates iOS apps from Mapbox Maps SDK v10 to v11, covering UIKit and SwiftUI. Inventories v10 usage, plans migration by area, and applies v11 APIs like Featureset Interactions and typed events.
Ships in mapbox. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Moves an iOS app from Maps SDK v10 to the latest Maps SDK v11 release. The agent does most of the work. The developer makes the decisions.
Reference files:
references/migration-workflow.md: templates for the inventory, plan, decision log and migration summaryreferences/ios.md: v10 → v11 mappings for iOS (Swift, UIKit, SwiftUI)For an Android app, use mapbox-android-maps-v10-to-v11-migration. A project with both platforms gets two separate migrations, one per platform.
MapboxMaps 10.x)Not covered:
mapbox-ios-navigation-v2-to-v3-migration).These rules apply to every step.
The official v11 migration guide was written when v11 first shipped and lists what changed between v10 and 11.0. Since then v11 has gained APIs that replace patterns the guide still shows. For example, the guide maps v10 tap handling to onLayerTap and onMapTap. Those are now deprecated or discouraged in favor of Featureset Interactions.
Use the migration guide to find what breaks. Use the "Target" column in references/ios.md to decide what the code becomes. When the two disagree, the reference wins.
Two limits:
queryRenderedFeatures and querySourceFeatures are still correct for non-interactive queries ("what is inside this rectangle?"). Replace them only when they implement a tap or long-press handler.Some v11 changes alter what the app does at runtime even though the code compiles. Examples: the default style, default puck bearing, 3D puck scale, overview padding. references/ios.md has a Behavior changes table. For every row that applies to the app:
references/migration-workflow.md).Keep the app's style URL or style JSON exactly as it is. Don't switch to Standard, add style imports, or change tilesets or traffic data. v11 changed the default style to Standard. If the app relied on the v10 default (it never set a style), set the style explicitly to the one v10 loaded. v11 also points some built-in style constants (for example .streets) at newer style versions. Keeping the constant can still change the map, so pin the literal style URI the v10 SDK resolved to. See references/ios.md.
Moving to Standard is a separate, opt-in recommendation. List it in the final report if relevant. Never do it as part of the migration.
Only use v11 symbols that appear in references/ios.md, the official migration guide, or the SDK source and docs for the version you're targeting. If you're unsure whether a symbol exists or has the stated signature, don't invent one. Write the closest match, add a // [VERIFY WITH MAPBOX] comment at the call site, and list it in the report. The build is the final check. A symbol that doesn't compile is a grounding failure, not something to patch around with a guess.
Use the latest stable 11.x unless the developer pins a version. Several target APIs need a minimum v11 minor version (for example, Featureset Interactions are stable from 11.13, and LocationManager.dataModel needs 11.17). If the developer pins an older 11.x, check each Target entry's minimum version and fall back to the entry's "older 11.x" alternative.
Run the five steps in order. Don't edit code before step 2 is done and shown to the developer.
Find every v10 symbol the app uses, by file, with call counts. Use the inventory search list in references/ios.md. It lists the symbols and patterns to search for, grouped by area.
Output the inventory table from references/migration-workflow.md. Also flag:
If the app can run on a simulator, offer to take before screenshots of the main map screens now, on v10, for comparison in step 4. Note the device, camera position and app state for each, so the after screenshot can repeat it.
Group the work by area, in this order:
For each area, give the call-site count, an effort estimate (S < 1h, M = half a day, L = 1-2 days, XL = more, or blocked), and blockers. List every behavior change that applies, as a decision the developer needs to make. Use the plan template in references/migration-workflow.md.
The plan on its own answers "how much work is this?". If that was the question, stop here.
Bumping the dependency breaks the whole build at once, and the app won't compile again until every area is migrated. Don't expect a green build after each area. Instead:
xcodebuild for the app scheme and save the full error list. This is the baseline.references/ios.md, using the Target column. Use the error list as the to-do list for that area: the area is done when none of the remaining errors are in its files or symbols. Rebuild to refresh the list. Expect new errors to appear as earlier ones clear, since the compiler stops at some errors.If the app already isolates map code behind its own interface (see Staged rollout), migrating and building one module at a time is possible. Say so in the plan.
[VERIFY WITH MAPBOX] tag is listed in the reportIf you can run the app in a simulator, check the map renders, taps on interactive features still work, and the location puck shows. If you can't, say so in the report. Don't claim the app was checked.
Write the migration summary from references/migration-workflow.md:
[VERIFY WITH MAPBOX] itemsmapbox-ios-patterns), point the developer to it.The summary should be short enough for a PM to read: areas, effort spent, blockers, decisions.
If the developer needs v10 and v11 builds side by side (A/B test, fast rollback), don't try to link both SDK versions into one binary. Put map code behind one app-level protocol (for example MapProvider) with a v10 implementation and a v11 implementation. Then select the implementation per target or build configuration. Whether both versions can coexist in a single binary is unconfirmed; mark any such suggestion [VERIFY WITH MAPBOX].
| Area | v10 | v11 target |
|---|---|---|
| Access token | ResourceOptions / ResourceOptionsManager | MapboxOptions.accessToken, or MBXAccessToken in Info.plist |
| Default style | Streets | Standard. Pin the app's style explicitly. |
| Events | onEvery / onNext | Typed events, keeping the subscription token |
| Tap handling | Gesture recognizers + queryRenderedFeatures | Featureset Interactions (TapInteraction) |
| Selection highlight | Rewriting the source with a selected property | Feature State + feature-state expression |
| Small data changes | Replacing the whole GeoJSON source | Partial GeoJSON updates (add, update, remove features by id) |
| Style access | mapboxMap.style | Style APIs directly on mapboxMap |
| View annotations | View-keyed options API | ViewAnnotation objects changed in place |
| Location | Location manager owns the provider | Provider configured directly, heading separated |
| Offline | Legacy OfflineRegionManager | TileStore + OfflineManager. Legacy still works but is deprecated. |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mapbox/mapbox-agent-skills --plugin mapbox27 skills in this plugin
/mapbox-android-compose-migrationMove Android Mapbox map and navigation screens from the View system (XML MapView, AndroidView-wrapped MapView, fragments) to Jetpack Compose with a coding agent. Covers the Mapbox parts of the screen (MapboxMap composable, viewport state, style and annotation composables, MapEffect, lifecycle, Navigation SDK v3 wiring) and leaves the rest of the screen to Google's XML-to-Compose skill. Keeps the map looking and behaving the same, one screen at a time. Use when migrating a Mapbox screen to Compose, planning that work, or fixing a map that broke after moving to Compose./mapbox-android-maps-v10-to-v11-migrationMigrate an Android app from Mapbox Maps SDK v10 to v11 with a coding agent. Inventories v10 usage, plans the work by area with effort and blockers, migrates one area at a time to the current recommended v11 APIs (Featureset Interactions, Feature State, typed events), surfaces behavior changes as developer decisions, keeps the app's style, and reports what changed. Covers Kotlin, Java, Views and Jetpack Compose. Use when upgrading Maps SDK v10 on Android, estimating a v10 to v11 migration, or fixing a build after bumping to v11.Other plugins' skills for the same job