Android navigation deeplinks

From krutikJain/android-agent-skills · View interactive version

Android navigation deeplinks is an AI agent skill from the GitHub repository krutikJain/android-agent-skills. Handle navigation graphs, back stack behavior, app links, intents, and destination ownership for Android apps.

How to use this skill

Skill file

Android Navigation Deep Links

When To Use

Workflow

  1. Confirm the user-visible journey, target device behavior, and failure states that matter.
  2. Identify the owning screens, activities, destinations, and state holders for the flow.
  3. Implement the flow with explicit loading, success, empty, and error handling.
  4. Validate accessibility, configuration changes, and back-stack behavior in the showcase apps.
  5. Escalate data, architecture, or release concerns to the specialized skills called out in the handoff notes.

Guardrails

Anti-Patterns

Remediation Examples

Centralize route ownership

sealed interface OrbitRoute {
    data object Board : OrbitRoute
    data class Task(val taskId: String) : OrbitRoute
}

Preserve expected back-stack behavior

navController.navigate(OrbitRoute.Task(taskId)) {
    launchSingleTop = true
    restoreState = true
}

Parse deep-link arguments in one place

val taskId = intent?.data?.getQueryParameter("taskId")
require(!taskId.isNullOrBlank()) { "Missing taskId deep-link argument" }

Examples

Happy path

Edge case

Failure recovery

Done Checklist

Official References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.