navigation
App navigation with named routes. Use when adding or changing a screen, navigating from a component or a non-UI caller (saga, Engine, deeplink handler), or writing tests that assert navigation.
- License 许可
- MIT
- 所属仓库
- MetaMask/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 25
- Forks
- 11
01 前言 Front Matter
- base
- true
- name
- navigation
- maturity
- stable
- description
- App navigation with named routes. Use when adding or changing a screen, navigating from a component or a non-UI caller (saga, Engine, deeplink handler), or writing tests that assert navigation.
02 资源文件 1
- 参考文档repos/metamask-mobile.md2.7 KB
03 SKILL.md 正文
Navigation
Use this skill for moving between screens.
When to use
- Adding or changing a screen or navigator registration
- Navigating from a component
- Navigating from a saga, Engine, or other non-UI caller
- Writing tests that assert navigation
- Reviewing a PR that introduces or changes navigation
Workflow
- Pick the route name from the shared route map. Do not invent a string.
- From a screen, navigate with the navigation hook. From a non-UI caller, use the navigation service.
- Pass typed params. Register the screen on an existing navigator tree.
- In tests, mock the navigation hook or the navigation service the same way nearby tests already do.
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
x402-payments
Build x402 payment flows using MetaMask Smart Accounts Kit, machine to machine payments over HTTP with ERC-7710 delegations and ERC-7715 Advanced Permissions
smart-accounts-kit
Build dApps with MetaMask Smart Accounts Kit — ERC-4337 smart accounts, delegations, and Advanced Permissions (ERC-7715)
oh-my-opencode
Multi-agent orchestration plugin for OpenCode. Use when the user wants to install, configure, or operate oh-my-opencode — including agent delegation, ultrawork mode, Prometheus planning, background tasks, category-based task routing, model resolution, tmux integration, or any oh-my-opencode feature. Covers installation, configuration, all agents (Sisyphus, Oracle, Librarian, Explore, Atlas, Prometheus, Metis, Momus), all categories, slash commands, hooks, skills, MCPs, and troubleshooting.
gator-cli
Use when you need to operate the @metamask/gator-cli to initialize profiles, upgrade EOA to EIP-7702, grant, redeem, and revoke ERC-7710 delegations, or inspect balances and delegations. Covers commands, required flags, grant scopes, redeem action types, configuration locations, and common usage flows.
ui-development
UI component development standards for MetaMask clients: the strict design-system-first component hierarchy, availability checks before building custom components, styling with design tokens, and required imports. Use when building, restyling, or reviewing any UI component, or when choosing between a design-system, component-library, or custom component.