zakariaf/flutter-skills/navigation-and-routing
Enforces one app-wide GoRouter in lib/routing/ wired via MaterialApp.router, deep-linkable identity in path params never state.extra, context.go-vs-context.push discipline, redirect guards as pure functions driven by a Riverpod refreshListenable, StatefulShellRoute.indexedStack for branch-state-preserving BottomNavigationBar/NavigationRail shells, CustomTransitionPage transitions that respect reduced motion, PopScope (canPop/onPopInvokedWithResult) for unsaved-changes interception, and an errorB
Agent skill · version 1.0.0 · from zakariaf/Flutter-Skills
Install
npx yarkr-cli add skill:zakariaf/flutter-skills/navigation-and-routingWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/navigation-and-routing
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:zakariaf/flutter-skills/navigation-and-routingOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:zakariaf/flutter-skills/navigation-and-routingWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.