A Claude Code plugin for building and shipping Manifest V3 Chrome extensions without tripping over the usual stuff: manifest quirks, permission sprawl, CSP mistakes, broken builds, and Web Store submission prep.
It scaffolds new extensions, audits existing ones, adds common extension surfaces, runs validation, and prepares release artifacts. It works with WXT, Plasmo, CRXJS, and vanilla setups, with WXT as the default path.
▶ Watch the 73-second narrated walkthrough (with audio) — scaffold → build → validate → web-ext lint → ship.
Inside Claude Code, from the Anthropic community marketplace:
/plugin marketplace add anthropics/claude-plugins-community
/plugin install chrome-extension-builder@claude-communityOr straight from this repo (always the latest release):
/plugin marketplace add harry-harish/chrome-extension-builder
/plugin install chrome-extension-builder@chrome-extension-builder-marketplaceFor local development:
git clone https://github.com/harry-harish/chrome-extension-builder
claude --plugin-dir ./chrome-extension-builder/chrome-ext:newThat launches a guided workflow for planning, scaffolding, validating, testing, and preparing an MV3 extension for release.
Building the feature is usually not the hardest part of extension work.
The time sink is everything around it: choosing the right framework, structuring background and content logic correctly, keeping permissions tight, satisfying MV3 rules, getting tests to pass, and cleaning things up for Chrome Web Store review. This plugin is built to handle that layer well.
/chrome-ext:new— Start a new extension with a guided multi-phase workflow./chrome-ext:validate— Run manifest, CSP, permission, and lint checks on the current project./chrome-ext:add-feature— Add a popup, options page, content script, side panel, devtools panel, or background handler./chrome-ext:publish— Prepare store assets, disclosure text, and packaged output for submission./chrome-ext:migrate-mv2— Audit an MV2 codebase and generate an MV3 migration plan.
extension-architect— Chooses structure, capabilities, and framework direction.manifest-auditor— Reviewsmanifest.json, flags risky permissions, checks CSP, and rejects MV2-only patterns.extension-test-runner— Runs build, lint, and smoke-test workflows in isolation.
Tool grants are deliberately minimal — read/analyze agents can't write, and no agent can publish:
| Agent | Read | Grep/Glob | Bash | WebFetch | Edit/Write |
|---|---|---|---|---|---|
extension-architect |
✓ | ✓ | — | ✓ | — |
manifest-auditor |
✓ | ✓ | ✓ | — | — |
extension-test-runner |
✓ | ✓ | ✓ | — | — |
The architect plans but never executes shell or edits files; the auditor and test-runner can run validators/builds but never modify your code.
- A
PostToolUsehook re-checksmanifest.jsonchanges with manifest, CSP, and permission validators. If a critical issue appears, the session is pushed to fix it before moving on. - A
PreToolUsehook blocks live publish commands unless they are explicitly confirmed. - The plugin defaults to Manifest V3 only.
- WXT — default recommendation
- Plasmo — supported
- CRXJS — supported
- Vanilla MV3 — supported
Use the one that matches your project. The plugin should help you move faster, not force a rewrite for style points.
- Node.js 18+
- pnpm, npm, yarn, or bun
- Python 3.10+ for validator scripts
- A POSIX shell (
bash) andziponPATH. macOS and Linux have these by default; on Windows, run the plugin inside WSL or Git Bash — the scaffold, validate, and publish flows invoke bundled.shscripts (andbuild-zip.shshells out tozipfor vanilla/CRXJS projects), which won't run in plain PowerShell orcmd. - Playwright Chromium for E2E tests
- Optional GitHub and Chrome Web Store credentials for publishing flows
- Manifest V3 only
- TypeScript-first output
chrome.activeTabpreferred over broad host permissions- Strict CSP, no remote code, no
eval - Reproducible builds
_locales-based i18n by default
The validator path looks for problems that routinely waste time during extension development and review:
- Invalid MV3 manifest fields
- Overbroad or suspicious permissions
- CSP issues like
unsafe-inlineandunsafe-eval - Missing referenced files
- Old MV2 patterns that should not ship
- Packaging and lint problems that break release flow
This plugin does not:
- Guarantee Chrome Web Store approval
- Publish live by accident
- Make unsafe permissions acceptable
- Turn a weak product idea into a good extension
- Replace framework docs for WXT, Plasmo, or CRXJS
- Firefox and Edge workflows are not the primary target yet.
- Existing repos with unusual layouts may need cleanup before automation works well.
- Store submission details can change faster than tooling does.
- Some UI and product decisions still need a human with taste.
- Windows users need WSL or Git Bash; the helper scripts are not yet ported to a cross-platform runtime (#5).
This plugin is useful if you are:
- Starting a new MV3 extension
- Migrating older extension code
- Adding features to an existing extension without breaking structure
- Preparing for Web Store submission and want stricter checks before upload
.claude-plugin/
agents/
commands/
hooks/
skills/
README.md
CHANGELOG.md
LICENSE
PRIVACY.md
/chrome-ext:validateMIT
