navigation-compose

Provides typed navigation for Kotlin apps using @Serializable routes and ANT-style templates.

1|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/dimitriRemoiville/cc-mobile --skill navigation-compose
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: navigation-compose
Source: https://github.com/dimitriRemoiville/cc-mobile/tree/main/plugins/cc-mobile-android/skills/navigation-compose
Command: npx skills add https://github.com/dimitriRemoiville/cc-mobile --skill navigation-compose

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Navigation by string routes is error-prone and brittle as apps grow. Navigation Compose provides type-safe destinations using @Serializable data structures, enabling compile-time checks and safer refactors.

Core Features & Use Cases

  • Type-safe destinations using @Serializable data objects or data classes.
  • Support for nested graphs and feature module routing.
  • Deep links and result passing across screens for cohesive navigation.

Quick Start

Create a typed AppNavHost with serializable destinations and deep links for your Android app.

Frequently Asked Questions about navigation-compose

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

FAQPage Schema
How do I set up type-safe navigation in Jetpack Compose?

Type-safe navigation in Jetpack Compose is set up by modeling routes as @Serializable data objects or classes, enabling compile-time checks and safer refactoring for single-activity apps. You define a typed AppNavHost to construct these serializable destinations.

Why does string-based navigation break in Android apps?

String-based navigation breaks because it is error-prone and brittle as apps grow. Modeling routes as serializable destinations provides compile-time checks and safer refactors to prevent runtime crashes during screen transitions.

Do I need Kotlinx serialization for Compose nav graphs?

Yes, Kotlinx serialization is required alongside Kotlin and Jetpack Compose 2.8+ to support @Serializable destinations and construct type-safe navigation graphs for your Android application.

Can I use deep links with type-safe Compose destinations?

Yes, type-safe Compose destinations support deep links and result passing across screens. You can configure deep links within your typed AppNavHost for cohesive Android app navigation across nested graphs.

Does this navigation approach support nested graphs and feature modules?

Yes, this type-safe navigation approach supports nested graphs and feature module routing. It applies to single-activity Jetpack Compose apps to enable structured and scalable navigation.

What is the best way to pass results between Android Compose screens?

The best way to pass results between Android Compose screens is using serializable destinations. This enables type-safe result passing across screens within your navigation graph for cohesive transitions.