extension-lifecycle-decoupling

Community

Verify lifecycle events before app-side effects.

AuthorMajorLift
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Verifies that platform lifecycle events in the extension environment do not inadvertently trigger application-level side effects, reducing flaky behavior during MV3 service worker eviction and related lifecycle transitions.

Core Features & Use Cases

  • Clarifies the distinction between platform lifecycle events and application behavior.
  • Provides a practical checklist for debugging lifecycle-induced issues across eviction, keepalive, and state persistence.
  • Guides safe verification in scenarios involving service workers, storage interfaces, and background scripts.

Quick Start

Run the verification checklist against the extension's MV3 service worker lifecycle to confirm that platform events do not cause unintended app behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: extension-lifecycle-decoupling
Download link: https://github.com/MajorLift/metamask-extension-skills/archive/main.zip#extension-lifecycle-decoupling

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.