feature-flags
Version-gated remote feature flags. Use when adding, migrating, or reviewing a remote or version-gated feature flag, writing a flag selector, or gating UI on a flag boolean.
- License 许可
- MIT
- 所属仓库
- MetaMask/skills
- 最近更新
- 2026-11-14
- Stars
- ★ 25
- Forks
- 11
01 前言 Front Matter
- base
- true
- name
- feature-flags
- maturity
- stable
- description
- Version-gated remote feature flags. Use when adding, migrating, or reviewing a remote or version-gated feature flag, writing a flag selector, or gating UI on a flag boolean.
02 资源文件 1
- 参考文档repos/metamask-mobile.md2.7 KB
03 SKILL.md 正文
Feature flags
Use this skill for remote and version-gated feature flags.
When to use
- Adding or migrating a remote / version-gated feature flag
- Writing or updating a flag selector
- Gating UI or hooks on a flag boolean
- Reviewing a PR that introduces or changes flag evaluation
Workflow
- Evaluate the flag in a selector. Return a boolean.
- Map a non-standard remote shape to
{ enabled, minimumVersion }before the shared helper. - Consume that boolean in UI or hooks. Do not re-run version math there.
- Cover the selector with collocated tests (enabled, disabled, invalid, fallback).
04 同仓库更多 Skills
recipe-plan-and-dispatch
Plan a ticket with the engineer before a recipe fix-bug or dev run. Agree the acceptance criteria and an implementation plan, write it as an approved plan file, and print the prompt that starts the run with any agent and model. Never edits product code or starts the run.
recipe-library-audit
Run every recipe of a team recipe library on one client with mm-harness, classify each result with the failing node and exact error, and review naming and composability. Produces a per-client table; changes nothing.
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.