/dart-flutter:flutter-setup-declarative-routingfrom Dart and Flutter
Set up or update declarative Flutter navigation, URLs, deep links, and nested routes. Use when an app needs browser history, route state, or platform deep links.
Ships in Dart and Flutter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Inspect the current router, Flutter version, design-library imports, URL strategy, and target platforms. Preserve an existing router unless the task calls for a migration. go_router is a common choice for route trees, redirects, and parallel navigation branches; add it only when it fits the app.
Use MaterialApp.router or the app's equivalent router constructor. In Flutter 3.47, standalone material_ui and cupertino_ui are opt-in; use imports that match the app's chosen UI stack. Do not migrate design packages just to add routing.
Model route paths and parameters explicitly. Use StatefulShellRoute when parallel branches must retain their navigation stacks. Handle unknown locations and redirect loops. Configure web URL strategy and Android or iOS link associations only for requested target platforms and domains.
Test direct entry to a deep link, browser back or app back, redirects, and branch state on each relevant platform. Verify platform association files are hosted at the correct domain before claiming links work outside the app.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mordechai30/flutter-dart-skills --plugin dart-flutter26 skills in this plugin
/dart-add-unit-testAdd focused unit tests for Dart code with package:test, or flutter_test in Flutter projects. Use for new logic and regressions that can be checked without a running app./dart-build-cli-appBuild Dart command-line tools with sound argument parsing, streams, exit status, packaging, and subprocess behavior. Use for console apps and installed Dart executables./dart-collect-coverageCollect and inspect LCOV test coverage for Dart or Flutter projects. Use when the user requests a coverage report or needs to find untested behavior.