Logo Flow Navigation

Flow Navigation

Cộng đồng
jpoindexter
flow-navigation

Dùng khi thiết kế hoặc đánh giá kiến trúc điều hướng của ứng dụng — chọn giữa thanh tab, thanh bên, thanh điều hướng trên cùng hay bảng lệnh; quyết định menu nên có nhiều cấp hay nhiều mục; hoặc xử lý khi người dùng cho biết bị lạc, không tìm thấy tính năng hay nút quay lại hoạt động ngoài dự kiến. Cũng dùng khi thêm breadcrumb, liên kết sâu hoặc sắp xếp lại hệ thống phân cấp thông tin.

Add to TypingMind

Tổng quan

Nhà phát hànhjpoindexter
Kho mãux-flow-skills
Tên kỹ năngflow-navigation
Sao
5
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được jpoindexter công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Flow Navigation trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-navigation
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoindexter/ux-flow-skills.git /tmp/ux-flow-skills
mkdir -p .claude/skills
cp -r /tmp/ux-flow-skills/skills/flow-navigation .claude/skills/flow-navigation
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Flow Navigation trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Flow Navigation ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Flow Navigation với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Navigation Architecture

Overview

Navigation is a promise about where things live. Pick the pattern that matches platform + app type, keep top-level destinations few and stable, and optimize for scent of information (each step visibly closer to the goal) — not raw click count.

When to Use

  • Choosing the primary nav pattern for a new app or a major new section
  • Restructuring nav because features have outgrown the current menu
  • Users report "I couldn't find X," dead-end back behavior, or broken shared links
  • Adding secondary nav: breadcrumbs, in-page tabs, segmented views, command palette
  • Deciding whether a new feature gets a top-level destination or nests under one
  • Auditing an app where every team added its own entry point
  • NOT for page-internal layout and panel arrangement (see flow-app-shell)
  • NOT for marketing-page section anchors — that's page design, not navigation architecture

