zenrouter

Delegate Flutter navigation to RouteModule-based coordinators with modular routing.

101|6|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/definev/zenrouter --skill zenrouter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zenrouter
Source: https://github.com/definev/zenrouter/tree/main/skills/zenrouter
Command: npx skills add https://github.com/definev/zenrouter --skill zenrouter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Complex Flutter navigation across large apps becomes hard to maintain; this Skill provides a clean architectural pattern using a Coordinator + RouteModule approach to compose features, layouts, and redirects.

Core Features & Use Cases

  • Modular routing using RouteModule and Coordinator.
  • Deep linking, URL synchronization, and layout composition.
  • Reusable redirect rules and guards across modules.
  • Example use case: organize features like Auth, Shop, and Profile into independent modules with shared layouts.

Quick Start

Create a simple AppCoordinator with a RouteModule, wire a layout, and add a notFoundRoute to start.

Frequently Asked Questions about zenrouter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage complex Flutter navigation across large modular apps?

Complex Flutter navigation is managed by delegating routing to RouteModule-based coordinators. This architecture composes independent feature groups, shared layouts, and redirects to maintain scalability.

What is the best way to structure deep linking and URL synchronization in Flutter?

Deep linking and URL synchronization in Flutter are structured using a Coordinator and RouteModule architecture. This pattern parses route URIs and binds them to specific layout compositions.

How do I set up reusable redirect rules and guards for Flutter routing?

Reusable redirect rules and guards are set up by organizing features into independent RouteModules. This modular approach applies consistent navigation constraints across the application.

Can I use a modular coordinator pattern for both imperative and declarative Flutter navigation?

Yes, the modular coordinator pattern supports imperative, declarative, and coordinator navigation styles. It uses RouteModule and RouteLayout components to handle various navigation flows.

How do I handle unknown paths when building a modular Flutter routing system?

Unknown paths are handled by configuring a notFoundRoute within your AppCoordinator. This ensures the modular routing system gracefully manages unrecognized deep links or internal navigation requests.