Skip to content

Jetpack Navigation 3 Guide

Guides an agent through installing, migrating to, and building Android Compose navigation with Navigation 3.

Repository
android/skills
Stars
10,278
Licence
Apache-2.0
Files
15 files

What it does

This skill gives an AI agent Google's reference documentation and code recipes for Jetpack Navigation 3, the library Android apps use to move between screens in Jetpack Compose. Once installed, the agent can answer questions and write code for setting up navigation, migrating from Navigation 2, adding deep links, bottom-navigation tabs with separate back stacks, animations, dialogs and bottom sheets, and login-versus-guest flows. It works by reading the bundled markdown files and following their examples.

Great for

  • Android developers building or upgrading Compose apps to Navigation 3
  • Teams migrating an existing Navigation 2 codebase
  • Developers implementing deep links, multiple back stacks, or adaptive list-detail layouts

Skip it if

  • Non-Android projects such as web or iOS apps, where the Android Compose APIs do not apply
  • Developers who need Navigation 2 specifically; the skill focuses on Navigation 3 and its migration path
  • Anyone expecting code that is verified against their project: the recipes are reference examples and may not match the newest library versions, so the agent's output still needs compiling and testing

Try asking

  • “Migrate my Compose app from Navigation 2 to Navigation 3 and list the dependency changes”
  • “Add a bottom navigation bar where each tab keeps its own back stack”
  • “Set up a deep link that opens a product detail screen with a path argument”
  • “Show a bottom sheet destination and a conditional login flow in my NavDisplay”
Step-by-step guide: how to use Jetpack Navigation 3 GuideInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 15 original files, the Apache-2.0 licence and an attribution note.

    navigation-3.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip navigation-3.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip navigation-3.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Name your current Navigation version and library versions so the agent picks the matching migration steps.
  • Ask for one recipe at a time, such as deep links or animations, to keep the generated code focused.
  • Build and run the generated code, since the examples are reference snippets and not tested against your project.

What's inside

  • references/android/guide/navigation/navigation-3/index.md
  • references/android/guide/navigation/navigation-3/migration-guide.md
  • references/android/guide/navigation/navigation-3/recipes/animations.md
  • references/android/guide/navigation/navigation-3/recipes/basic.md
  • references/android/guide/navigation/navigation-3/recipes/basicdsl.md
  • references/android/guide/navigation/navigation-3/recipes/basicsaveable.md
  • references/android/guide/navigation/navigation-3/recipes/bottomsheet.md
  • references/android/guide/navigation/navigation-3/recipes/common-ui.md
  • references/android/guide/navigation/navigation-3/recipes/conditional-transitions.md
  • references/android/guide/navigation/navigation-3/recipes/conditional.md
  • references/android/guide/navigation/navigation-3/recipes/deeplinks-custommatcher.md
  • references/android/guide/navigation/navigation-3/recipes/deeplinks-staticuri.md
  • references/android/guide/navigation/navigation-3/recipes/deeplinks-syntheticbackstack.md
  • references/android/guide/navigation/navigation-3/recipes/deeplinks-uriarguments.md
  • SKILL.md

Redistributed unmodified from android/skills under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.