Skip to content
Back to skills

Metamask Official Activity Mappers

ASecurity

Guidance for Activity List and Activity Item changes: start in `@metamask/client-utils/mappers` to share behavior across the mobile and extension apps. Prefer API data, or the keyring transaction for non-EVM; avoid massaging local state. Use when changing Activity List, Activity Item, or their data mapping.

  • 78 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 24, 2026
developmentgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 24, 2026

npx -y skills add jiayaoqijia/cryptoskill --skill metamask-official-activity-mappers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Metamask Official Activity Mappers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Metamask Official Activity Mappers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiayaoqijia-metamask-official-activity-mappers/badge)](https://www.skillsdirectory.com/skills/jiayaoqijia-metamask-official-activity-mappers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: activity-mappers
description: >-
  Guidance for Activity List and Activity Item changes: start in
  `@metamask/client-utils/mappers` to share behavior across the mobile and
  extension apps. Prefer API data, or the keyring transaction for non-EVM;
  avoid massaging local state. Use when changing Activity List, Activity Item,
  or their data mapping.
---

# Activity Mappers

## When To Use

- Changing the Activity List or Activity Item
- Changing the data used to render an Activity List or Activity Item

## In Scope

- Extension: `ui/pages/activity`, `ui/pages/details`, `shared/lib/activity`
- Mobile: `app/components/views/Activity`, `app/components/views/ActivityDetails`, `app/util/activity-adapters`

## Workflow

1. Start in [`@metamask/client-utils/mappers`](https://github.com/MetaMask/core/tree/main/packages/client-utils/src/mappers).
2. Prefer data from the API. For non-EVM activity, use the keyring transaction.
3. Avoid massaging local state because it does not exist in other instances.
4. Add or update the unit tests in the mappers package.

Files in this skill

  • LICENSE1 KB
  • SKILL.md1 KB
  • SOURCE.md362 B
  • TRUST.auto.yaml2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…