android-navigation-compose
CommunityMaster Android Compose navigation patterns.
Authorjperezdelreal
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Android app navigation in Jetpack Compose often becomes complex and hard to maintain as apps scale. This skill provides expert guidance on setting up a single NavController with NavHost, bottom navigation, type-safe argument passing, savedStateHandle for cross-screen data, and robust testing to avoid common pitfalls.
Core Features & Use Cases
- Setup a single NavController with a central NavHost and dynamic start destinations
- Implement bottom navigation with proper back stack management and state restoration
- Pass primitive route arguments and use savedStateHandle for complex objects and data sharing
- Apply global enter/exit transitions and per-destination overrides to ensure smooth navigation
- Validate navigation flows with tests and guard against common anti-patterns
Quick Start
Wire a single NavController at the host and implement the NavHost with the defined routes to apply these patterns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: android-navigation-compose Download link: https://github.com/jperezdelreal/GymBro/archive/main.zip#android-navigation-compose Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.