wf-flutter-create-route-method

Create Flutter routes with AutoRoute, ModuleScope, and RouteModelResolver hydration.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/belluga/delphi-ai --skill wf-flutter-create-route-method
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wf-flutter-create-route-method
Source: https://github.com/belluga/delphi-ai/tree/main/.cline/skills/wf-flutter-create-route-method
Command: npx skills add https://github.com/belluga/delphi-ai --skill wf-flutter-create-route-method

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a robust, type-safe Flutter route wired with AutoRoute and ModuleScope, enabling domain object hydration via RouteModelResolver.

Core Features & Use Cases

  • Define new feature routes with AutoRoute config and ModuleScope integration.
  • Hydrate domain objects on route entry using a RouteModelResolver.
  • Register route dependencies in ModuleScope and update target screens to consume hydrated data.

Quick Start

Define and wire a new route for your feature using AutoRoute, hydrate the domain object with a RouteModelResolver, and register it in the appropriate ModuleScope.

Frequently Asked Questions about wf-flutter-create-route-method

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

FAQPage Schema
How do I create a type-safe Flutter route with AutoRoute and hydrate domain objects?

To create a type-safe Flutter route with AutoRoute, you define the route configuration and use a RouteModelResolver to hydrate domain objects on route entry. Register dependencies in ModuleScope to enforce strict module governance and update screens to consume the hydrated data.

What is the best way to scope route dependencies when defining a new feature screen in Flutter?

The best way to scope route dependencies is registering them within a ModuleScope. This validates scope ownership and ensures your feature screen consumes strictly governed, hydrated domain data without leaking dependencies across other modules.

How does domain hydration work when navigating to a new Flutter route?

Domain hydration works by applying a RouteModelResolver when the route is entered. The resolver fetches and populates the required domain objects, passing the hydrated data directly to the target screen for immediate consumption.

When do I need to use a RouteModelResolver for Flutter navigation?

You need a RouteModelResolver when introducing new feature screens that require routing and strict module governance. It ensures necessary domain objects are fully hydrated and available to the screen before navigation completes.

Does AutoRoute support strict module governance for new feature routes?

AutoRoute supports strict module governance when combined with a ModuleScope. This integration validates scope ownership, registers route dependencies, and ensures the target screen only accesses its own hydrated domain data.