chrome-extension-mv3
Installation
SKILL.md
Chrome extension (Manifest V3)
Vanilla MV3 patterns for extensions without a bundler/framework in the active path. Pair with project overlays for app-specific file maps and message action names (examples/overlays/).
Architecture (typical three-layer)
| Layer | Runs in | Typical files | Responsibilities |
|---|---|---|---|
| Popup / UI | Extension page | popup.html, popup.js |
User input, display, orchestrates messages to SW |
| Service worker | Background (ephemeral) | background.js, event.js, sw.js |
Network fetch needing host_permissions, relay, durable cache |
| Content script | Isolated world on web pages | content.js |
DOM/selection access, page context, no extension APIs for cross-origin fetch |
Read the project's overlay or TECH_DETAILS*.md / AGENTS.md for exact filenames.