AGENT SKILL
flutter-go-router-deeplink-wireup
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
03 SKILL.md 正文
flutter-go-router-deeplink-wireup
Purpose
Wire deep-link entry handling to an existing go_router route map.
Use when
- The app should open a feature from a browser or platform link
- The route map already exists
- Another skill will handle route declarations or guards
Do NOT use when
- The route map has not been created yet
- The task is only about UI or state
- You are not using deep links
Inputs required
- Deep-link patterns
- Target route paths
- Platform entrypoints
Constraints
- Use the existing router map
- Keep link parsing isolated
- Do not mix redirect policy here
Step-by-step workflow
- Map each deep-link pattern to a route path.
- Add the parsing or normalization helper.
- Wire the incoming link to the router.
- Add notes for mobile and web entrypoints.
- Return the entry handling file list.
Output contract
- Deep-link parsing helper
- App entry wiring note
- Route mapping summary
Validation checklist
- Link resolves to the intended route
- Parsing is isolated
- Router map remains the source of truth
- Web and mobile entry behavior is documented
Related skills
flutter-go-router-route-mapflutter-go-router-redirect-guardflutter-web-loading-shell
References
Real example
myapp://profile/123 resolves to /profile/123.
Real file output sample
lib/app/router/deeplink_router.dart
lib/app/router/app_router.dart
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
★ 0
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
★ 0
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
★ 0
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
★ 0
web-testing
暂无简介
★ 0
web-state
暂无简介
★ 0