| name | openwebf-host-hybrid-routing |
| description | Implement hybrid routing between Flutter and WebF using WebFSubView and go_router (route mapping and layouts). Use when the user mentions WebFSubView, go_router, hybrid routing, or mapping Flutter routes to WebF routes. |
| allowed-tools | Read, Grep, Glob, Bash, Edit, Write, mcp__openwebf__project_profile, mcp__openwebf__docs_search, mcp__openwebf__docs_get_section, mcp__openwebf__templates_get, mcp__openwebf__templates_render |
OpenWebF Host: Hybrid Routing (WebFSubView + go_router)
Instructions
- Detect whether the project uses
go_routerand whetherWebFSubViewexists (via project profile and code search). - Define the desired route mapping (Flutter path → WebF path) and layout responsibilities.
- Use MCP docs for recommended patterns and constraints.
- Offer the routing scaffold template when appropriate (
routing/go-router-webfsubview).
More: