Skip to main content

go-router-modular

Sterne16
Forks2
Aktualisiert1. Juli 2026 um 13:22

Best practices and project structure for the go_router_modular Flutter package. Use this whenever you scaffold or edit a go_router_modular app โ€” creating a feature's routes, adding a ChildRoute or ModuleRoute, registering a Module's binds/imports, writing navigation code (go/push), setting up main.dart / AppModule / AppWidget, wiring debug logs, or building bottom navigation / tabs / shell layouts (StatefulShellModularRoute, ShellModularRoute) โ€” even if the user doesn't explicitly ask for "best practices". It enforces the project convention โ€” the lib/src/modules/<feature>/ layout, a feature route file per feature, named-only navigation, name on every ChildRoute, synchronous modules with binds via the `..` cascade, Modular.configure logs gated on kDebugMode, and shell routes only for specific cases (tabs with preserved state, or persistent chrome).

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fรผgen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prรผfen und installieren.

Datei-Explorer
3 Dateien
SKILL.md
readonly