vgv-navigation

Installation
SKILL.md

Navigation

Routing and navigation best practices for Flutter applications using GoRouter, the Flutter team's recommended routing package built on the Navigator 2.0 API.

Core Standards

Apply these standards to ALL navigation work:

  • Use package:go_router for all navigation — never raw Navigator 2.0 or Navigator 1.0 push/pop
  • Use @TypedGoRoute annotations for type-safe routes — never raw string paths in route definitions
  • Prefer go() over push() — use push() only when expecting return data from the destination
  • Never use the extra parameter — it breaks deep linking and does not work on the web
  • Hierarchical sub-routes for proper back navigation — structure routes as parent-child trees, not flat lists
  • Hyphens for URL word separation — never underscores or camelCase in URL paths
  • Navigate by route name, not raw path strings — use named route navigation to decouple from path changes
  • Use BuildContext extensions for navigation — prefer context.goNamed() over GoRouter.of(context).goNamed()

Route Organization

Related skills
Installs
7
GitHub Stars
113
First Seen
Mar 19, 2026