@extension.dev/skill 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +23 -9
- package/CHANGELOG.md +258 -0
- package/README.md +51 -32
- package/package.json +8 -6
- package/skills/{extension-dev → browser-extension}/SKILL.md +132 -79
- package/skills/browser-extension/references/api-gotchas.md +213 -0
- package/skills/{extension-dev → browser-extension}/references/cross-browser.md +75 -21
- package/skills/{extension-dev → browser-extension}/references/debugging.md +60 -4
- package/skills/{extension-dev → browser-extension}/references/migrating-from-frameworks.md +1 -1
- package/skills/{extension-dev → browser-extension}/references/migrating.md +10 -4
- package/skills/{extension-dev → browser-extension}/references/project-structure.md +25 -3
- package/skills/{extension-dev → browser-extension}/references/publishing.md +16 -3
- package/skills/{extension-dev → browser-extension}/references/store-md.md +51 -5
- package/skills/{extension-dev → browser-extension}/references/surface-content.md +6 -0
- package/skills/{extension-dev → browser-extension}/references/surface-options.md +4 -0
- package/.claude-plugin/plugin.json +0 -24
- package/skills/extension-dev/references/api-gotchas.md +0 -107
- /package/skills/{extension-dev → browser-extension}/references/surface-devtools.md +0 -0
- /package/skills/{extension-dev → browser-extension}/references/surface-newtab.md +0 -0
- /package/skills/{extension-dev → browser-extension}/references/surface-popup.md +0 -0
- /package/skills/{extension-dev → browser-extension}/references/surface-sidepanel.md +0 -0
- /package/skills/{extension-dev → browser-extension}/references/templates.md +0 -0
|
@@ -1,25 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extensiondev",
|
|
3
|
+
"description": "Build, run, debug, test and ship Chrome, Firefox, Edge and Safari extensions from your AI agent.",
|
|
3
4
|
"owner": {
|
|
4
|
-
"name": "
|
|
5
|
+
"name": "extension.dev",
|
|
5
6
|
"email": "hello@extension.dev",
|
|
6
7
|
"url": "https://extension.dev"
|
|
7
8
|
},
|
|
8
9
|
"plugins": [
|
|
9
10
|
{
|
|
10
11
|
"name": "extension-dev",
|
|
11
|
-
"source": "./",
|
|
12
|
-
"description": "Build, debug, and
|
|
13
|
-
"version": "1.
|
|
14
|
-
"category": "development",
|
|
12
|
+
"source": "./plugin",
|
|
13
|
+
"description": "Build, run, debug, test and ship Chrome, Firefox, Edge and Safari extensions from your AI agent.",
|
|
14
|
+
"version": "1.4.0",
|
|
15
15
|
"author": {
|
|
16
|
-
"name": "
|
|
16
|
+
"name": "extension.dev",
|
|
17
|
+
"email": "hello@extension.dev",
|
|
18
|
+
"url": "https://extension.dev"
|
|
17
19
|
},
|
|
18
20
|
"homepage": "https://github.com/extensiondev/skill",
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
+
"repository": "https://github.com/extensiondev/skill",
|
|
22
|
+
"license": "Apache-2.0",
|
|
23
|
+
"keywords": [
|
|
24
|
+
"browser-extension",
|
|
25
|
+
"chrome-extension",
|
|
26
|
+
"firefox-addon",
|
|
27
|
+
"edge-extension",
|
|
28
|
+
"safari-web-extension",
|
|
29
|
+
"chrome-web-store",
|
|
30
|
+
"manifest-v3",
|
|
31
|
+
"webextension",
|
|
32
|
+
"cross-browser",
|
|
33
|
+
"agent-skill",
|
|
34
|
+
"mcp"
|
|
21
35
|
],
|
|
22
|
-
"
|
|
36
|
+
"category": "development"
|
|
23
37
|
}
|
|
24
38
|
]
|
|
25
39
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,263 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 1.4.0
|
|
6
|
+
|
|
7
|
+
- The plugin starts the MCP server at `@extension.dev/mcp@11.3.0`, the
|
|
8
|
+
release on npm since 2026-11-23. `npm run plugin:pin -- 11.3.0` moved the
|
|
9
|
+
pin and regenerated every plugin file from `scripts/plugin.source.json`.
|
|
10
|
+
- The Cursor manifest carries `"displayName": "extension.dev MCP"`, a field
|
|
11
|
+
Cursor's plugin schema defines, from `cursorDisplayName` in
|
|
12
|
+
`scripts/plugin.source.json`. The other manifests keep "extension.dev".
|
|
13
|
+
- The README badges are black and the plugin icons carry the black and
|
|
14
|
+
white mark, a white outline on a near-black tile.
|
|
15
|
+
- Ledger 900. The skill calls the server "extension.dev MCP", the name the
|
|
16
|
+
MCP gives itself in `server.json` and its `serverInfo` title: the README
|
|
17
|
+
link row, its stack bullet, install paragraph and pairing heading, the
|
|
18
|
+
plugin README, the `SKILL.md` companion line, the Safari MCP pairing
|
|
19
|
+
line in `cross-browser.md` and the plugin's long description. The package name `@extension.dev/mcp`, the plugin id
|
|
20
|
+
`extension-dev` and the plugin's display name "extension.dev" stay.
|
|
21
|
+
`mcp-sync` fails when one of those places drops the name or the MCP's
|
|
22
|
+
title moves.
|
|
23
|
+
- Three more descriptions lose the framework's name. The `package.json`
|
|
24
|
+
description is the skill's own line: "The Agent Skill that teaches your
|
|
25
|
+
AI agent to build, debug and publish browser extensions for Chrome,
|
|
26
|
+
Firefox, Edge and Safari." The marketplace's own description is the first
|
|
27
|
+
line every listing carries: "Build, run, debug, test and ship Chrome,
|
|
28
|
+
Firefox, Edge and Safari extensions from your AI agent." The plugin's
|
|
29
|
+
long description opens "extension.dev is the platform where browser
|
|
30
|
+
extensions ship." and no longer names the framework they are built with.
|
|
31
|
+
- The plugin's description is the one first line every listing carries:
|
|
32
|
+
"Build, run, debug, test and ship Chrome, Firefox, Edge and Safari
|
|
33
|
+
extensions from your AI agent." The tail "on the extension.dev platform
|
|
34
|
+
with the Extension.js framework" leaves `scripts/plugin.source.json` and
|
|
35
|
+
the eight manifests generated from it.
|
|
36
|
+
- The README shows the four browsers in place of the platform logo, level
|
|
37
|
+
with the install line beside it, and opens with one paragraph that says
|
|
38
|
+
what the skill is and which agents it serves. Its prose no longer names
|
|
39
|
+
the framework: it says "the engine", and only the link in the link row,
|
|
40
|
+
the `extension` command, the `extension.js` checkout the sync tests read
|
|
41
|
+
and its repository name stay as written. The stack section's closing line
|
|
42
|
+
is gone and the Community list points skill issues at this repository.
|
|
43
|
+
- The release no longer rewrites the README image width.
|
|
44
|
+
`scripts/readme-logo-width.mjs`, the `prepack` and `postpack` scripts that
|
|
45
|
+
called it and its step in the release workflow are gone: the image is
|
|
46
|
+
sized by one percentage on GitHub and npm.
|
|
47
|
+
- WebAssembly guidance, which the skill had none of: no match for
|
|
48
|
+
WebAssembly, `wasm`, `'wasm-unsafe-eval'` or remotely hosted code, while
|
|
49
|
+
"no remote code" and "CSP intact" could be read as forbidding the grant a
|
|
50
|
+
WebAssembly extension needs. Core rule 2 in `SKILL.md` now says an
|
|
51
|
+
extension page or service worker that compiles a `.wasm` module adds
|
|
52
|
+
`'wasm-unsafe-eval'` to `content_security_policy.extension_pages` (never
|
|
53
|
+
`'unsafe-eval'`), ships the binary inside the package through
|
|
54
|
+
`new URL("./file.wasm", import.meta.url)` instead of a CDN at run time,
|
|
55
|
+
and compiles in the background or an extension page, never in a content
|
|
56
|
+
script. The API gotchas reference carries the exact Chromium error (it
|
|
57
|
+
names `'wasm-eval'`, which no manifest accepts), the manifest line, the
|
|
58
|
+
packaging rule and the content script limit, measured on Chromium 156
|
|
59
|
+
and Extension.js 4.1.41, with the Firefox MV3 requirement as MDN
|
|
60
|
+
documents it. Store readiness item 4 says the grant stays, and the
|
|
61
|
+
STORE.md maintenance rules say to record it as a bullet under
|
|
62
|
+
`### Permissions justification` and in the Firefox reviewer notes.
|
|
63
|
+
- The skill's description also says to load it before running, loading,
|
|
64
|
+
opening or inspecting an extension in a browser and before reporting what
|
|
65
|
+
it did (scripts that ran, storage, logs), and adds "run" and "check" to
|
|
66
|
+
the asks it names; every earlier trigger stays, in 1012 of the 1024
|
|
67
|
+
characters the spec allows. On the five live-session tasks of the
|
|
68
|
+
2026-11-18 sweep the skill loaded in 0 of 15 runs, so the rule against
|
|
69
|
+
loading `src/` was never read and 4 of 5 runs still loaded it. The README
|
|
70
|
+
line for agents without skills support names running an extension too.
|
|
71
|
+
- Five rules from the 2026-11-18 eval triage, each stated in `SKILL.md` at
|
|
72
|
+
the step where the agent decides (no run in that sweep opened a
|
|
73
|
+
reference file) with the detail in the references. Core rule 12 and the
|
|
74
|
+
content script and options references say a content script cannot
|
|
75
|
+
`await` at its top level, because it is a classic script and the build
|
|
76
|
+
refuses it; 4 runs wrote one after reading "No `.then()` chains". Step 5
|
|
77
|
+
and the project structure reference say a missing `node_modules` is no
|
|
78
|
+
reason to skip the build: install, or run the pinned engine through
|
|
79
|
+
`npx`; 9 of 9 runs on one task reported without building. Step 4 and the
|
|
80
|
+
cross-browser and debugging references say never to load `src/` into a
|
|
81
|
+
browser and to load `dist/<browser>`; 4 runs loaded `src/` and concluded
|
|
82
|
+
nothing ran. Core rule 11 and the store readiness checklist say a
|
|
83
|
+
128x128 PNG on disk that `icons` does not declare is declared and
|
|
84
|
+
rebuilt, and only when none exists a plain placeholder is saved at
|
|
85
|
+
`icons/icon-128.png`, declared and reported to the owner (owner ruling
|
|
86
|
+
of 2026-11-18, the wording the MCP server answers with); 2 runs left the
|
|
87
|
+
file undeclared for the owner. Step 3 and the cross-browser reference
|
|
88
|
+
say Firefox's `menus` permission grants only the `menus` namespace, so
|
|
89
|
+
`contextMenus` stays in the permissions when the code calls it.
|
|
90
|
+
- The agent writes the Firefox add-on ID. When a manifest bound for Firefox
|
|
91
|
+
has no `browser_specific_settings.gecko.id`, `SKILL.md` step 3 and the
|
|
92
|
+
cross-browser, migrating and STORE.md references say to write a
|
|
93
|
+
provisional `<project-name>@<domain>` under the `firefox:` prefix, tell
|
|
94
|
+
the owner it locks at the first Firefox submission and record it in
|
|
95
|
+
STORE.md as provisional until the owner confirms it (owner ruling of
|
|
96
|
+
2026-11-18). The data declaration stays the owner's and is stated apart
|
|
97
|
+
from the ID. In the 2026-11-18 `firefox-port` runs the skill arm left the
|
|
98
|
+
ID out in 4 of 5 and the MCP plus skill arm in 3 of 5, with "Both are
|
|
99
|
+
your decision as the owner"; `SKILL.md`, the only skill text those runs
|
|
100
|
+
read, named the ID nowhere and the owner's declaration twice.
|
|
101
|
+
- cross-browser.md's Firefox data collection example names no value: the
|
|
102
|
+
block shows a placeholder for the categories the owner declares, and the
|
|
103
|
+
text no longer maps an extension type to categories (owner ruling of
|
|
104
|
+
2026-11-17: no doc names a value).
|
|
105
|
+
- cross-browser.md no longer says templates ship Firefox's
|
|
106
|
+
`data_collection_permissions` by default (owner ruling of 2026-11-17: no
|
|
107
|
+
default, the owner declares); a `"none"` block a project started with is
|
|
108
|
+
shown to the owner as awaiting their answer.
|
|
109
|
+
- The project structure reference says to set `"moduleDetection": "force"`
|
|
110
|
+
in `tsconfig.json`, or to end an import-less script with `export {}`. In
|
|
111
|
+
the 2026-11-17 sweep every hand-written TypeScript sidebar declared a
|
|
112
|
+
top-level `const status` in a script with no import and failed the type
|
|
113
|
+
check with TS2451 against the DOM lib's global.
|
|
114
|
+
|
|
115
|
+
- The skill's description says to load it before writing or editing any
|
|
116
|
+
extension file, even for a small change and even when the extension.dev
|
|
117
|
+
MCP tools are connected, and names the asks it had left out: "build",
|
|
118
|
+
"make", "fix" or "change" an extension, and a move to Manifest V3. In the
|
|
119
|
+
2026-11-17 sweep the skill loaded in 10 of 10 runs on two tasks when it
|
|
120
|
+
was alone and in 0 of 10 when the MCP server was connected beside it, and
|
|
121
|
+
in 0 of 20 on two edit-in-place tasks either way.
|
|
122
|
+
|
|
123
|
+
- The "did my content script inject?" row and the debugging playbook name
|
|
124
|
+
the MCP `extension_dom_snapshot` beside `extension inspect` and
|
|
125
|
+
`extension_inspect` for reading what a content script injected, and the
|
|
126
|
+
`--max-bytes` line matches what `extension inspect --help` prints on
|
|
127
|
+
4.1.41. The 2026-11-17 sweep graded 4 of 5 plans as missing the inspect
|
|
128
|
+
step; all 5 had it, spelled `npx extension@latest inspect`, and the
|
|
129
|
+
`injection-debugging` eval now says that spelling counts.
|
|
130
|
+
|
|
131
|
+
- `SKILL.md` drops the sentences it said twice, so the two rules added
|
|
132
|
+
after the 2026-11-17 sweep cost no length: the `extras` note repeated in
|
|
133
|
+
the MCP-only list and the doctor paragraph, the second "stop the session"
|
|
134
|
+
line and its table row, the second pointer to the debugging reference and
|
|
135
|
+
the closing line on shell fallbacks. Each still stands once in `SKILL.md`
|
|
136
|
+
or in `references/debugging.md`.
|
|
137
|
+
|
|
138
|
+
- Getting ready for a store has its own workflow step. An eval sweep of
|
|
139
|
+
2026-11-17 saw 8 of 10 runs with the skill write a flat `STORE.md` and 4
|
|
140
|
+
add Firefox's `data_collection_permissions`, one of them after the build
|
|
141
|
+
warned that AMO requires it; only the runs that opened
|
|
142
|
+
`references/store-md.md` got both right. Step 8 names the file's shape
|
|
143
|
+
(the shared sections, then one `##` section per store) with the pointer to
|
|
144
|
+
the reference, and states the owner rule with its reason: every data-use
|
|
145
|
+
and privacy declaration is one the owner certifies, so the agent quotes
|
|
146
|
+
the code facts and asks. `references/store-md.md` opens with the same
|
|
147
|
+
rule, and its template leaves the privacy rows as `TODO (owner)`.
|
|
148
|
+
|
|
149
|
+
- A new extension starts from the scaffold by any phrasing. An eval sweep of
|
|
150
|
+
2026-11-17 saw agents load the skill and still write a root
|
|
151
|
+
`manifest.json` with no `package.json` for "create an extension that ...":
|
|
152
|
+
step 2 said "Only the manifest is required" and core rule 1 said to start
|
|
153
|
+
every project at `manifest.json`. Step 1 now says to run
|
|
154
|
+
`extension create` (MCP `extension_create`) whatever the ask is called,
|
|
155
|
+
why a lone root manifest cannot be built or verified, and that a
|
|
156
|
+
hand-written project keeps the scaffold's layout; step 2 and core rule 1
|
|
157
|
+
name `src/manifest.json`. The `cross-browser-sidebar` eval asserts the
|
|
158
|
+
root `package.json`.
|
|
159
|
+
|
|
160
|
+
- Ledger 892. The plugin starts the MCP server at `@extension.dev/mcp@11.1.0`
|
|
161
|
+
(it was 10.22.0, from before the hosted move). `mcp-sync` now holds the
|
|
162
|
+
pin: every plugin file names the version in `scripts/plugin.source.json`,
|
|
163
|
+
and the live CI step fails when that version is not on npm, or when the
|
|
164
|
+
MCP checkout carries a newer version that npm already serves. A newer
|
|
165
|
+
version that is not published yet passes with a note.
|
|
166
|
+
`npm run plugin:pin -- <version>` moves the pin and regenerates the files.
|
|
167
|
+
|
|
168
|
+
- Ledger 886. The skill follows the MCP's three feature groups. Every place
|
|
169
|
+
that names `extension_network` or `extension_theme_verify` says the tool is
|
|
170
|
+
listed only when `extras` is in `--features`
|
|
171
|
+
(`--features=local,platform,extras`), and the core rules say to name that
|
|
172
|
+
value when either is missing or answers `E_TOOL_DISABLED`. The
|
|
173
|
+
`extension_try` write-off places it in the platform group. The three build
|
|
174
|
+
acts (`rebuild`, `configure`, `create-channel`) are taught on
|
|
175
|
+
`extension_builds_act`, which the MCP split from `extension_builds`.
|
|
176
|
+
|
|
177
|
+
- Ledger 823. The core rules and
|
|
178
|
+
`references/api-gotchas.md` now carry the rules the skill had skipped:
|
|
179
|
+
`chrome.alarms` over timers, `permissions.request()` in the clicked page's
|
|
180
|
+
handler before any `await`, `action.onClicked` and `default_popup`, the
|
|
181
|
+
`openPanelOnActionClick` key, yielding between DOM batches, one offscreen
|
|
182
|
+
document, a state lock for exclusive resources, and a section on the APIs
|
|
183
|
+
not every browser ships (Prompt API, capture, user scripts, identity and
|
|
184
|
+
the manifest `key`). The dynamic code line records a measurement on
|
|
185
|
+
Chromium 143: only the manifest sandbox page ran an inline script.
|
|
186
|
+
`references/store-md.md` says to fold a `CHROMEWEBSTORE.md` into
|
|
187
|
+
`STORE.md`, the file the submission reads.
|
|
188
|
+
|
|
189
|
+
- Ledger 766. The test lane runs under a network guard
|
|
190
|
+
(`test/setup/network-guard.preload.mjs`, loaded with `--import`): a test
|
|
191
|
+
that reaches a host fails by name, also when the caller swallowed the
|
|
192
|
+
refusal. The registry catalog read in `templates-sync` is the one live
|
|
193
|
+
read; it runs in its own CI step and `npm test` skips it.
|
|
194
|
+
|
|
195
|
+
- Ledger 559. The skill no longer teaches the Chrome store icon as 96x96
|
|
196
|
+
artwork inside a 16 px transparent margin. The STORE.md reference names
|
|
197
|
+
the store icon as the 128x128 px PNG from the manifest icons, the size
|
|
198
|
+
Chrome requires, and says nothing about how the logo is drawn, matching
|
|
199
|
+
the MCP, which stopped commenting on icon art.
|
|
200
|
+
|
|
201
|
+
- Ledger 551. The skill teaches `extension_element` (click, fill, read or
|
|
202
|
+
wait on one element, and trusted mouse and keyboard input over the
|
|
203
|
+
session's debug port, Chromium only, no `allowEval`) and
|
|
204
|
+
`extension_network` (stub a response by rule on a Chromium session, list
|
|
205
|
+
or clear the rules, read which requests hit or missed) beside the other
|
|
206
|
+
local verbs: the MCP-only list, the verify table and the ask table in
|
|
207
|
+
SKILL.md, and two sections in `references/debugging.md` with the call
|
|
208
|
+
shape and the limits each tool states. Both leave `NOT_TAUGHT` in
|
|
209
|
+
`test/mcp-sync.test.mjs`, so the registry cell holds the skill to them
|
|
210
|
+
from now on.
|
|
211
|
+
- Ledger 550. `test/mcp-sync.test.mjs` reads the live tool registry from the
|
|
212
|
+
MCP checkout's `docs/tools.json`, the file the MCP's own
|
|
213
|
+
`docs-match-the-code` test keeps equal to the tool array, instead of a
|
|
214
|
+
README table the MCP no longer carries; the two registry cells had failed
|
|
215
|
+
with "no tool rows found" since that README rewrite. The MCP checkout is
|
|
216
|
+
found at the `mcp` sibling (`public/mcp` beside `public/skill` in the
|
|
217
|
+
monorepo since 2026-11-12, or a sibling clone) or through
|
|
218
|
+
`EXTENSION_DEV_MCP_REPO`; the `public-extensiondev-mcp` candidate is gone.
|
|
219
|
+
Reading the registry again showed `extension_element` and
|
|
220
|
+
`extension_network` registered and untaught, so both are written off in
|
|
221
|
+
`NOT_TAUGHT` with the reason until the skill teaches them, and the
|
|
222
|
+
`extension_try` write-off now says the published MCP serves it.
|
|
223
|
+
|
|
224
|
+
- Ledger 524. The skill is `browser-extension`: the folder is
|
|
225
|
+
`skills/browser-extension`, the frontmatter `name` matches, and the
|
|
226
|
+
description says in the words people type what it does (builds, runs,
|
|
227
|
+
debugs, tests and ships Chrome, Firefox, Edge and Safari extensions) and
|
|
228
|
+
when to load it (Chrome Web Store, Edge Add-ons, Firefox Add-ons, the App
|
|
229
|
+
Store, a review rejection, a privacy policy, the manifest, a service
|
|
230
|
+
worker, a content script, a popup), naming extension.dev as the platform
|
|
231
|
+
and Extension.js as the framework. No prose states a tool count or a
|
|
232
|
+
pinned MCP version any more, and `test/mcp-sync.test.mjs` now fails on
|
|
233
|
+
one. An install made under the old name keeps working but gets no
|
|
234
|
+
updates: the skills CLI resolves a locked skill by its recorded path and
|
|
235
|
+
then by its name, and the rename moved both, so `npx skills update`
|
|
236
|
+
reports it as deleted upstream and offers to remove it; re-add with
|
|
237
|
+
`npx skills add extensiondev/skill`.
|
|
238
|
+
- Ledger 523. One `extension-dev` plugin, in `plugin/`, replaces the two
|
|
239
|
+
plugins the skill and the MCP server shipped: it carries the skill and the
|
|
240
|
+
`@extension.dev/mcp` launcher pinned to an exact published version, with
|
|
241
|
+
`displayName`, the documentation, support, privacy and terms URLs, and one
|
|
242
|
+
manifest per client (Claude Code, Codex and ChatGPT through the Agent
|
|
243
|
+
Plugins layout, Cursor, Copilot CLI, Antigravity), all generated from
|
|
244
|
+
`scripts/plugin.source.json` by `npm run plugin:build`; `npm run
|
|
245
|
+
plugin:check` and `test/skill-structure.test.mjs` fail when the folder
|
|
246
|
+
drifts, CI runs `claude plugin validate --strict` on the plugin and on the
|
|
247
|
+
marketplace, and the release workflow runs `npm run plugin:pin` so each
|
|
248
|
+
release moves the launcher to the server version npm serves. The
|
|
249
|
+
marketplace entry no longer sets `strict: false` beside a `skills` list.
|
|
250
|
+
The standalone installs, `npx skills add extensiondev/skill` and
|
|
251
|
+
`npx @extension.dev/mcp`, are unchanged. The approved 512 px brand mark
|
|
252
|
+
lives at `assets/icon-512.png` and the generator copies it into the plugin
|
|
253
|
+
as the icon every manifest names.
|
|
254
|
+
- Ledger 528. The generator also writes `gemini-extension.json` at the
|
|
255
|
+
repository root (`name`, `version`, `description`, `mcpServers` with the
|
|
256
|
+
same pinned launcher) in the shape of Gemini CLI's extension reference;
|
|
257
|
+
Gemini CLI installs the repository as a whole and discovers the skill
|
|
258
|
+
under `skills/` on its own, so no context file is needed. The GitHub topic
|
|
259
|
+
`gemini-cli-extension` is a separate step.
|
|
260
|
+
|
|
3
261
|
## 1.3.0
|
|
4
262
|
|
|
5
263
|
- The `store-readiness` eval follows Cezar's ruling of 2026-11-01: the agent
|
package/README.md
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
[npm-version-image]: https://img.shields.io/npm/v/@extension.dev/skill.svg?color=
|
|
1
|
+
[npm-version-image]: https://img.shields.io/npm/v/@extension.dev/skill.svg?color=000000
|
|
2
2
|
[npm-version-url]: https://www.npmjs.com/package/@extension.dev/skill
|
|
3
|
-
[action-image]: https://github.com/extensiondev/skill/actions/workflows/ci.yml/badge.svg?branch=main&color=
|
|
3
|
+
[action-image]: https://github.com/extensiondev/skill/actions/workflows/ci.yml/badge.svg?branch=main&color=000000
|
|
4
4
|
[action-url]: https://github.com/extensiondev/skill/actions
|
|
5
|
-
[discord-image]: https://img.shields.io/discord/1253608412890271755?label=Discord&logo=discord&style=flat&color=
|
|
5
|
+
[discord-image]: https://img.shields.io/discord/1253608412890271755?label=Discord&logo=discord&style=flat&color=000000
|
|
6
6
|
[discord-url]: https://discord.gg/v9h2RgeTSN
|
|
7
7
|
|
|
8
|
-
# @extension.dev/skill [![Version][npm-version-image]][npm-version-url] [](https://skills.sh/extensiondev/skill/extension
|
|
8
|
+
# @extension.dev/skill [![Version][npm-version-image]][npm-version-url] [](https://skills.sh/extensiondev/skill/browser-extension) [![CI][action-image]][action-url] [![Discord][discord-image]][discord-url]
|
|
9
9
|
|
|
10
10
|
> 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.
|
|
11
11
|
|
|
12
|
-
<img alt="
|
|
12
|
+
<img alt="Chrome, Edge, Firefox and Safari" align="right" src="https://raw.githubusercontent.com/extensiondev/skill/main/assets/browsers.svg" width="22%" />
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npx skills add extensiondev/skill
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
@extension.dev/skill is an Agent Skill for Claude Code, Cursor, GitHub Copilot, Codex, Windsurf and any agent that supports the open [Agent Skills](https://agentskills.io) format. Your agent learns to build, debug and publish one extension for every browser.
|
|
19
19
|
|
|
20
|
-
[Documentation](https://extension.dev) · [MCP
|
|
20
|
+
[Documentation](https://extension.dev) · [extension.dev MCP](https://www.npmjs.com/package/@extension.dev/mcp) · [Extension.js](https://extension.js.org) · [Discord](https://discord.gg/v9h2RgeTSN)
|
|
21
21
|
|
|
22
22
|
## Why @extension.dev/skill
|
|
23
23
|
|
|
24
|
-
Powered by [extension.dev](https://extension.dev)
|
|
25
|
-
[Extension.js](https://extension.js.org) framework, this is the knowledge
|
|
24
|
+
Powered by [extension.dev](https://extension.dev), this is the knowledge
|
|
26
25
|
half of the extension.dev agent stack:
|
|
27
26
|
|
|
28
|
-
- **[
|
|
29
|
-
gives agents *hands*:
|
|
30
|
-
inspection, log streaming, asserting expectations
|
|
31
|
-
extension, publishing, store submission, and headless
|
|
27
|
+
- **[extension.dev MCP](https://www.npmjs.com/package/@extension.dev/mcp)**
|
|
28
|
+
(`@extension.dev/mcp`) gives agents *hands*: MCP tools for scaffolding,
|
|
29
|
+
building, live DOM inspection, log streaming, asserting expectations
|
|
30
|
+
against a running extension, publishing, store submission, and headless
|
|
31
|
+
release promotion.
|
|
32
32
|
- **@extension.dev/skill** gives agents *judgment*: when to use which tool,
|
|
33
33
|
the cross-browser rules, the silent-failure gotchas, and the publish
|
|
34
34
|
checklist, packaged in the open [Agent Skills](https://agentskills.io)
|
|
@@ -77,10 +77,21 @@ instead of project scope, or `-a claude-code` (or `-a cursor`, `-a copilot`,
|
|
|
77
77
|
/plugin install extension-dev@extensiondev
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
+
The `extension-dev` plugin in [`plugin/`](plugin/) carries the skill and the
|
|
81
|
+
extension.dev MCP, pinned to one published version, with a manifest for
|
|
82
|
+
Codex, Cursor, Copilot CLI and Antigravity beside the Claude Code one, all
|
|
83
|
+
generated from `scripts/plugin.source.json`. Gemini CLI reads the
|
|
84
|
+
`gemini-extension.json` at the repository root (the same source generates
|
|
85
|
+
it) and finds the skill under `skills/`:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
gemini extensions install https://github.com/extensiondev/skill
|
|
89
|
+
```
|
|
90
|
+
|
|
80
91
|
### GitHub CLI
|
|
81
92
|
|
|
82
93
|
```bash
|
|
83
|
-
gh skill install extensiondev/skill extension
|
|
94
|
+
gh skill install extensiondev/skill browser-extension
|
|
84
95
|
```
|
|
85
96
|
|
|
86
97
|
### npm, version-locked
|
|
@@ -98,7 +109,7 @@ via a `"prepare": "skills-npm"` script) link it into your agents
|
|
|
98
109
|
automatically on install. Manual fallback for Claude Code:
|
|
99
110
|
|
|
100
111
|
```bash
|
|
101
|
-
cp -R node_modules/@extension.dev/skill/skills/extension
|
|
112
|
+
cp -R node_modules/@extension.dev/skill/skills/browser-extension .claude/skills/
|
|
102
113
|
```
|
|
103
114
|
|
|
104
115
|
### Agents without skills support
|
|
@@ -106,10 +117,10 @@ cp -R node_modules/@extension.dev/skill/skills/extension-dev .claude/skills/
|
|
|
106
117
|
Add one line to your `AGENTS.md` (or `CLAUDE.md`):
|
|
107
118
|
|
|
108
119
|
```
|
|
109
|
-
For any browser-extension work, read .agents/skills/extension
|
|
120
|
+
For any browser-extension work, read .agents/skills/browser-extension/SKILL.md before writing code or running an extension.
|
|
110
121
|
```
|
|
111
122
|
|
|
112
|
-
### Pair with
|
|
123
|
+
### Pair with extension.dev MCP
|
|
113
124
|
|
|
114
125
|
```bash
|
|
115
126
|
claude mcp add extension-dev npx @extension.dev/mcp
|
|
@@ -132,15 +143,16 @@ the MCP inspection tools instead of declaring victory.
|
|
|
132
143
|
## What's inside
|
|
133
144
|
|
|
134
145
|
```
|
|
146
|
+
plugin/ The extension-dev plugin: the skill plus the MCP server, one manifest per client
|
|
135
147
|
skills/
|
|
136
|
-
extension
|
|
148
|
+
browser-extension/
|
|
137
149
|
SKILL.md Triggering metadata + workflow + core rules
|
|
138
150
|
references/
|
|
139
151
|
templates.md 50+ template catalog as a pattern library
|
|
140
152
|
project-structure.md Layout, entry wiring, special folders, env vars
|
|
141
153
|
cross-browser.md chromium:/firefox: prefixes, API namespaces
|
|
142
154
|
api-gotchas.md Service worker lifetime, gestures, messaging
|
|
143
|
-
debugging.md inspect, --logs, act tools, assert, doctor
|
|
155
|
+
debugging.md inspect, --logs, act tools, element input, network stubs, assert, doctor
|
|
144
156
|
publishing.md Builds, zips, store checklist, publish, share, submit
|
|
145
157
|
store-md.md STORE.md convention, template, what gets submitted
|
|
146
158
|
migrating.md Bringing an existing webpack, Vite, gulp or pug build under the engine
|
|
@@ -175,47 +187,56 @@ so the numbers are reproducible.
|
|
|
175
187
|
|
|
176
188
|
## Accuracy and versioning
|
|
177
189
|
|
|
178
|
-
|
|
190
|
+
Engine facts in the references (prefix families, override semantics,
|
|
179
191
|
canonical output naming, special folders, env prefix) are verified against
|
|
180
|
-
the
|
|
181
|
-
|
|
192
|
+
the engine's source, and the cross-browser reference carries the engine
|
|
193
|
+
version it was verified against. Five test suites plus a spec check enforce
|
|
182
194
|
this:
|
|
183
195
|
|
|
184
196
|
```bash
|
|
185
197
|
npm test
|
|
186
|
-
npx skills-ref validate skills/extension
|
|
198
|
+
npx skills-ref validate skills/browser-extension
|
|
187
199
|
```
|
|
188
200
|
|
|
189
201
|
- `skill-structure` validates frontmatter, reference links, the
|
|
190
202
|
progressive-disclosure line budget, version sync across the plugin
|
|
191
203
|
manifests, and copy conventions.
|
|
192
204
|
- `conventions-sync` asserts the documented conventions against an
|
|
193
|
-
|
|
205
|
+
engine checkout (`EXTENSION_JS_REPO` env var, or a sibling
|
|
194
206
|
`extension.js` directory) and skips when none is present. CI should check
|
|
195
|
-
out [extension-js/extension.js](https://github.com/extension-js/extension.js)
|
|
207
|
+
out [`extension-js/extension.js`](https://github.com/extension-js/extension.js)
|
|
196
208
|
alongside this repo so the suite never silently skips.
|
|
197
209
|
- `mcp-sync` asserts the stated tool count, every `extension_*` name, and
|
|
198
210
|
the CLI command and flag parity against the sibling MCP package and an
|
|
199
|
-
|
|
211
|
+
engine checkout (`EXTENSION_DEV_MCP_REPO` and `EXTENSION_JS_REPO`,
|
|
200
212
|
or sibling directories), skips those cells off CI when a source is
|
|
201
213
|
missing, and never skips the check that no file names a private package.
|
|
214
|
+
It also holds the MCP server pin: every plugin file starts the server at
|
|
215
|
+
the version in `scripts/plugin.source.json`, and the live step fails when
|
|
216
|
+
that version is not on npm or when the MCP checkout carries a newer
|
|
217
|
+
version that npm already serves (`npm run plugin:pin -- <version>` moves
|
|
218
|
+
it).
|
|
202
219
|
- `framework-migration` asserts that SKILL.md routes a project from another
|
|
203
220
|
extension framework to its reference by the project's files, that the
|
|
204
221
|
reference covers every construct the migration eval fixtures use, and
|
|
205
222
|
that npm-facing files never name another framework.
|
|
206
223
|
- `templates-sync` asserts every template slug the skill recommends against
|
|
207
224
|
the registry catalog (`registry.extension.land/extension-dev/catalog/latest.json`
|
|
208
|
-
and the document it points at), and skips offline.
|
|
225
|
+
and the document it points at), and skips offline. It and the pin cells
|
|
226
|
+
of `mcp-sync` are the live reads: they run in their own CI step
|
|
227
|
+
(`npm run test:live`), and `npm test` skips them.
|
|
228
|
+
- `npm test` loads `test/setup/network-guard.preload.mjs` first, so any
|
|
229
|
+
other test that reaches a host fails by name.
|
|
209
230
|
- `skills-ref validate` checks the skill against the open Agent Skills
|
|
210
231
|
specification.
|
|
211
232
|
|
|
212
|
-
When
|
|
233
|
+
When the engine changes a documented convention, the sync test fails and
|
|
213
234
|
names the reference file to update. Bump the version pin when re-verifying.
|
|
214
235
|
|
|
215
236
|
## Contributing
|
|
216
237
|
|
|
217
238
|
The skill content is plain markdown; edit, run `npm test`, and open a pull
|
|
218
|
-
request. For changes to
|
|
239
|
+
request. For changes to engine facts, include the engine source
|
|
219
240
|
reference that backs the claim. The eval harness in `evals/` (prompts,
|
|
220
241
|
fixtures, assertions) is the regression suite for behavioral changes; see
|
|
221
242
|
the eval metadata files for the assertion sets.
|
|
@@ -227,8 +248,6 @@ the eval metadata files for the assertion sets.
|
|
|
227
248
|
| [`@extension.dev/mcp`](https://www.npmjs.com/package/@extension.dev/mcp) | Give AI agents tools to build, run, debug, and publish extensions |
|
|
228
249
|
| [`@extension.dev/artifact-integrity`](https://www.npmjs.com/package/@extension.dev/artifact-integrity) | Check an artifact against a declared SHA-256 and gate CI on the result|
|
|
229
250
|
|
|
230
|
-
All of it rides on [Extension.js](https://github.com/extension-js/extension.js), the open-source cross-browser extension framework.
|
|
231
|
-
|
|
232
251
|
If the skill saves your agent a debugging session, a
|
|
233
252
|
[star on GitHub](https://github.com/extensiondev/skill) helps other
|
|
234
253
|
extension developers find it.
|
|
@@ -238,7 +257,7 @@ extension developers find it.
|
|
|
238
257
|
- Join the extension.dev [Discord](https://discord.gg/v9h2RgeTSN) for help and feedback
|
|
239
258
|
- Browse production-ready templates at [templates.extension.dev](https://templates.extension.dev)
|
|
240
259
|
- Follow the platform's public packages on [GitHub](https://github.com/extensiondev)
|
|
241
|
-
- Report
|
|
260
|
+
- Report skill issues on [GitHub](https://github.com/extensiondev/skill/issues)
|
|
242
261
|
|
|
243
262
|
## License
|
|
244
263
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extension.dev/skill",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"description": "Agent Skill that teaches AI
|
|
4
|
+
"version": "1.4.0",
|
|
5
|
+
"description": "The Agent Skill that teaches your AI agent to build, debug and publish browser extensions for Chrome, Firefox, Edge and Safari.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Cezar Augusto",
|
|
@@ -32,14 +32,16 @@
|
|
|
32
32
|
],
|
|
33
33
|
"agents": {
|
|
34
34
|
"skills": [
|
|
35
|
-
"./skills/extension
|
|
35
|
+
"./skills/browser-extension"
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
|
-
"prepack": "node scripts/readme-logo-width.mjs npm",
|
|
40
|
-
"postpack": "node scripts/readme-logo-width.mjs github",
|
|
41
39
|
"lint": "eslint .",
|
|
42
|
-
"
|
|
40
|
+
"plugin:build": "node scripts/build-plugin.mjs",
|
|
41
|
+
"plugin:check": "node scripts/build-plugin.mjs --check",
|
|
42
|
+
"plugin:pin": "node scripts/build-plugin.mjs --pin",
|
|
43
|
+
"test": "node --test --import ./test/setup/network-guard.preload.mjs test/*.test.mjs",
|
|
44
|
+
"test:live": "SKILL_LIVE_REGISTRY=1 node --test test/templates-sync.test.mjs test/mcp-sync.test.mjs"
|
|
43
45
|
},
|
|
44
46
|
"publishConfig": {
|
|
45
47
|
"access": "public",
|