Dev & Engineering

Jetpack Navigation 3 Guide and Recipes

Learn how to install and migrate to Jetpack Navigation 3, with recipes for deep links, multiple back stacks, adaptive scenes, conditional navigation, and more.

59/ 100
Recommended

Generally reliable with disclosed limitations; trial as directed and keep a rollback path.

See how it was scored ↓
Works as-is in
ChatGPT · Codex · Claude Code
Stars
★ 7.7k
Last updated
16d ago
License
Apache-2.0
androidjetpack-navigationcomposenavigation-3
+4deep-linksscenesmigrationhilt

What does this skill do, and when should you use it?

This skill provides Android developers with a comprehensive guide and code examples for Jetpack Navigation 3. It includes a step-by-step migration guide from Navigation 2 to Navigation 3, documentation for type-safe navigation, and a rich set of recipes covering everything from basic API usage to advanced patterns like deep links, multiple back stacks, dialog/bottom sheet scenes, adaptive two-pane layouts, conditional navigation, returning results, modular navigation, and ViewModel integration. All content is tailored for modern Android apps using Jetpack Compose and Kotlin. Maintained by Google LLC, licensed under Apache-2.0.

Provides navigation-related tutorials, developer documentation, and code examples through links to Markdown files referenced in SKILL.md. Specifically, it guides users through migrating from Navigation 2 to Navigation 3, demonstrates basic API usage, using a saveable back stack, defining entries via DSL, building a bottom navigation bar with multiple back stacks, parsing and handling deep links, creating custom scenes (dialog, bottom sheet, list-detail, two-pane), applying Material Adaptive layouts, customizing animations, handling conditional navigation (e.g., authentication), modularizing navigation code with Hilt/Koin, passing arguments to ViewModels, and returning results as events or state.

Good fit
  • Android developers using Navigation 2 who need a migration guide to upgrade to Navigation 3
  • Developers who want to implement a bottom navigation bar with independent back stack history for each tab in Compose
  • Developers who need to handle deep links from external Intents and ensure correct back stack behavior
  • Developers who want to implement adaptive list-detail or two-pane layouts for different screen sizes (phone/tablet)
  • Developers who wish to modularize navigation code using Hilt or Koin for large-scale projects
  • Developers who need to return results to a previous destination, either as events or state

How do you install this skill?

Before you use it
  • Relies on overseas services (e.g., developer.android.com) which may be inaccessible from mainland China; use proxy or mirror.
  • Migration guide assumes project meets specific conditions; user must confirm before use to avoid incomplete migration.
  • Static review cannot verify code runnability; validate in actual project.

This skill is part of the android/skills repository, which bundles multiple skills. To install this specific skill, you can use the Android CLI tool: run android skills add --skill=navigation-3 --project=. from your project root. Alternatively, manually place the SKILL.md file and its referenced references directory into your agent's skills folder (e.g., ~/.gemini/antigravity/skills/navigation-3/).

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/android/skills.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/navigation/navigation-3" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Use the navigation-3 skill to provide steps for migrating from Navigation 2 to Navigation 3.
  • Refer to the navigation-3 skill's recipes to implement a bottom navigation bar with multiple back stacks.

After installation, you can reference the skill in your prompts, for example: "Use the navigation-3 skill to provide steps for migrating from Navigation 2 to Navigation 3." or "Refer to the navigation-3 skill's recipes to implement a bottom navigation bar with multiple back stacks." The skill will guide you to the relevant Markdown guides and code examples.

What are this skill's strengths and limitations?

Pros
  • Provided and maintained by Google, ensuring authoritative content aligned with official documentation
  • Covers a wide range of scenarios from basic to advanced, including migration, deep links, adaptive layouts, and architecture patterns
  • Offers code examples that can be directly used in practice
  • Actively updated, last updated in 2026
  • Follows the open Agent Skills standard, making it easy to integrate
