The Agent Skill for cross-browser extension development. Teaches AI coding agents to build, debug, and publish for Chrome, Edge, Firefox, Safari, and every Chromium- or Gecko-based browser.
Overview
[npm-version-image]: https://img.shields.io/npm/v/@extension.dev/skill.svg?labelColor=f4f4f5&color=1c1c1e [npm-version-url]: https://www.npmjs.com/package/@extension.dev/skill [action-image]: https://github.com/extensiondev/skill/actions/workflows/ci.yml/badge.svg?branch=main&color=000000 [action-url]: https://github.com/extensiondev/skill/actions [discord-image]: https://img.shields.io/discord/1253608412890271755?labelColor=f4f4f5&label=Discord&logo=discord&style=flat&color=1c1c1e&logoColor=1c1c1e [discord-url]: https://discord.gg/BRqbPDfPxb The Agent Skill for cross-browser extension development. Teaches your coding agent to build, debug, and publish for Chrome, Edge, Firefox, and every Chromium- or Gecko-based browser. @extension.dev/skill is an Agent Skill for Claude Code, Cursor, GitHub Copilot, Codex, Windsurf and any agent that supports the open Agent Skills format. Your agent learns to build, debug and publish one extension for every browser. Powered by extension.
README
@extension.dev/skill

The Agent Skill for cross-browser extension development. Teaches your coding agent to build, debug, and publish for Chrome, Edge, Firefox, and every Chromium- or Gecko-based browser.
npx skills add extensiondev/skill
@extension.dev/skill is an Agent Skill for Claude Code, Cursor, GitHub Copilot, Codex, Windsurf and any agent that supports the open Agent Skills format. Your agent learns to build, debug and publish one extension for every browser.
Documentation · extension.dev MCP · Extension.js · Discord
Why @extension.dev/skill
Powered by extension.dev, this is the knowledge half of the extension.dev agent stack:
- extension.dev MCP
(
@extension.dev/mcp) gives agents hands: MCP tools for scaffolding, building, live DOM inspection, log streaming, asserting expectations against a running extension, publishing, store submission, and headless release promotion. - @extension.dev/skill gives agents judgment: when to use which tool, the cross-browser rules, the silent-failure gotchas, and the publish checklist, packaged in the open Agent Skills format (SKILL.md plus progressive-disclosure references).
The skill works standalone: the whole local loop (scaffold, dev, build,
inspect, publish) documents the extension CLI path, and the skill says
plainly which capabilities are MCP-only so an agent never invents a command
that does not exist. It shines when the MCP server is connected, because the
skill tells the agent to verify against the live browser instead of guessing,
and the MCP tools make that a one-call operation.
In the shipped benchmark, a skill-equipped agent passed 15/15 graded assertions; the no-skill baseline passed 10/15. Details and reproduction in Why a skill on top of an MCP server.
Agents
Install
The skill is plain markdown in the open Agent Skills format. Every lane below installs the same skill; pick the one that fits your setup.
Any agent, one command
npx skills add extensiondev/skill
Installs into every agent detected on your machine. Use -g for user scope
instead of project scope, or -a claude-code (or -a cursor, -a copilot,
…) to target one agent.
Claude Code, native plugin flow
/plugin marketplace add extensiondev/skill
/plugin install extension-dev@extensiondev
The extension-dev plugin in plugin/ carries the skill and the
extension.dev MCP, pinned to one published version, with a manifest for
Codex, Cursor, Copilot CLI and Antigravity beside the Claude Code one, all
generated from scripts/plugin.source.json. Gemini CLI reads the
gemini-extension.json at the repository root (the same source generates
it) and finds the skill under skills/:
gemini extensions install https://github.com/extensiondev/skill
GitHub CLI
gh skill install extensiondev/skill browser-extension
npm, version-locked
The same skill ships inside the npm package, pinned to the package version,
so it can ride your dependency tree and update with npm update:
npm i -D @extension.dev/skill
The package declares the agents.skills field, so npm-aware skill
installers (for example skills-npm,
via a "prepare": "skills-npm" script) link it into your agents
automatically on install. Manual fallback for Claude Code:
cp -R node_modules/@extension.dev/skill/skills/browser-extension .claude/skills/
Agents without skills support
Add one line to your AGENTS.md (or CLAUDE.md):
For any browser-extension work, read .agents/skills/browser-extension/SKILL.md before writing code or running an extension.
Pair with extension.dev MCP
claude mcp add extension-dev npx @extension.dev/mcp
Your first prompt
After installing, try:
Create a browser extension that highlights every external link on a page.
It must work on Chrome and Firefox from a single codebase, and I want proof
it actually injects: inspect the live browser, do not just tell me it works.
A skill-equipped agent will scaffold from a template, write one prefixed
manifest instead of two, and verify injection with extension inspect or
the MCP inspection tools instead of declaring victory.
What’s inside
plugin/ The extension-dev plugin: the skill plus the MCP server, one manifest per client
skills/
browser-extension/
SKILL.md Triggering metadata + workflow + core rules
references/
templates.md 50+ template catalog as a pattern library
project-structure.md Layout, entry wiring, special folders, env vars
cross-browser.md chromium:/firefox: prefixes, API namespaces
api-gotchas.md Service worker lifetime, gestures, messaging
debugging.md inspect, --logs, act tools, element input, network stubs, assert, doctor
publishing.md Builds, zips, store checklist, publish, share, submit
store-md.md STORE.md convention, template, what gets submitted
migrating.md Bringing an existing webpack, Vite, gulp or pug build under the engine
migrating-from-frameworks.md Moving a project over from another extension framework
surface-popup.md Main surface is a toolbar popup (action)
surface-content.md Changing or reading web pages (content_scripts)
surface-sidepanel.md Main surface is a side panel or sidebar
surface-devtools.md Adding a DevTools panel (devtools_page)
surface-newtab.md Overriding the new tab page
surface-options.md Options page (options_ui)
The SKILL.md body stays small and always loads when the skill triggers; the agent reads only the reference file that matches the task at hand.
Why a skill on top of an MCP server
An MCP server can expose a live-DOM probe, but nothing makes an agent think to call it when a content script silently fails to inject. Skills shape behavior before any tool is called.
In the shipped benchmark (the first three tasks, cross-browser sidebar,
injection debugging and service worker state, five graded assertions each,
identical prompts), the skill run passed 15/15 assertions against 10/15
for a no-skill baseline; the fourth task, store readiness, was run later as
a single sample at 5/5 with the skill against 4/5 for the baseline. The
baseline hand-rolled per-browser manifests with
custom build scripts and debugged by opening four consoles manually; the
skill run produced a single prefixed manifest and an evidence-driven
debugging plan. The harness, fixtures, and assertion sets ship in evals/,
so the numbers are reproducible.
Accuracy and versioning
Engine facts in the references (prefix families, override semantics, canonical output naming, special folders, env prefix) are verified against the engine’s source, and the cross-browser reference carries the engine version it was verified against. Five test suites plus a spec check enforce this:
npm test
npx skills-ref validate skills/browser-extension
skill-structurevalidates frontmatter, reference links, the progressive-disclosure line budget, version sync across the plugin manifests, and copy conventions.conventions-syncasserts the documented conventions against an engine checkout (EXTENSION_JS_REPOenv var, or a siblingextension.jsdirectory) and skips when none is present. CI should check outextension-js/extension.jsalongside this repo so the suite never silently skips.mcp-syncasserts the stated tool count, everyextension_*name, and the CLI command and flag parity against the sibling MCP package and an engine checkout (EXTENSION_DEV_MCP_REPOandEXTENSION_JS_REPO, or sibling directories), skips those cells off CI when a source is missing, and never skips the check that no file names a private package. It also holds the MCP server pin: every plugin file starts the server at the version inscripts/plugin.source.json, and the live step fails when that version is not on npm or when the MCP checkout carries a newer version that npm already serves (npm run plugin:pin --moves it).framework-migrationasserts that SKILL.md routes a project from another extension framework to its reference by the project’s files, that the reference covers every construct the migration eval fixtures use, and that npm-facing files never name another framework.templates-syncasserts every template slug the skill recommends against the registry catalog (registry.extension.land/extension-dev/catalog/latest.jsonand the document it points at), and skips offline. It and the pin cells ofmcp-syncare the live reads: they run in their own CI step (npm run test:live), andnpm testskips them.npm testloadstest/setup/network-guard.preload.mjsfirst, so any other test that reaches a host fails by name.skills-ref validatechecks the skill against the open Agent Skills specification.
When the engine changes a documented convention, the sync test fails and names the reference file to update. Bump the version pin when re-verifying.
Contributing
The skill content is plain markdown; edit, run npm test, and open a pull
request. For changes to engine facts, include the engine source
reference that backs the claim. The eval harness in evals/ (prompts,
fixtures, assertions) is the regression suite for behavioral changes; see
the eval metadata files for the assertion sets.
The extension.dev stack
| Package | Use it to |
|---|---|
@extension.dev/mcp |
Give AI agents tools to build, run, debug, and publish extensions |
@extension.dev/artifact-integrity |
Check an artifact against a declared SHA-256 and gate CI on the result |
If the skill saves your agent a debugging session, a star on GitHub helps other extension developers find it.
Community
- Join the extension.dev Discord for help and feedback
- Browse production-ready templates at templates.extension.dev
- Follow the platform’s public packages on GitHub
- Report skill issues on GitHub
License
Apache-2.0 © 2026 Cezar Augusto and the extension.dev collaborators. See LICENSE.
Recommended Tools
Try a different keyword or remove a filter.
Install
npx skillfish add extensiondev/skill