Skip to content

Build and publish Manifest V3 Chrome extensions, with guardrails for common breakages and Web Store review.

CCM score
68 of 100
skills.sh installs
21.3K
GitHub stars
27.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers building extensions with service workers, content scripts, popups, and side panels, plus Chrome Web Store publishing steps
  • Includes 11 mandatory rules for icons, side panel triggers, sandboxed code execution, permissions, async patterns, and ephemeral state
  • Enforces explicit icon files, a sidePanel open trigger, tabs permission for tab.url, and chrome.storage over in-memory state
  • Designed for developers who need Manifest V3 extensions that run correctly and pass store review on first submission

Install

$ npx -y skills add googlechrome/modern-web-guidance --skill chrome-extensions -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Chrome Extensions

Build production-quality Chrome extensions using Manifest V3 and publish them to the Chrome Web Store.

Part 1 — Building Extensions

Mandatory Rules

These address the most common causes of broken extensions. Violating any produces a non-functional build.

1. Icons: only reference files you create — or omit icons entirely
❌ BROKEN — referencing files that don't exist or reusing one file for all sizes:
   "icons": { "16": "icon.png", "48": "icon.png", "128": "icon.png" }

✅ CORRECT — each size is a separate file at the correct pixel dimensions:
   "icons": { "16": "icons/icon-16.png", "48": "icons/icon-48.png", "128": "icons/icon-128.png" }
   (where icon-16.png is 16×16px, icon-48.png is 48×48px, icon-128.png is 128×128px)

✅ ALSO CORRECT — omit icons from manifest if you cannot generate real PNG files:
   (just remove the "icons" and "default_icon" fields — Chrome uses a default icon)

If you include icon references, you MUST create the actual image files. Generate them with a script (see references/extensions/icons.md) or leave them out. Never reference non-existent files.

2. Side panel: you MUST provide a way to open it

Details

Repository
github.com/googlechrome/modern-web-guidance
Categories
Frontend & UI Code, Skill & Plugin Building
First seen
Jul 14, 2026

Questions

What does the chrome-extensions skill help with?

The chrome-extensions skill helps you build, modify, debug and publish Chrome browser extensions using Manifest V3 best practices. It covers the Chrome Extensions API, manifest.json, content scripts, service workers, side panels and publishing to the Chrome Web Store.

How do I install the chrome-extensions skill?

Run npx -y skills add googlechrome/modern-web-guidance --skill chrome-extensions -y inside your project. After that, the agent can use the skill when you ask for Chrome extension work.

Where does chrome-extensions rank in its category?

It sits in the Frontend & UI Code category and ranks in the top 100 on that category page. The other top skills in the category include vercel-react-best-practices and web-design-guidelines.

Which Chrome extension topics does this skill cover?

It covers manifest.json, content scripts, service workers, side panels, popups, declarativeNetRequest, omnibox, context menus and userScripts. It also includes guidance on writing permission justifications and drafting a privacy policy for the Chrome Web Store.

More from googlechrome/modern-web-guidance

All 2

Similar to Chrome Extensions

More Frontend & UI Code