This implements Navigation Compose with type-safe routing using Kotlin serialization, which is the modern approach over string-based routes. You get NavHost setup, argument passing between screens, deep links, nested graphs for flows like authentication, and the adaptive NavigationSuiteScaffold for responsive layouts. The skill correctly emphasizes passing IDs rather than complex objects and shows practical patterns like bottom navigation with state restoration. If you're building any multi-screen Compose app, this covers the standard navigation infrastructure you need. The type safety alone makes it worth using over the old string-based approach, since you catch routing errors at compile time instead of runtime.

skills.sh installs
438
GitHub stars
1K
last updated
Aug 21, 2026

Install

$ npx -y skills add new-silvermoon/awesome-android-agent-skills --skill compose-navigation --agent claude-code

Installs into .claude/skills of the current project.

Files

Navigation 3

Overview

Implement state-driven navigation in Jetpack Compose using Navigation 3. Unlike Navigation Compose, Navigation 3 models navigation as application state rather than through a NavController. This skill covers navigation keys, back stack management, ViewModel scoping, entry decorators, adaptive layouts, deep links, animations, state restoration, and testing.

Setup

Add the Navigation 3 dependencies:

// build.gradle.kts
dependencies {

    implementation("androidx.navigation3:navigation3-runtime:1.0.0-alpha08")
    implementation("androidx.navigation3:navigation3-ui:1.0.0-alpha08")

    // Lifecycle integration
    implementation("androidx.lifecycle:lifecycle-viewmodel-navigation3:2.9.2")

    // Serialization
    implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1")
}

// Enable serialization plugin
plugins {
    kotlin("plugin.serialization") version "2.2.0"
}

Core Concepts

1. Define Navigation Keys

Navigation destinations are represented by immutable serializable objects.

import kotlinx.serialization.Serializable

@Serializable
data object Home

Sponsors

Details

Repository
github.com/new-silvermoon/awesome-android-agent-skills
Categories
DevOps & CI/CD, AI & Agent Building, Mobile Development
First seen
Jun 3, 2026

More from new-silvermoon/awesome-android-agent-skills

All 17
1openweb-ninja avataropenwebninjaopenweb-ninja/openwebninja-skillsUniversal scraper for any OpenWeb Ninja API. Scrape jobs, business listings, products, reviews, news, social profiles, finance data, and more. Use for lead gene438skills.sh installs
2pskoett avatarintent-framed-agentpskoett/pskoett-ai-skillsFrames coding-agent work sessions with explicit intent capture and drift monitoring. Use when a session transitions from planning/Q&A to implementation for codi437skills.sh installs
3secondsky avatarrecommendation-enginesecondsky/claude-skillsBuild recommendation systems with collaborative filtering, matrix factorization, hybrid approaches. Use for product recommendations, personalization, or encount437skills.sh installs
4youmind-openlab avataryoumind-wechat-articleyoumind-openlab/skillsWrite and publish WeChat Official Account articles end-to-end with AI, or take an existing draft straight into the skill's built-in formatting + direct-send cap437skills.sh installs
5dhruvanbhalara avatarflutter-uidhruvanbhalara/skillsBuild performant, accessible UIs with strict design tokens and reusable widget patterns. Use when implementing layouts, responsive breakpoints, theming, widget 435skills.sh installs
6alirezarezvani avatarc-level-agentsalirezarezvani/claude-skillsFounder-mode executive team. 13 cs-* C-suite agents (CFO, CMO, CRO, CPO, COO, CHRO, CISO, GC, CDO, CAIO, CCO, VPE, Chief of Staff) and 21 /cs:* slash commands f434skills.sh installs