The Proven Flow

  1. Mobile app → bottom tab bar, 3–5 items.
    • Fixed and always visible; each tab is a top-level mode with independent state — switching tabs and returning preserves scroll position and navigation stack.
    • iOS HIG and Material Design both cap at 5. Exceeding 5 means the IA is wrong, not that you need a "More" tab — buried tabs are effectively deleted features.
    • Center tab may be a primary-action button (Instagram's create) only when creation is the app's core loop.
    • Tapping the active tab pops the stack to the tab root; tapping again (already at root) scrolls to top (UIKit default; Instagram/X convention).
    • Hide the tab bar only inside deep focused tasks (full-screen media, checkout); restore it on return.
    • Proven by Instagram, Spotify, iOS App Store, YouTube.
  2. Desktop productivity app → left sidebar.
    • Persistent vertical list of workspaces/projects/views, 240–280px, collapsible to an icon rail.
    • Sidebar holds nouns (places to go); the header holds verbs (actions to take). Mixing them destroys scanability.
    • Scales to arbitrary item counts (channels, projects, pages) — the reason chat and PM tools all converge here.
    • Unread/status badges live on sidebar items, right-aligned, count capped at "99+".
    • Proven by Slack (workspace rail + channel sidebar), Linear (teams → views), Notion (page tree), Discord.
  3. Marketing / content / docs site → horizontal top nav.
    • 4–7 items; logo left and links home; primary CTA rightmost, visually distinct.
    • Dropdowns one level deep only. Mega-menu earns its place only at ≥3 categories × ≥4 items each (Amazon, Stripe).
    • Sticky-on-scroll is fine; shrink the bar, don't hide it — disappearing nav forces a scroll-up tax.
    • Docs add a persistent left tree + right "On this page" rail (Stripe, MDN).
  4. Deep hierarchy → drill-down (hierarchical) with breadcrumbs.
    • Each screen shows one level; back goes up exactly one level. Used by Settings apps, file browsers, e-commerce categories.
    • Breadcrumbs on web from depth ≥3: Home / Category / Subcategory / Current — every ancestor clickable, current item plain text.
    • Never rely on the browser back button as the only way up — a deep-linked visitor has no history.
    • Proven by Amazon category tree, macOS Finder, GitHub file browser.
  5. Hub-and-spoke → task-based apps with independent flows.
    • A home screen fans out to self-contained tasks that return home on completion (banking apps, iOS Settings root, airline check-in).
    • Spokes never cross-link to each other — users return to the hub between tasks, keeping the mental map trivially simple.
  6. Flat structure → small apps (≤ ~8 screens).
    • Everything one tap from the tab bar or nav. Don't add hierarchy you don't need; hierarchy is a navigation cost, not a feature.
  7. Command palette (⌘K) → power-user accelerator, never primary nav.
    • Add when the app has >20 destinations/actions and a keyboard-heavy audience.
    • Fuzzy-matches destinations, actions, and recent items; shows keyboard-shortcut hints inline next to actions.
    • Everything reachable in the palette must also be reachable by pointer — the palette duplicates nav, never replaces it.
    • Proven by Linear, Slack, Superhuman, VS Code, GitHub, Raycast.

Secondary navigation (within a destination)

  • In-page tabs for peer views of one object (GitHub repo: Code / Issues / PRs); underline style, active tab marked.
  • Segmented control for 2–5 mutually exclusive renderings of the same data (list / board / timeline — Linear views).
  • Anchor "On this page" jump nav for long documents — right rail on desktop, collapsed dropdown on mobile, highlighting the section in view.
  • Contextual back ("← Back to results") only when the route can't express the parent; prefer real breadcrumbs.
  • Nesting limit: primary nav + one secondary layer + one tab layer. Needing a fourth visible layer means the object model should be split.

Depth vs breadth

  • The "3-click rule" is a myth. Users tolerate 5+ clicks when every click has strong scent (visible progress toward the goal); they abandon at the first low-scent click, not the third.
  • Prefer broad-and-shallow: 8 clear categories beats 3 vague ones nested 3 deep.
  • Vague labels ("Solutions," "Resources," "Tools") kill scent faster than depth ever does.
  • Max practical depth: 3 levels on mobile, 4 on web (with breadcrumbs as the safety rail).
  • Test with first-click: when a user's first click is wrong, overall task success collapses — fix the top level before anything deeper.

Back behavior (get this right or nothing else matters)

  • Web: browser Back must always work and land where the user expects. Every navigational state change updates the URL (pushState).
  • Overlays that feel like pages (photo lightbox, mobile filter sheet, full-screen modal) get a history entry so Back closes them instead of leaving the page.
  • Transient UI (dropdown, tooltip, small dialog) gets NO history entry — Back should never just close a menu.
  • Android: system back = up/close within the app; back from a non-start tab returns to the start tab, then exits (Material predictive-back).
  • iOS: each tab keeps its own navigation stack; edge-swipe back must work everywhere push navigation is used — don't block it with custom gestures.
  • Never trap users: after login or checkout, redirect (replaceState) so Back doesn't resubmit a form or bounce to a dead auth page.
  • A custom in-app back button must agree with system/browser back or explicitly name its different target ("Back to results").

Deep linking

  • Every screen a user can reach deserves a stable URL/route — including filtered views and selected detail panes (/issues?assignee=me, /inbox/1234).
  • A deep link into the middle of a hierarchy must render working up-navigation, synthesized from the route — never from session history the visitor doesn't have.
  • Mobile: register universal links (iOS) / app links (Android) so shared URLs open the app at the right screen, with a web fallback for non-installers.
  • Unauthenticated hit on a deep link: send to login, then return to the original destination — never dump the user at home.

Layout & Structure

  • Tab bar (mobile): 3–5 items; 49pt tall + safe area (iOS; iOS 26+: floating Liquid Glass bar, height adapts — 49pt is the docked-bar baseline), 80dp (Material 3); active state via color + filled icon variant.
  • Tab items are icon + short label, always — icon-only fails recognition beyond ~5 universal glyphs (home, search, settings).
  • Touch targets ≥44×44pt (iOS) / 48×48dp (Android) for every nav element.
  • Sidebar (desktop): 240–280px expanded, 56–72px collapsed to icons; active item gets a filled background pill, not just a text-color change.
  • Sidebar internal order: search/quick-switcher → pinned/favorites → primary destinations → scrollable spaces/projects → settings + help pinned at bottom.
  • Drawer (mobile/tablet): 280–320px (0–40px wider than the 240–280px docked sidebar it mirrors) over a scrim; hamburger + edge-swipe to open; scrim-tap, swipe, or Esc to close; contents mirror the desktop sidebar exactly.
  • Top nav: 56–64px tall; logo left → primary items → search → notifications → avatar far right. Max 7 top-level items before consolidating.
  • Mega-menu: full-width panel; one column per category with a heading that is itself a link + 4–8 child links; opens on click (never hover-only); closes on Esc and outside click.
  • Breadcrumbs: directly under the header, above the page title; / or › separators; truncate middle segments on narrow screens (Home / … / Current).
  • In-page tabs: never mix in-page tabs and a second sidebar level for the same choice — one mechanism per decision.
  • Command palette: centered overlay, 560–640px wide; opens on ⌘K/Ctrl+K; input on top; grouped results (Recent / Actions / Navigation); ↑↓ + Enter, Esc closes; shortcut hints right-aligned per row.
  • Quick switcher: productivity apps also bind ⌘P/⌘T for "jump to item" — same overlay, pre-scoped to documents/issues (VS Code, Slack).
  • Mobile headers: title centered (iOS) or left-aligned (Android); back chevron top-left; max 2 action icons top-right.
  • Nav labels: 1–2 words; nouns for places, verbs for actions; words users would say aloud. A label that needs a tooltip needs rewriting.
  • Active-state marking is mandatory at every nav level — users answer "where am I?" from the chrome, not from memory.
  • Badge counts only for actionable, user-specific items (unread, pending review); cap at "99+"; never marketing badges ("New!") on more than one item at a time.
  • Persist nav state per user: sidebar collapsed/expanded, last-active tab, expanded tree nodes.
  • Keyboard: web nav tabbable in visual order with visible focus rings; skip-to-content link as the first tab stop.
  • Sidebar section headers: small-caps labels, optionally collapsible; required past ~10 items — a wall of ungrouped items kills scanning.
  • Long nav lists (channels, projects): inline filter-as-you-type at the top of the list, never pagination inside nav.
  • Wayfinding redundancy: the page title must match the nav label that got the user there — mismatched wording reads as a wrong turn.

Quick Reference

SituationPattern
Mobile app, 3–5 core modesBottom tab bar
Mobile app, >5 destinationsFix the IA to ≤5; overflow lives inside a tab, not a "More" tab
Desktop productivity / SaaS toolLeft sidebar (collapsible to icon rail)
Marketing, docs, content siteTop nav, ≤7 items
E-commerce / large catalogTop nav + mega-menu + breadcrumbs
Task-based app (banking, kiosk)Hub-and-spoke
Small app, ≤8 screensFlat
Power users, >20 destinations⌘K command palette as accelerator
Jump-to-item for power users⌘P/⌘T quick switcher
User lands mid-hierarchy via linkBreadcrumbs synthesized from route
Peer views of one objectIn-page tabs
2–5 renderings of the same dataSegmented control (list/board/timeline)
Long document or settings page"On this page" anchor nav
Feature used by <5% of usersNest it; no top-level slot
Deep focused task (checkout, player)Hide nav chrome; restore on exit
"Where does this new feature go?"Under the existing noun it belongs to — new top-level slots are a last resort

Anti-Patterns

Anti-patternWhy it breaksFix
Hamburger menu as primary mobile navHides destinations; engagement on hidden items drops sharplyBottom tab bar for top 3–5; hamburger only for rare overflow
>5 tabs or a "More" tabBuried tabs are effectively deleted featuresMerge or re-rank destinations; overflow inside a tab
Icon-only nav without labelsUsers can't decode icons beyond home/search/settingsAlways pair icon + label in primary nav
Nav items that change per pageUsers lose the map; every page feels like a new appIdentical top-level nav everywhere; mark active state
SPA navigation without URL updatesBack breaks, links unshareable, refresh loses stateRoute every navigational state; pushState on view change
Modal-as-page without a history entryBack skips past it or closes the whole flowHistory entry for full-screen overlays only
Back closing a dropdownBack becomes unpredictable; users stop trusting itNo history entries for transient UI
Hover-only dropdown menusFail on touch; flicker on diagonal mouse pathsOpen on click/tap; close on Esc + outside click
Vague labels ("Solutions", "More", "Stuff")Zero information scent; users click randomlyConcrete nouns users would say aloud
Command palette as the only path to a featureExcludes pointer/touch users; undiscoverablePalette duplicates nav, never replaces it
Current page as a breadcrumb linkSelf-link confuses and wastes a clickCurrent crumb is plain text
Cross-linking between hub spokesUsers can't rebuild their location modelReturn to hub between tasks
Badge counts on 3+ nav items at onceAlarm fatigue; users ignore all badgesBadge only actionable, user-specific counts
Custom back button disagreeing with historyTwo back affordances point different waysMirror history, or name the target ("Back to results")
Login redirect dropping the deep linkUser re-navigates manually; shared links feel brokenPreserve destination through auth, return after login
Four visible layers of nav chromeChrome outweighs content; layers indistinguishableCap at primary + secondary + tabs; split the object model
Nav label ≠ page titleUsers think they mis-clicked and back outSame words in the nav item and the page heading
Ungrouped sidebar past ~10 itemsWall of items; scanning collapsesLabeled section headers + inline filter

Câu hỏi thường gặp

Kỹ năng AI Flow Navigation làm được gì?

Dùng khi thiết kế hoặc đánh giá kiến trúc điều hướng của ứng dụng — chọn giữa thanh tab, thanh bên, thanh điều hướng trên cùng hay bảng lệnh; quyết định menu nên có nhiều cấp hay nhiều mục; hoặc xử lý khi người dùng cho biết bị lạc, không tìm thấy tính năng hay nút quay lại hoạt động ngoài dự kiến. Cũng dùng khi thêm breadcrumb, liên kết sâu hoặc sắp xếp lại hệ thống phân cấp thông tin.

Vì sao nên dùng Flow Navigation trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Flow Navigation là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Flow Navigation trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-navigation. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Flow Navigation?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Flow Navigation với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Flow Navigation với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Flow Navigation có miễn phí không?

Có. Kỹ năng này được jpoindexter phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