Command Palette

Search for a command to run...

Назад к скиллам
скилл № 32828

mapbox-android-maps-v10-to-v11-migration

Migrate 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…

БесплатноБез исполняемых скриптов
mapboxот mapbox★ 90 звёзд на GitHub

Установить mapbox-android-maps-v10-to-v11-migration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Mapbox Maps SDK v10 → v11 Migration (Android)

Moves an Android 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 summary
  • references/android.md: v10 → v11 mappings for Android (Kotlin, Java, Jetpack Compose)

For an iOS app, use mapbox-ios-maps-v10-to-v11-migration. A project with both platforms gets two separate migrations, one per platform.

When to use

  • The app depends on Maps SDK v10 (com.mapbox.maps:android 10.x)
  • The developer asks "how much work is it to move to v11?". Run steps 1 and 2 only and stop.
  • The build broke after the dependency was bumped to 11.x

Not covered:

  • Flutter and React Native. They have their own plugin migration guides.
  • Navigation SDK v2 → v3. Navigation SDK v3 requires Maps v11, so do this migration first or alongside it (mapbox-android-navigation-v2-to-v3-migration).
  • Changing the map style, moving to Mapbox Standard, or turning on other data products
  • Token changes beyond moving the token to where v11 reads it
  • Fixing app bugs that have nothing to do with the migration
  • Legal or pricing advice

Rules

These rules apply to every step.

1. Migrate to the current recommended API, not a literal port

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 keeps addOnMapClickListener plus queryRenderedFeatures for tap handling. That is now discouraged in favor of Featureset Interactions.

Use the migration guide to find what breaks. Use the "Target" column in references/android.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.
  • Entries marked [Standard only] apply only when the app already uses Mapbox Standard. This migration never changes the style.

2. No silent behavior change

Some v11 changes alter what the app does at runtime even though the code compiles. Examples: the default style, default puck bearing, map loading errors. references/android.md has a Behavior changes table. For every row that applies to the app:

  1. Stop and present the change as a decision. Say what v10 did, what v11 does by default, and the options.
  2. Default to preserving v10 behavior if the developer doesn't answer, and say so.
  3. Record the decision in the decision log (references/migration-workflow.md).

3. Keep the style and data products

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 Style.MAPBOX_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/android.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.

4. Grounding

Only use v11 symbols that appear in references/android.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.

5. Target the latest v11 release

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

Workflow

Run the five steps in order. Don't edit code before step 2 is done and shown to the developer.

Step 1: Inventory

Find every v10 symbol the app uses, by file, with call counts. Use the inventory search list in references/android.md. It lists the symbols and patterns to search for, grouped by area.

Output the inventory table from references/migration-workflow.md. Also flag:

  • Areas with no direct mapping (the reference lists them)
  • Places that rely on a v10 default that changes in v11 (default style, puck bearing)
  • v10 code that already uses **deprecated v10 API
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • references/android.md
  • references/migration-workflow.md

FAQ

Что делает скилл mapbox-android-maps-v10-to-v11-migration?

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

Как установить скилл mapbox-android-maps-v10-to-v11-migration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл mapbox-android-maps-v10-to-v11-migration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить mapbox-android-maps-v10-to-v11-migration с