metamask-agent-workflows
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMetaMask Agent Workflows
MetaMask Agent 工作流
Repeatable multi-step patterns for the CLI. Load a workflow file when the user's request is a pattern, not a single command.
mm-devmm-devWorkflow Routing
工作流路由
| Pattern | Workflow |
|---|---|
| First time setup and onboarding | onboarding.md |
| Login flow | login.md |
| Troubleshooting decision tree | troubleshooting.md |
| Swap quote-review-execute flow | swap.md |
| Bridge quote-review-execute flow | bridge.md |
| Open a perpetual position flow | perps-open-position.md |
| Close a perpetual position flow | perps-close-position.md |
| Modify a perpetual position flow | perps-modify-position.md |
| Predict setup-fund-quote-place flow | predict-trading.md |
| Token discovery, prices, and market data | market-data.md |
Always use for command output unless the user explicitly requests a different format.
--toon| 模式 | 工作流 |
|---|---|
| 首次设置与新用户引导 | onboarding.md |
| 登录流程 | login.md |
| 问题排查决策树 | troubleshooting.md |
| 兑换报价-审核-执行流程 | swap.md |
| 跨链桥接报价-审核-执行流程 | bridge.md |
| 开立永续仓位流程 | perps-open-position.md |
| 平仓永续仓位流程 | perps-close-position.md |
| 修改永续仓位流程 | perps-modify-position.md |
| 预测交易设置-充值-报价-下单流程 | predict-trading.md |
| 代币发现、价格与市场数据 | market-data.md |
除非用户明确要求其他格式,否则命令输出始终使用参数。
--toonPreflight
预检查
Always run preflight before any CLI operation.
bash
mm-dev auth statusIf the user is not authenticated, follow for first time setup, or for login.
workflows/onboarding.mdworkflows/login.md在执行任何CLI操作前,务必运行预检查。
bash
mm-dev auth status如果用户未通过认证,对于首次设置请遵循,对于登录请遵循。
workflows/onboarding.mdworkflows/login.mdCommand Discovery
命令查询
Before constructing any command, run to confirm the exact flags, syntax, and defaults. Do not guess flags from memory.
mm-dev <command> --help在构建任何命令前,运行以确认准确的参数、语法和默认值。请勿凭记忆猜测参数。
mm-dev <command> --helpOutput Rules
输出规则
- Route silently. Do not announce which workflow you are loading.
- Surface errors from commands verbatim. Do not mask or reword them.
- If a command fails, check and guide from there.
mm-dev <command> --help
- 静默路由。无需告知用户正在加载哪个工作流。
- 如实显示命令产生的错误。请勿掩盖或改写错误信息。
- 如果命令执行失败,运行并据此引导用户。
mm-dev <command> --help