unstale

npm / @metamask/skills

@metamask/skills

What changed in @metamask/skills 0.1 to 0.4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-25.

13 breaking46 new APIs and options8 behavior and defaults14 tooling15 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@metamask/skills 0.439 changes

Breaking changes 7

  • Visual-testing failures are now reported as one-line JSON on stdout with structured error fields and per-class exit codes.

    0.4.0release notes

  • Removes the mobile visual-testing launch flag.

    0.4.0release notes

  • Installed by default as a stable base skill for Mobile and Extension; runs for ambiguous, large, security-sensitive, performance-sensitive, or contract/API work. Opt out with the documented yarn command.

    0.4.0release notes

  • Installed by default as a stable base skill for Mobile and Extension; its trigger behavior changes on the next sync.

    0.4.0release notes

  • Updates guidance for client-mcp-core 0.13.x/0.14.0 and device-mcp 0.7.0/0.8.0; removes knowledge-store commands, knowledge reuse, and the --goal and --flow-tags launch flags. Failures use one-line JSON stdout and per-class exit codes.

    0.4.0release notes

  • Updates guidance for client-mcp-core 0.13.1 and 0.14.0, removes knowledge-store commands and mandatory knowledge reuse, replaces the webpack test-build script, and documents 0.14.0 commands.

    0.4.0release notes

  • The visual-testing guidance removes this script in favor of yarn build:test.

    0.4.0release notes

New APIs and options 19

  • Adds a repo-agnostic analytics base and a MetaMask Mobile overlay for the canonical tracking API; installs even when its domain is filtered out.

    0.4.0release notes

  • Adds a repo-agnostic base and a MetaMask Mobile overlay for version-gated remote flags; installs even when its domain is filtered out.

    0.4.0release notes

  • Documents this client-mcp-core 0.14.0 command for visual testing.

    0.4.0release notes

  • Documents the browser command for client-mcp-core 0.14.0 visual testing.

    0.4.0release notes

  • Adds a repo-agnostic base and a MetaMask Mobile overlay for Routes and NavigationService; installs even when its domain is filtered out.

    0.4.0release notes

  • Adds a skill for syncing a client with the backend notifications category manifest, with a MetaMask Mobile overlay.

    0.4.0release notes

  • Adds an observability domain with Sentry, Tempo, and telemetry cost-control skills.

    0.4.0release notes

  • Extends the performance domain with measurement, anti-pattern scanning, and React Compiler error-triage and coverage-antipattern skills.

    0.4.0release notes

  • Adds generated Perps review checklists composed from the Perps library and repository overlays.

    0.4.0release notes

  • Adds a machine-readable rule pack describing criterion-family areas, class, status, and rules; client-only families identify their client.

    0.4.0release notes

  • Adds mobile planning skills for planning, specification planning, and Jira briefs.

    0.4.0release notes

  • Adds a platform domain covering Extension runtime architecture and failure modes.

    0.4.0release notes

  • Adds a base skill for PR review.

    0.4.0release notes

  • Adds a skill suggesting follow-up actions after MetaMask Mobile CI classifies a Hermes CPU-profile regression.

    0.4.0release notes

  • Adds a recipe-library auditing skill using the release's shared mm-harness version and checklist conventions.

    0.4.0release notes

  • Adds a recipe performance skill using the release's shared mm-harness version and checklist conventions.

    0.4.0release notes

  • Adds a recipe-planning skill with checklist and proof-artifact conventions, pinned to one mm-harness version with an install-time version check.

    0.4.0release notes

  • Adds a MetaMask Mobile selector-patterns skill.

    0.4.0release notes

  • Adds a TypeScript domain with authoring and migration skills.

    0.4.0release notes

Behavior and default changes 3

  • Supports explicit-only skill invocation, preserves repository overlays, and prunes managed retired skill names during sync.

    0.4.0release notes

  • Installed by default as a stable base skill for Mobile and Extension; planning calls it only when a Jira ticket is already identified.

    0.4.0release notes

  • Provides the documented opt-out command for the newly default-installed planning skills.

    0.4.0release notes

Tooling 5

  • Documents this client-mcp-core 0.14.0 command for visual testing.

    0.4.0release notes

  • Adds component-view flake guidance, reusable Appium interaction-stability patterns, and a lint-enforced checklist requiring yarn eslint on new component-view tests.

    0.4.0release notes

  • Adds an MCP-free baseline for looking up MetaMask Design System components, with Mobile and Extension overlays that do not pin a component inventory or require Storybook MCP.

    0.4.0release notes

  • Replaces the removed yarn build:test:webpack script in visual-testing guidance.

    0.4.0release notes

  • Required on new component-view tests before finishing.

    0.4.0release notes

Fixes and other changes 5

  • Adds activity mapper guidance, including cross-client advice.

    0.4.0release notes

  • Now triggers on edits to existing strings as well as newly added strings.

    0.4.0release notes

  • Requires the marketing section to remain last on mobile in notifications-category-sync.

    0.4.0release notes

  • Adds a recipe-cooking skill with checklist and proof-artifact conventions; fixes preserve acceptance criteria, the installed acceptance-cli path, and the all-guard baseline exception.

    0.4.0release notes

  • The Mobile performance and animation guidance for Reanimated 4.x says to use scheduleOnRN from a worklet.

    0.4.0release notes

@metamask/skills 0.339 changes

Breaking changes 5

  • A base: true skill cannot also be experimental; the linter treats this as an error.

    0.3.0release notes

  • All four implementations now use consistent truthiness for base: values; base: on no longer passes lint while being skipped by the installer.

    0.3.0release notes

  • A base skill description must be long enough to self-trigger; violations are errors.

    0.3.0release notes

  • Domain values are validated against existing domains instead of silently installing the base set and exiting successfully on a typo.

    0.3.0release notes

  • The frontmatter key mandatory was renamed to base; update skills still using the old key.

    0.3.0release notes

New APIs and options 11

  • Adds skills for the assets domain.

    0.3.0release notes

  • Skills marked base: true in frontmatter install on every automatic postinstall regardless of domain selection, providing a useful set with no configuration.

    0.3.0release notes

  • Adds a MetaMask mobile content-guidelines skill.

    0.3.0release notes

  • Adds an analyzer flag for setting the context minimum percentage.

    0.3.0release notes

  • Adds a skill for adding EVM networks in the extension repository.

    0.3.0release notes

  • Adds a skill for using Flashlight to assess Android vitals.

    0.3.0release notes

  • Adds a skill for choosing mobile test-layer placement.

    0.3.0release notes

  • Adds a MetaMask Mobile visual-testing skill.

    0.3.0release notes

  • Adds opt-in pruning of stale project skills.

    0.3.0release notes

  • Setting SKILLS_PRUNE_STALE=1 opts in to stale project skill pruning.

    0.3.0release notes

  • Adds an analyzer flag for restricting the audit to swaps.

    0.3.0release notes

Behavior and default changes 5

  • The Extension UI skill is now an MMDS gateway.

    0.3.0release notes

  • Mobile testing guidance now defaults to the component-view layer, and the Appium local-run playbook moved into this skill.

    0.3.0release notes

  • Automatic postinstall syncing is now the default; set SKILLS_AUTO_UPDATE=0 to opt out. An explicitly empty value still means off.

    0.3.0release notes

  • The audit now covers the whole capture, classifies non-swaps frames by their relation to swaps call stacks, and reports named context areas alongside swaps rows.

    0.3.0release notes

  • Reports swaps-owned, swaps-path, and concurrent non-swaps areas in separate tables; adds inclusive time to the swaps table and caps non-swaps fix-table rows.

    0.3.0release notes

Tooling 8

  • Guidance adds flakiness and assertion patterns, requires awaiting async-gated content, and bans nested findBy inside waitFor.

    0.3.0release notes

  • Adds a unified extension-testing skill.

    0.3.0release notes

  • Clarifies where integration tests belong.

    0.3.0release notes

  • Adds a mobile integration-testing skill.

    0.3.0release notes

  • Unifies the Mobile testing skills.

    0.3.0release notes

  • Adds context for a wider CPU audit.

    0.3.0release notes

  • Adds a skill that parses Hermes or React Native Release Profiler .cpuprofile captures and audits slow frames in swaps and bridge.

    0.3.0release notes

  • Updates the extension UI-development skill to include newly added design-system components.

    0.3.0release notes

Fixes and other changes 10

  • A failed automatic sync now warns instead of exiting 0 silently, allowing the caller's guard to react and preventing stale skills from appearing fresh; postinstall still never fails yarn install.

    0.3.1release notes

  • The sync installer selection works when npm or Yarn drops the executable bit, so a configured private overlay no longer prevents base skills from being installed.

    0.3.1release notes

  • Appends -oBatchMode=yes to an existing value rather than replacing it, preserving custom SSH keys, agents, and ProxyCommand configuration.

    0.3.0release notes

  • When no valid entries are selected, installs the base set instead of every domain.

    0.3.0release notes

  • Domain selections are validated against existing domains; a saved empty value from the old all-choice picker is no longer treated as no saved selection.

    0.3.0release notes

  • Readers now strip inline comments consistently so comments do not become part of domain names.

    0.3.0release notes

  • Preserves METAMASK_SKILLS_DIR and CONSENSYS_SKILLS_DIR entries when rewriting .skills.local.

    0.3.0release notes

  • Caps the delegated sync subprocess so it cannot hang yarn install indefinitely and reports ETIMEDOUT explicitly.

    0.3.0release notes

  • Executes the tools/install shipped beside the pinned package instead of preferring executable code from the unpinned cache clone.

    0.3.0release notes

  • The command remains unchanged and still installs every domain.

    0.3.0release notes

@metamask/skills 0.28 changes

Breaking changes 1

  • Prefixes all perps skill names with perps-, changing the names developers use to identify those skills.

    0.2.0release notes

New APIs and options 7

  • Adds a skill for breaking down perps tickets.

    0.2.0release notes

  • Adds a component-scaffold skill for MetaMask Mobile.

    0.2.0release notes

  • Adds a controller-integration skill for mobile and extension development.

    0.2.0release notes

  • Adds EVM network integration skills for swaps.

    0.2.0release notes

  • Adds a flaky-test-detection skill.

    0.2.0release notes

  • Adds a multiproject validation skill for perps.

    0.2.0release notes

  • Adds a product-authoring skill for writing perps tickets.

    0.2.0release notes

@metamask/skills 0.110 changes

New APIs and options 9

  • Adds bundled package fallback for consumer repos.

    0.1.0release notes

  • Adds the describe CLI discovery command.

    0.1.0release notes

  • Adds the list CLI discovery command.

    0.1.0release notes

  • Adds the install command to the metamask-skills CLI.

    0.1.0release notes

  • Adds the postinstall command to the metamask-skills CLI.

    0.1.0release notes

  • Adds repo inference for consumer repos.

    0.1.0release notes

  • Adds repo-local skills cache support for consumer repos.

    0.1.0release notes

  • Adds the search CLI discovery command.

    0.1.0release notes

  • Adds handling for SKILLS_AUTO_UPDATE=1 in consumer repos.

    0.1.0release notes

Tooling 1

  • Adds the sync command to the metamask-skills CLI.

    0.1.0release notes