agentleFS
thienqothienqo/flutter-skills/skills/flutter-navigation/SKILL.md

flutter-navigation

Skill16 starsChanged 2 months agoBSD-3-ClauseView on GitHub

Implement, review, or verify Flutter routing, deep-link destinations, back-stack behavior, nested navigation, restoration, redirects, and URL synchronization. Use for route correctness; pair with flutter-device-testing on a concrete runtime, and do not introduce a routing package by default.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep route names, path parameters, and argument decoding typed or centrally validated.

    line 16
  2. Distinctive:

    Use nested navigation only for independent histories such as tab shells.

    line 19
  3. Very specific:

    Keep navigation side effects outside widget build.

    line 21
  4. Distinctive:

    Do not place large domain objects directly in URLs or restoration state.

    line 22
  5. Distinctive:

    Test cold deep links, warm links, back/forward behavior, authentication redirects, invalid parameters, restoration where required, and each …

    line 26
  6. Distinctive:

    When tab shell patterns or independent back histories are in scope, follow the nested shell navigation reference.

    line 30
  7. Distinctive:

    When handling deep links or state restoration, follow the deep link and restoration reference.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Flutter Navigation

Model navigation as application state when URLs, deep links, restoration, or multiple navigators require it; use simpler imperative navigation for genuinely local flows.

Inspect first

Identify the current router, route ownership, authentication flow, tab/shell structure, supported platforms, URL requirements, and state restoration expectations. Preserve the existing routing package unless migration is requested.

Rules

  • Keep route names, path parameters, and argument decoding typed or centrally validated.
  • Make redirect logic deterministic and free of redirect loops.
  • Preserve intended back behavior across Android system back, browser history, iOS gestures, nested navigators, and modals.
  • Use nested navigation only for independent histories such as tab shells.
  • Parse deep links into domain-safe state and define behavior for unknown or unauthorized destinations.
  • Keep navigation side effects outside widget build.
  • Do not place large domain objects directly in URLs or restoration state.

Verification

Test cold deep links, warm links, back/forward behavior, authentication redirects, invalid parameters, restoration where required, and each supported shell/tab history.

References

When tab shell patterns or independent back histories are in scope, follow the nested shell navigation reference. When handling deep links or state restoration, follow the deep link and restoration reference.

Sources

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.