openwebf-host-hybrid-routing

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.

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 20, 2025

When & Why to Use This Skill

This Claude skill streamlines the implementation of hybrid routing between Flutter and WebF by leveraging WebFSubView and go_router. It automates the complex process of mapping Flutter routes to WebF paths, ensuring seamless navigation and consistent layout management across native and web-based components within a single application architecture.

Use Cases

  • Scenario 1: Synchronizing navigation states between native Flutter screens and embedded WebF micro-frontends using go_router.
  • Scenario 2: Implementing complex route mapping where specific Flutter URL patterns need to trigger and pass data to corresponding WebFSubView instances.
  • Scenario 3: Rapidly scaffolding hybrid application layouts that require shared navigation headers or sidebars across both native and WebF content.
nameopenwebf-host-hybrid-routing
descriptionImplement 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-toolsRead, 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

  1. Detect whether the project uses go_router and whether WebFSubView exists (via project profile and code search).
  2. Define the desired route mapping (Flutter path → WebF path) and layout responsibilities.
  3. Use MCP docs for recommended patterns and constraints.
  4. Offer the routing scaffold template when appropriate (routing/go-router-webfsubview).

More: