navigation-3

Migrate Android apps to Jetpack Navigation 3 with Compose navigation and deep links.

8|1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/drewid74/ai_skills --skill navigation-3-drewid74
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: navigation-3
Source: https://github.com/drewid74/ai_skills/tree/main/android-navigation-3
Command: npx skills add https://github.com/drewid74/ai_skills --skill navigation-3-drewid74

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Jetpack Navigation 3 migration and advanced navigation design are hard to get right, leading to broken deep links, confusing back stack behavior, and brittle destination/result patterns.

Core Features & Use Cases

  • Navigation 2 → Navigation 3 migration: Update dependencies and restructure routes and navigation code safely.
  • Deep links and type-safe destinations: Implement robust deep links with correct navigation/up behavior and avoid route fragility.
  • Advanced navigation patterns: Use Scenes (dialogs/bottom sheets/list-detail/two-pane), multiple back stacks, conditional login-gated flows, and returning results from flows.
  • Integration and architecture: Work with Hilt + ViewModel scoping per destination and interoperate with legacy Views in a Compose-first app.

Quick Start

Use the android-navigation-3 skill to migrate your app to Jetpack Navigation 3 while implementing deep links, multiple back stacks, and flow result passing using Hilt and ViewModels.

Frequently Asked Questions about navigation-3

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate from Jetpack Navigation 2 to Navigation 3 in an Android app?

Jetpack Navigation 3 migration requires updating dependencies and restructuring routes to use NavDisplay. This ensures a transition to type-safe destinations and deterministic back stack behavior.

How do I manage multiple back stacks with Jetpack Navigation 3?

Jetpack Navigation 3 supports multiple back stacks natively for adaptive phone and tablet layouts. You can implement deterministic navigation patterns by managing Up behavior and preserving state across Scenes like list-detail or two-pane views.

How do I implement type-safe deep links in Jetpack Navigation 3?

Implementing robust deep links requires using type-safe destinations to prevent route fragility. Jetpack Navigation 3 enables correct navigation and Up behavior verification, ensuring deep links route accurately without breaking existing flows.

Does Jetpack Navigation 3 work with Hilt for destination-scoped ViewModels?

Yes, Jetpack Navigation 3 integrates with Hilt to provide destination-scoped ViewModel integration. This architecture supports interoperation with legacy Views in a Compose-first app while maintaining deterministic state management.

How do I return results across destinations using Jetpack Navigation 3?

Returning results across destinations uses conditional flows and result passing within Jetpack Navigation 3. This allows you to handle login-gated flows and pass data back reliably using Scenes such as dialogs and bottom sheets.

When should I use Scenes in Jetpack Navigation 3?

Use Scenes in Jetpack Navigation 3 for adaptive layouts requiring dialogs, bottom sheets, list-detail, or two-pane views. They provide advanced navigation patterns that support multiple back stacks and conditional flows across different device sizes.