Skip to content
Development
Skill

/flutter-getx-navigation

Implement context-less navigation, named routes, and middleware using GetX. Use when building navigation with GetX routing in Flutter.

From plugin
agent-skills-standard
538200 skills1 MCP
Install
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill flutter-getx-navigation --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/flutter-getx-navigation

Context preview

The summary Claude sees to decide when to auto-load this skill.

Implement context-less navigation, named routes, and middleware using GetX. Use when building navigation with GetX routing in Flutter.

SKILL.md

flutter-getx-navigation.SKILL.md
name: flutter-getx-navigation
description: Implement context-less navigation, named routes, and middleware using GetX. Use when building navigation with GetX routing in Flutter.
metadata:
  triggers:
    files:
    - '**/app_pages.dart'
    - '**/app_routes.dart'
    keywords:
    - GetPage
    - Get.to
    - Get.off
    - Get.offAll
    - Get.toNamed
    - GetMiddleware

GetX Navigation

**Priority: P0 (CRITICAL)**

Guidelines

  • **Named Routes**: Use `Get.toNamed('/path')`. Define routes in `AppPages`.
  • **Navigation APIs**:
  • `Get.to()`: Push new route.
  • `Get.off()`: Replace current route.
  • `Get.offAll()`: Clear stack and push.
  • `Get.back()`: Pop route/dialog/bottomSheet.
  • **Bindings**: Link routes with `Bindings` for automated lifecycle.
  • **Middleware**: Implement `GetMiddleware` for Auth/Permission guards.

Code Example

See [AppPages Config](references/app-pages.md) for route definition and controller usage patterns.

Anti-Patterns

  • **Navigator Context**: not use `Navigator.of(context)` with GetX.
  • **Hardcoded Routes**: Use `Routes` constant class.
  • **Direct Dialogs**: Use `Get.dialog()` and `Get.snackbar()`.

References

  • [AppPages Config](references/app-pages.md)
  • [Middleware Implementation](references/middleware-example.md)

Related Topics

getx-state-management | feature-based-clean-architecture

Ships withagent-skills-standard

The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.

Get the whole plugin

Other skills on agent-skills-standard.