flutter-navigation
/flutter-navigation
Wdraża konfigurację tras, go_router, deep linking i trasy nazwane we Flutterze: deklaracje ttras, strażnicy tras i mapowanie adresów URL na ekrany.
- Autor
- HoangNguyen0403 ↗
- Repozytorium
- agent-skills-standard ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 22.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wdraża konfigurację tras, go_router, deep linking i trasy nazwane we Flutterze: deklaracje ttras, strażnicy tras i mapowanie adresów URL na ekrany.
Oryginalny opis (EN)
Implement route configuration, go_router/deep linking, and named routes in Flutter. Use for route declarations, route guards, and URL-to-screen mapping; defer transition-only animation, state-transfer/BLoC questions, auto_route-specific setup, and generic app-bar controls.
Jak działa
- Priority: P1 (HIGH)
- Implementation Workflow
- Anti-Patterns
- Related Topics
- Canonical response anchors
Podgląd SKILL.md
---
name: flutter-navigation
description: Implement route configuration, go_router/deep linking, and named routes in Flutter. Use for route declarations, route guards, and URL-to-screen mapping; defer transition-only animation, state-transfer/BLoC questions, auto_route-specific setup, and generic app-bar controls.
metadata:
triggers:
files:
- '**/*_route.dart'
- '**/*_router.dart'
- '**/main.dart'
keywords:
- Navigator
- GoRouter
- routes
- deep link
- go_router
- AutoRoute
---
# Flutter Navigation
## **Priority: P1 (HIGH)**
## Implementation Workflow
1. **Choose router** — Use `go_router` for modern, declarative routing.
2. **Define routes** — Use constants or code generation for route paths; never hardcode strings.
3. **Configure deep links** — Set up `AndroidManifest.xml` and the iOS URL-type settings for app URL schemes.
4. **Validate parameters** — Check parameters in `redirect` logic before navigation.
5. **Preserve tab state** — Use `StatefulShellRoute` or `IndexedStack` for bottom navigation.
### Route Configuration Example
See [implementation examples](references/implementation.md) for GoRouter configuration with parameter validation and redirects.
[Routing Patterns & Examples](references/routing-patterns.md)
## Anti-Patterns
- **No Manual URL Parsing**: Use `go_router` built-in parsing instead of `Uri.parse(url)`
- **No Manual Tab State Management**: Use `IndexedStack` or `StatefulShellRoute` to preserve state
- **No Unvalidated Deep Link IDs**: Always check existence in `redirect`
- **No Hardcoded Route Strings**: Use constants (e.g., `Routes.orders`) or code-gen instead of `'/orders'`
## Related Topics
flutter-design-system | flutter-notifications | mobile-ux-core
## Canonical response anchors
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- Android
- iOS URL-type
Pliki w paczce (4)
- SKILL.md 2 KB
- evals/evals.json 2 KB
- references/implementation.md 1 KB
- references/routing-patterns.md 2 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · HoangNguyen0403/agent-skills-standard | 100 | MIT |
| HoangNguyen0403/agent-skills-standard | 100 | MIT |
| Dee9975/cc-skills-flutter | 100 | MIT |
| madteacher/mad-agents-skills | 100 | MIT |
| thiennc-tesoglobal/flutter-skills | 90 | BSD-3-Clause |
Migawka bazy z 13.11.2026 · wersja paczki 562df512bf8a (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100flutter-auto-route-navigation
Wdraża typowane trasy, trasy zagnieżdżone i strażników uwierzytelniania z auto_route we Flutterze, gdy zadanie wprost używa auto_route lub jego wygenerowanego routera. - 90flutter-core:flutter-navigation-routing
Projektuje nawigację i routing we Flutterze: deklaratywne trasy, GoRouter, linki głębokie, strażników tras i złożone przepływy. - 100flutter-go-router-navigation
Wdraża typowane trasy, przekierowania i strażników z go_router we Flutterze, przy zmianach nawigacji opartej na go_router. - 100navigation
Wskazuje dobre praktyki nawigacji we Flutterze z GoRouter: hierarchiczne drzewa tras, typowane @TypedGoRoute, nazwane trasy, przekierowania i konfigurację deep linków. - 100flutter-implementing-navigation-and-routing
Obsługuje routing, nawigację i deep linki w aplikacji Flutter, przy przechodzeniu między ekranami i nawigacji opartej na URL. - 100flutter-setup-declarative-routing
Konfiguruje deklaratywny routing GoRouter: deep linki, nawigację opartą na URL, hierarchie ShellRoute i strażników tras.