Skillshub android-navigation

Navigation for Android using Jetpack Compose Navigation and App Links. Use when implementing navigation flows, deep links, or backstack handling in Android. (triggers: **/*Screen.kt, **/*Activity.kt, **/NavGraph.kt, NavController, NavHost, composable, navArgument, deepLinks)

install
source · Clone the upstream repo
git clone https://github.com/ComeOnOliver/skillshub
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ComeOnOliver/skillshub "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/HoangNguyen0403/agent-skills-standard/android-navigation" ~/.claude/skills/comeonoliver-skillshub-android-navigation && rm -rf "$T"
manifest: skills/HoangNguyen0403/agent-skills-standard/android-navigation/SKILL.md
source content

Android Navigation (Jetpack Compose)

Priority: P2 (OPTIONAL)

Navigation and deep linking using Jetpack Compose Navigation.

Guidelines

  • Library: Use
    androidx.navigation:navigation-compose
    .
  • Type Safety: Use sealed classes for routes, never raw strings.
  • Deep Links: Configure
    intent-filter
    in Manifest and
    deepLinks
    in NavHost.
  • Validation: Validate arguments (e.g., proper IDs) before loading content.

Anti-Patterns

  • No String Routes: Use
    Screen.Product.route
    instead of
    "product/$id"
    .
  • No Unvalidated Deep Links: Check resource existence before rendering.
  • No Missing Manifest: Deep links require
    autoVerify=true
    intent filters.

References