navigation-3

Guide Android Compose migration from Navigation 2 to Navigation 3.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/yash-garg/pi-config --skill navigation-3-yash-garg
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: navigation-3
Source: https://github.com/yash-garg/pi-config/tree/main/skills/navigation-3
Command: npx skills add https://github.com/yash-garg/pi-config --skill navigation-3-yash-garg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps Android developers adopt Jetpack Navigation 3 by providing guidance for migration, implementation patterns, and advanced navigation architecture challenges.

Core Features & Use Cases

  • Navigation 3 Migration Guidance: Supports moving Android Compose applications from Navigation 2 to Navigation 3 with dependency updates, route changes, state management, and UI architecture changes.
  • Advanced Navigation Patterns: Covers deep links, multiple back stacks, conditional navigation, dialogs, bottom sheets, adaptive layouts, list-detail interfaces, and result passing.
  • Architecture Integration: Provides examples for integrating navigation with Kotlin, ViewModel, Hilt, and Compose-based applications.
  • Use Case: An Android developer migrating a production Compose app can use this Skill to plan the migration, replace NavController flows with Navigation 3 state management, and implement modern navigation patterns.

Quick Start

Use the navigation-3 skill to migrate my Android Compose app from Jetpack Navigation 2 to Navigation 3 following the migration guide.

Frequently Asked Questions about navigation-3

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

FAQPage Schema
How do I migrate my Android Compose app from Jetpack Navigation 2 to Navigation 3?▼

To migrate from Jetpack Navigation 2 to Navigation 3, update your dependencies, replace NavController flows with Navigation 3 state management using NavKey and NavDisplay, and adapt your UI architecture for type-safe workflows.

What advanced navigation patterns does Jetpack Navigation 3 support in Compose?▼

Jetpack Navigation 3 in Compose supports advanced patterns including deep links, multiple back stacks, conditional navigation, dialogs, bottom sheets, adaptive layouts, list-detail interfaces, and result passing between destinations.

Can I integrate Jetpack Navigation 3 with Hilt and ViewModel in Kotlin?▼

Yes, Jetpack Navigation 3 integrates with Kotlin, ViewModel, and Hilt in Compose applications, providing architecture examples to connect navigation state management with dependency injection and ViewModel scopes.

How does Navigation 3 handle back stack management differently from Navigation 2?▼

Navigation 3 handles back stack management by replacing the Navigation 2 NavController flow approach with state management driven by NavKey and NavDisplay, enabling type-safe navigation workflows and multiple back stack support.

Do I need to know Kotlin and Compose to implement type-safe navigation with Navigation 3?▼

Yes, implementing type-safe navigation workflows with Navigation 3 requires knowledge of Kotlin, Compose, NavKey, NavDisplay, ViewModel integration, and Navigation 3 APIs to properly architect your Android application.

What is the best way to implement deep links and adaptive layouts with Jetpack Navigation 3?▼

The best way to implement deep links and adaptive layouts with Jetpack Navigation 3 is by utilizing its native architecture patterns, which provide built-in support for adaptive list-detail interfaces and conditional navigation within Compose.