Limitations
  • Content consists only of links to Markdown files, not actual code snippets within the skill itself; users need to manually access and copy examples
  • No test or verification steps included; users must validate examples themselves
  • Primarily focused on Compose and Kotlin, with limited support for legacy View systems (only mentions interop)
  • Installation requires the Android CLI tool, which may add learning overhead for those unfamiliar with it

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Jetpack Navigation 3 Guide and Recipes this page 59 · Recommended ★ 7.7k 16d ago Apache-2.0
Android Adaptive UI Skill 71 · Strongly recommended ★ 7.7k 16d ago Apache-2.0
Jetpack Compose Styles Integration Skill 44 · Not recommended ★ 7.7k 16d ago Apache-2.0
CameraX Development Skill 60 · Recommended ★ 7.7k 16d ago Apache-2.0
Expo Native UI Builder 59 · Recommended ★ 2.7k 6d ago MIT

This skill is the official Android skill for Jetpack Navigation 3, distinct from Navigation 2, and includes a migration guide. It does not compare directly with third-party navigation libraries like Voyager or Decompose.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Recommended
59/ 100 5-point scale 3.0 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust15 / 25 · 3.0/5

The skill provides only operational guidance for navigation implementation, with no high-risk permission operations, dependencies are declared in official docs, no hidden data flow or sensitive data handling. However, missing explicit user confirmation or rollback steps, and unverified provenance, deductions applied.

2Reliability10 / 20 · 2.5/5

Core migration steps and code examples are self-consistent, but rely on external libraries and APIs, static review cannot verify runnability, error handling only prompts user to check assumptions, lacks detailed failure feedback.

3Adaptability10 / 15 · 3.3/5

Target scenario clear: developers using Compose and migrating from Navigation 2 to Navigation 3. But boundary conditions require user self-check, and no consideration for mainland China network reachability, relies on overseas services, deductions applied.

4Convention12 / 15 · 4.0/5

Documentation structure clear with migration guide, recipes, references, but lacks version history and changelog, maintenance responsibility only implied by author, no explicit update path.

5Effectiveness7 / 15 · 2.3/5

Core migration steps and code examples should guide completion, but static review cannot verify direct usability, user must validate.

6Verifiability5 / 10 · 2.5/5

Recipes reference official GitHub repos and developer docs, but lack independent verification evidence, static review cannot confirm authenticity.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Aug 07, 2026 Reviewed revision 28822b2306f3 Review evidence[1][2][3][4][5][6][7][8][9][10][11][12][13]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Is this skill free to use?
Yes, it is licensed under Apache-2.0, so it's free to use and modify.
Do I need a specific IDE?
No, but Android Studio is recommended for Android development. The skill itself provides documentation and examples, and works with any agent that supports Markdown.
Are the code examples complete and ready to use?
The examples are provided as recipes and may need adaptation to your project structure. It's recommended to verify with official documentation.
Does it support non-Compose projects?
The skill is primarily aimed at Compose projects, but mentions View interop, so it may be helpful for hybrid projects.

More skills from this repository

All from android/skills

Dev & Engineering

Android Adaptive UI Skill

Make Jetpack Compose apps adaptive to phones, tablets, foldables, desktops, and more — with multi-pane layouts and flexible components.

★ 7.7k FS 71 Strongly recommended 16d ago
Dev & Engineering

Jetpack Compose Styles Integration Skill

Integrate the Jetpack Compose Styles API into an Android project for unified theming and layout migration.

★ 7.7k FS 44 Not recommended 16d ago
Dev & Engineering

CameraX Development Skill

Procedural guidance for Android camera development with CameraX, covering migration, recording lifecycles, and hardware interop.

★ 7.7k FS 60 Recommended 16d ago
Dev & Engineering

AppFunctions Skill

Turn Android app workflows into on-device functions that AI agents can discover and invoke without opening the UI.

★ 7.7k FS 61 Recommended 16d ago
Dev & Engineering

Android Verified Email Skill

Implement an OTP-less, cryptographically verified email flow in Android using the Credential Manager API.

★ 7.7k FS 58 Recommended 16d ago
Dev & Engineering

XML View to Jetpack Compose Migration Skill

A structured 10-step workflow to safely and incrementally migrate Android XML layouts to Jetpack Compose with visual parity.

★ 7.7k FS 47 Use with care 16d ago
Dev & Engineering

Android CLI Skill Pack

A comprehensive guide for AI agents to the `android` command-line tool, covering project creation, SDK management, emulator control, screenshots, UI layout inspection, and official documentation search.

★ 7.7k FS 52 Use with care 16d ago

Related skills