browser-extension

Build Manifest V3 browser extensions with persistent storage and service workers.

230|34|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/xenitV1/claude-code-maestro --skill browser-extension-xenitv1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: browser-extension
Source: https://github.com/xenitV1/claude-code-maestro/tree/main/skills/browser-extension
Command: npx skills add https://github.com/xenitV1/claude-code-maestro --skill browser-extension-xenitv1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill helps developers build and maintain Manifest V3 browser extensions with durable persistence, addressing challenges around service worker lifecycle, background tasks, and cross-browser compatibility.

Core Features & Use Cases

  • MV3 compliant architecture with service workers and side panels for persistent, non-intrusive UX
  • Persistence strategy using chrome.storage and IndexedDB to avoid volatile state
  • Use Case: Create a persistent extension that wakes on a timer to sync data and provide a side-panel UI

Quick Start

Use the browser-extension skill to scaffold a MV3 extension and run the audit suite to verify manifest, persistence, and asset compliance.

Frequently Asked Questions about browser-extension

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep my MV3 service worker state persistent across browser sessions?

MV3 service worker persistence is maintained using chrome.storage and IndexedDB to store state durably. This avoids volatile in-memory state loss when the service worker terminates, ensuring data survives across browser sessions.

Why does my Manifest V3 extension background service worker keep stopping?

Manifest V3 service workers are designed to be ephemeral and terminate when idle to save resources. You must implement persistence strategies like chrome.storage and alarm events to wake the worker and restore state automatically.

What is the best way to implement a side panel UI in a Chrome extension?

The best way to implement a side panel UI is by using the Manifest V3 Side Panel API. This provides a persistent, non-intrusive user experience alongside your service worker architecture without blocking browser navigation.

Can I use IndexedDB for secure state management in a browser extension?

Yes, IndexedDB is highly suitable for secure state management in browser extensions. It provides durable client-side storage that complements chrome.storage, ensuring your extension's background behavior and data persist securely across sessions.

How do I audit my browser extension for Manifest V3 compliance and security?

You can audit MV3 compliance and security by running automated script suites that verify the manifest structure, check persistence constraints, and validate asset security. This ensures your extension meets required platform standards.

Does this approach support cross-browser compatibility for service workers?

Yes, the architecture targets cross-browser compatibility by standardizing service worker implementation and persistence patterns. It enforces MV3 requirements while ensuring your extension functions correctly across different browser environments.