Mobile navigation

From makifbaysal/tasktrooper · View interactive version

Mobile navigation is an AI agent skill from the GitHub repository makifbaysal/tasktrooper. Use when adding a screen, a tab, a deep link, or back-navigation handling - the per-stack navigation APIs, state preservation, auth-boundary resets, and how to verify a deep link actually opens the right screen.

How to use this skill

Skill file

Mobile Navigation

Overview

Navigation bugs rarely show up in a widget test — they show up as a stale back stack, a deep link that opens the wrong screen, or state from a previous session leaking past login. Use the platform's own navigation stack, not a hand-rolled one, and verify a deep link by actually following it, not by reading the routing table.

Per-stack APIs

Rules

Verifying a deep link

Don't trust the routing table — follow the link on the device and look at what opened:

# Android
adb shell am start -W -a android.intent.action.VIEW -d "<uri>" <package>

# iOS simulator
xcrun simctl openurl booted "<uri>"

Then mobile_screenshot to confirm the right screen rendered with the right data, not just that nothing crashed.

Common Mistakes

Red Flags

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.