moai-platform-chrome-extension

Develop Chrome extensions with Manifest V3 service workers and content scripts.

Updated Feb 22, 2026
One-click install
npx skills add https://github.com/SayBGM/TubeExtract --skill moai-platform-chrome-extension-saybgm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-platform-chrome-extension
Source: https://github.com/SayBGM/TubeExtract/tree/main/.claude/skills/moai-platform-chrome-extension
Command: npx skills add https://github.com/SayBGM/TubeExtract --skill moai-platform-chrome-extension-saybgm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and tools for developing, debugging, and publishing Chrome extensions using the latest Manifest V3 standards, ensuring security and performance.

Core Features & Use Cases

  • Manifest V3 Development: Covers service workers, content scripts, messaging, and Chrome APIs.
  • Debugging & Publishing: Includes best practices for testing, Chrome Web Store submission, and managing updates.
  • Use Case: You need to build a new Chrome extension that modifies web page content, communicates between a service worker and content scripts, and adheres to Manifest V3 security requirements.

Quick Start

Use the moai-platform-chrome-extension skill to create a basic Manifest V3 extension with a service worker and a content script.

Frequently Asked Questions about moai-platform-chrome-extension

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

FAQPage Schema
How do I build a Chrome extension with Manifest V3 using a service worker and content script?

To build a Manifest V3 Chrome extension, configure a service worker for background logic and content scripts for webpage modification. This ensures your browser extension adheres to modern security requirements while executing chrome.* APIs.

How does message passing work between a service worker and content scripts in Manifest V3?

Message passing in Manifest V3 enables communication between your service worker and content scripts. You implement this using chrome.runtime messaging APIs to coordinate background tasks and webpage interactions within your browser extension.

What is the best way to configure declarativeNetRequest and side panels in a browser extension?

Configuring declarativeNetRequest and side panels involves declaring permissions in your Manifest V3 file and utilizing the respective chrome.* APIs. This approach modifies network requests and provides side-panel UI without persistent background pages.

Do I need Manifest V3 to publish a new extension to the Chrome Web Store?

Yes, Manifest V3 is required to publish new browser extensions to the Chrome Web Store. It replaces background pages with service workers and enforces stricter permissions to ensure extension security and performance.

Why does my Manifest V3 service worker become inactive and stop processing events?

Manifest V3 service workers are ephemeral and become inactive when idle to save resources. You must avoid relying on global variables and use chrome.alarms or persistent storage to manage state across service worker lifecycles.