flutter-auto-route-navigation
БесплатноБез исполняемых скриптовНе проверенImplement typed routing, nested routes, and auth guards using auto_route in Flutter. Use when the task explicitly uses auto_route or its generated router…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
AutoRoute Navigation
Priority: P1 (HIGH)
Structure
core/router/
├── app_router.dart # Router configuration
└── app_router.gr.dart # Generated routes
Implementation Workflow
- Annotate pages — Mark all screen/page widgets with
@RoutePage(). - Configure router — Extend
_$AppRouterand annotate with@AutoRouterConfig. - Navigate with types — Use generated route classes (e.g.,
HomeRoute()). Never use strings. - Add guards — Implement
AutoRouteGuardfor authentication/authorization logic. - Handle parameters — Constructors of
@RoutePagewidgets automatically become route parameters. - Prefer declarative calls — Use
context.pushRoute()orcontext.replaceRoute().
Nested Routes & Tabs
Use children in AutoRoute for tabs. Pass children parameter to define initial active sub-route.
See implementation examples for nested route navigation and router configuration patterns.
Reference & Examples
For full Router configuration and Auth Guard implementation: See references/REFERENCE.md.
Anti-Patterns
- No string-based navigation: Use generated typed route classes (e.g.,
OrderDetailRoute(id: 123)). - No protected screen without AutoRouteGuard: Every protected route must declare guard; don't rely on UI-level checks.
- No navigation calls from BLoC: Emit state and let Presentation layer navigate.
References
Установить flutter-auto-route-navigation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл flutter-auto-route-navigation?
Implement typed routing, nested routes, and auth guards using auto_route in Flutter. Use when the task explicitly uses auto_route or its generated router; defer generic deep-link setup and other routing libraries.
Как установить скилл flutter-auto-route-navigation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flutter-auto-route-navigation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic