@extension.dev/skill 0.5.1 → 1.0.1
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 +2 -2
- package/.claude-plugin/plugin.json +2 -2
- package/CHANGELOG.md +131 -2
- package/LICENSE +201 -21
- package/README.md +52 -16
- package/package.json +15 -7
- package/skills/extension-dev/SKILL.md +111 -29
- package/skills/extension-dev/references/cross-browser.md +49 -33
- package/skills/extension-dev/references/debugging.md +149 -48
- package/skills/extension-dev/references/migrating.md +72 -0
- package/skills/extension-dev/references/project-structure.md +42 -6
- package/skills/extension-dev/references/publishing.md +186 -26
- package/skills/extension-dev/references/store-md.md +19 -5
- package/skills/extension-dev/references/surface-content.md +54 -0
- package/skills/extension-dev/references/surface-devtools.md +49 -0
- package/skills/extension-dev/references/surface-newtab.md +44 -0
- package/skills/extension-dev/references/surface-options.md +41 -0
- package/skills/extension-dev/references/surface-popup.md +44 -0
- package/skills/extension-dev/references/surface-sidepanel.md +52 -0
- package/skills/extension-dev/references/templates.md +8 -5
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
{
|
|
10
10
|
"name": "extension-dev",
|
|
11
11
|
"source": "./",
|
|
12
|
-
"description": "Build, debug, and publish cross-browser extensions (Chrome, Edge, Firefox, and any Chromium- or Gecko-based browser
|
|
13
|
-
"version": "0.
|
|
12
|
+
"description": "Build, debug, and publish cross-browser extensions (Chrome, Edge, Firefox, Safari, and any Chromium- or Gecko-based browser): Manifest V3 gotchas, chromium:/firefox: manifest prefixes, live-browser verification playbooks, and store publishing checklists.",
|
|
13
|
+
"version": "1.0.1",
|
|
14
14
|
"category": "development",
|
|
15
15
|
"author": {
|
|
16
16
|
"name": "Cezar Augusto"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extension-dev",
|
|
3
3
|
"description": "Cross-browser extension development skill: Manifest V3 gotchas, chromium:/firefox: manifest prefixes, live-browser verification playbooks, and store publishing checklists for the extension.dev / Extension.js stack.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cezar Augusto",
|
|
7
7
|
"email": "hello@extension.dev",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://github.com/extensiondev/skill",
|
|
11
11
|
"repository": "https://github.com/extensiondev/skill",
|
|
12
|
-
"license": "
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"agent-skill",
|
|
15
15
|
"browser-extension",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,134 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
- `references/publishing.md` teaches the `projects` input on
|
|
6
|
+
`extension_project_create` and on `extension_auth` login: one approval for
|
|
7
|
+
several projects in one workspace, the exact-slug rule, the cap of 10
|
|
8
|
+
creates per approval (ten now, the next ten once the hourly limit
|
|
9
|
+
allows), the `creating` resume loop and how to read the per-project
|
|
10
|
+
rows. It needs `@extension.dev/mcp` 10.10.9 and a
|
|
11
|
+
platform that accepts a list.
|
|
12
|
+
|
|
13
|
+
## 1.0.0
|
|
14
|
+
|
|
15
|
+
The skill moves to Apache-2.0, and it finally covers the tools it was
|
|
16
|
+
missing, including store submission and the new assertion stage.
|
|
17
|
+
|
|
18
|
+
### Changed (2026-09-30, from nine real migrations)
|
|
19
|
+
|
|
20
|
+
- The canonical layout draws `pages/`, `scripts/` and `public/` at the
|
|
21
|
+
project root, where the engine discovers them, instead of under `src/`,
|
|
22
|
+
and warns about the `scripts/` clash with repository tooling.
|
|
23
|
+
- `project-structure.md` says that engines up to 4.1.30 resolve `public/`
|
|
24
|
+
next to the manifest, so a `src/manifest.json` cannot name an icon kept in
|
|
25
|
+
root `public/` until the project upgrades.
|
|
26
|
+
- The CSS Modules line gives the named-import form and the `namedExports`
|
|
27
|
+
switch that engines up to 4.1.30 need for a default import.
|
|
28
|
+
- A new `references/migrating.md` carries the checklist an existing
|
|
29
|
+
webpack, Vite, gulp or pug extension needs, linked from workflow step 1.
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **Looking a fact up (`extension_docs_search`).** A keyword search over the
|
|
34
|
+
Extension.js and extension.dev docs that returns pages with excerpts, free
|
|
35
|
+
and with no login. The skill names it beside the other tools and says when
|
|
36
|
+
to reach for it: before answering from memory on anything that changes by
|
|
37
|
+
version, such as a CLI flag, a manifest field across browsers or a store
|
|
38
|
+
submission rule. It is MCP-only; no `extension` command exists for it.
|
|
39
|
+
- **Asserting expectations (`extension_assert`).** The platform had nine
|
|
40
|
+
inspection primitives and no assertion verb, so an agent had to hand-roll
|
|
41
|
+
every expectation as an `extension_eval` string and judge the result
|
|
42
|
+
itself, which is exactly the guessing this skill exists to prevent. The
|
|
43
|
+
skill now teaches the five checks and, more importantly, the discipline:
|
|
44
|
+
**every verdict is pass, fail or inconclusive, and inconclusive is neither**.
|
|
45
|
+
It is not a soft pass and not a red against the extension; it means the
|
|
46
|
+
question was not observable here, and every one carries a `settledBy`
|
|
47
|
+
naming the evidence that would answer it. An empty expectation list is
|
|
48
|
+
inconclusive too. The two results that look wrong and are not are written
|
|
49
|
+
down: `content-script-injected` passes only on a line the content script
|
|
50
|
+
itself wrote at that url in this run, so a covering `content_scripts`
|
|
51
|
+
declaration is inconclusive rather than a pass, and
|
|
52
|
+
`background-worker-booted` is inconclusive when the worker is merely
|
|
53
|
+
dormant, because Chrome delists an idle MV3 worker and absence is not
|
|
54
|
+
proof.
|
|
55
|
+
|
|
56
|
+
- **Store submission through extension.dev (`extension_submit`).** The
|
|
57
|
+
publishing reference ran to 175 lines about shipping to stores and never
|
|
58
|
+
named the tool that ships to stores. It now has a section of its own: what
|
|
59
|
+
the tool does and does not do, why `dryRun` defaults to true, how to read
|
|
60
|
+
the per-store preflight rows, and why `dryRun: false` is a one-way door
|
|
61
|
+
into store review. This was the largest gap in the skill: the most
|
|
62
|
+
consequential and least reversible action on the platform had no page.
|
|
63
|
+
- **Reading project state (`extension_release_status`).** Read-only, and the
|
|
64
|
+
place a valid build sha comes from. The skill previously told agents to
|
|
65
|
+
pass a build sha to `extension_release_promote` without saying where one
|
|
66
|
+
comes from.
|
|
67
|
+
- **Sharing a build (`extension_preview_web`, `extension_shares`).** How to
|
|
68
|
+
hand someone a link that opens the extension with no install, why
|
|
69
|
+
`share: true` is required outside the extension.dev monorepo, that a share
|
|
70
|
+
also serves the built code as a zip, and how to list or revoke a link
|
|
71
|
+
afterwards. A share made without knowing `extension_shares` exists cannot
|
|
72
|
+
be pulled back.
|
|
73
|
+
- **Session diagnosis (`extension_doctor`).** A CLI command and an MCP tool
|
|
74
|
+
that names the broken leg of a dev session in dependency order. Run it
|
|
75
|
+
before theorizing when an act tool errors. Includes the two readings that
|
|
76
|
+
mislead: a `skip` means blocked, and a `read-only` status is a choice, not
|
|
77
|
+
a fault.
|
|
78
|
+
- **Chrome theme verification (`extension_theme_verify`)**, noted in the
|
|
79
|
+
debugging reference as the tool for themes rather than extensions.
|
|
80
|
+
- **A drift test against the MCP server** (`test/mcp-sync.test.mjs`). It
|
|
81
|
+
derives the live tool registry from the MCP's own sources instead of
|
|
82
|
+
trusting prose, and fails when the skill states the wrong tool count, names
|
|
83
|
+
a tool the server retired, promises an `extension` CLI command that is not
|
|
84
|
+
registered, calls a tool MCP-only when a CLI command exists for it, or when
|
|
85
|
+
a newly registered tool goes undocumented without a written reason. CI and
|
|
86
|
+
the release workflow now check out the MCP server alongside Extension.js.
|
|
87
|
+
|
|
88
|
+
### Fixed
|
|
89
|
+
|
|
90
|
+
- **The CLI parity claim was wrong.** The skill said nearly every MCP
|
|
91
|
+
capability had an `extension` CLI equivalent, with three exceptions. In
|
|
92
|
+
fact 13 of the 29 tools have a CLI command, and everything that talks to
|
|
93
|
+
extension.dev has none. An agent reading the old claim would confidently
|
|
94
|
+
tell a user to run commands that do not exist. The skill now lists the CLI
|
|
95
|
+
commands that exist and the tools that are MCP-only, and both lists are
|
|
96
|
+
held to their sources by the new drift test.
|
|
97
|
+
- **The publishing and STORE.md references pointed at a package readers
|
|
98
|
+
cannot install.** They named a private deploy CLI as the way to mint a
|
|
99
|
+
Chrome refresh token and to hold credentials in a local dotfile. That
|
|
100
|
+
package publishes with restricted access, so the command answered 404 for
|
|
101
|
+
everyone outside the company. The Chrome credential guidance now recommends
|
|
102
|
+
the service account, which needs nothing minted, and credential storage is
|
|
103
|
+
described on the console path it actually uses. A test now fails if any
|
|
104
|
+
private package name reappears anywhere in this package.
|
|
105
|
+
- **The tool count** said 28 in the README and 29 in the skill; the server
|
|
106
|
+
registers 30. The drift test now holds both to the registry, and it is what
|
|
107
|
+
caught the change.
|
|
108
|
+
- **`STORE.md` advice is now trustworthy where it was guesswork.** The MCP's
|
|
109
|
+
`STORE.md` parser is a pinned port of the one the real submission runs,
|
|
110
|
+
held to it by a test that replays both over the same corpus, so the skill
|
|
111
|
+
now says a missing-notes warning means a genuinely missing field. It also
|
|
112
|
+
records the fact that bit people: the submission reads `STORE.md` from the
|
|
113
|
+
source repository at the built commit, not from the working directory.
|
|
114
|
+
- **The platform hold** is described accurately. Device login works, and so
|
|
115
|
+
does listing or revoking an existing share; five lanes answer 403
|
|
116
|
+
`PLATFORM_NOT_OPEN` while the hold is on.
|
|
117
|
+
|
|
118
|
+
### Changed
|
|
119
|
+
|
|
120
|
+
- **License: MIT is now Apache-2.0.** Everything published up to and
|
|
121
|
+
including 0.5.1 was released under MIT and stays MIT forever; you keep
|
|
122
|
+
those rights on those versions. From 1.0.0 forward the license is
|
|
123
|
+
Apache-2.0, which adds an express patent grant and requires anyone
|
|
124
|
+
shipping a modified copy to state that they changed the files. Installing
|
|
125
|
+
this skill and using it to build extensions is unaffected. The skill
|
|
126
|
+
frontmatter and the plugin manifest, which still read MIT, now agree with
|
|
127
|
+
the LICENSE file.
|
|
128
|
+
- The workflow gained a step for sharing a build and split publish from
|
|
129
|
+
submit, because conflating the two is how an irreversible store submission
|
|
130
|
+
happens by accident.
|
|
131
|
+
|
|
3
132
|
## 0.5.1
|
|
4
133
|
|
|
5
134
|
Honest browser support wording ahead of the Safari lane landing.
|
|
@@ -26,8 +155,8 @@ store reviewer notes, and version history, one section per store.
|
|
|
26
155
|
|
|
27
156
|
- New reference `references/store-md.md` with the template, the maintenance
|
|
28
157
|
rules (manifest change, release, rejection, privacy shift), and the table
|
|
29
|
-
of fields
|
|
30
|
-
|
|
158
|
+
of fields a submission sends automatically (Firefox reviewer and release
|
|
159
|
+
notes, Edge certification notes).
|
|
31
160
|
- Workflow step 6 and `references/publishing.md` now direct the agent to
|
|
32
161
|
create and maintain `STORE.md` as soon as publishing intent appears.
|
|
33
162
|
- The Chrome section mirrors the `CHROMEWEBSTORE.md` shape other agent
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,201 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 Cezar Augusto and the extension.dev collaborators
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
# @extension.dev/skill [![Version][npm-version-image]][npm-version-url] [](https://skills.sh/extensiondev/skill/extension-dev) [![CI][action-image]][action-url] [![Discord][discord-image]][discord-url]
|
|
9
9
|
|
|
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
|
|
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
12
|
<img alt="Logo" align="right" src="https://media.extension.land/brand/extension-dev/logo-dock.png" width="18.3%" />
|
|
13
13
|
|
|
@@ -26,22 +26,35 @@ Powered by [extension.dev](https://extension.dev) and the open-source
|
|
|
26
26
|
half of the extension.dev agent stack:
|
|
27
27
|
|
|
28
28
|
- **[@extension.dev/mcp](https://www.npmjs.com/package/@extension.dev/mcp)**
|
|
29
|
-
gives agents *hands*:
|
|
30
|
-
inspection, log streaming,
|
|
29
|
+
gives agents *hands*: 32 MCP tools for scaffolding, building, live DOM
|
|
30
|
+
inspection, log streaming, asserting expectations against a running
|
|
31
|
+
extension, publishing, store submission, and headless release promotion.
|
|
31
32
|
- **@extension.dev/skill** gives agents *judgment*: when to use which tool,
|
|
32
33
|
the cross-browser rules, the silent-failure gotchas, and the publish
|
|
33
34
|
checklist, packaged in the open [Agent Skills](https://agentskills.io)
|
|
34
35
|
format (SKILL.md plus progressive-disclosure references).
|
|
35
36
|
|
|
36
|
-
The skill works standalone:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
The skill works standalone: the whole local loop (scaffold, dev, build,
|
|
38
|
+
inspect, publish) documents the `extension` CLI path, and the skill says
|
|
39
|
+
plainly which capabilities are MCP-only so an agent never invents a command
|
|
40
|
+
that does not exist. It shines when the MCP server is connected, because the
|
|
41
|
+
skill tells the agent to verify against the live browser instead of guessing,
|
|
42
|
+
and the MCP tools make that a one-call operation.
|
|
40
43
|
|
|
41
44
|
In the shipped benchmark, a skill-equipped agent passed **15/15** graded
|
|
42
45
|
assertions; the no-skill baseline passed 10/15. Details and reproduction in
|
|
43
46
|
[Why a skill on top of an MCP server](#why-a-skill-on-top-of-an-mcp-server).
|
|
44
47
|
|
|
48
|
+
## Agents
|
|
49
|
+
|
|
50
|
+
<div align="center">
|
|
51
|
+
|
|
52
|
+
| <img alt="Claude Code" src="https://media.extension.land/logos/devtools/claude-code.svg" width="70"> | <picture><source media="(prefers-color-scheme: dark)" srcset="https://media.extension.land/logos/devtools/cursor-dark.svg"><img alt="Cursor" src="https://media.extension.land/logos/devtools/cursor.svg" width="70"></picture> | <picture><source media="(prefers-color-scheme: dark)" srcset="https://media.extension.land/logos/devtools/github-copilot-dark.svg"><img alt="GitHub Copilot" src="https://media.extension.land/logos/devtools/github-copilot.svg" width="70"></picture> | <picture><source media="(prefers-color-scheme: dark)" srcset="https://media.extension.land/logos/devtools/codex-dark.svg"><img alt="Codex" src="https://media.extension.land/logos/devtools/codex.svg" width="70"></picture> | <picture><source media="(prefers-color-scheme: dark)" srcset="https://media.extension.land/logos/devtools/windsurf-dark.svg"><img alt="Windsurf" src="https://media.extension.land/logos/devtools/windsurf.svg" width="70"></picture> |
|
|
53
|
+
| :-: | :-: | :-: | :-: | :-: |
|
|
54
|
+
| Claude Code | Cursor | GitHub Copilot | Codex | Windsurf |
|
|
55
|
+
|
|
56
|
+
</div>
|
|
57
|
+
|
|
45
58
|
## Install
|
|
46
59
|
|
|
47
60
|
The skill is plain markdown in the open Agent Skills format. Every lane
|
|
@@ -113,8 +126,8 @@ it actually injects: inspect the live browser, do not just tell me it works.
|
|
|
113
126
|
```
|
|
114
127
|
|
|
115
128
|
A skill-equipped agent will scaffold from a template, write one prefixed
|
|
116
|
-
manifest instead of two, and verify injection with
|
|
117
|
-
MCP inspection tools instead of declaring victory.
|
|
129
|
+
manifest instead of two, and verify injection with `extension inspect` or
|
|
130
|
+
the MCP inspection tools instead of declaring victory.
|
|
118
131
|
|
|
119
132
|
## What's inside
|
|
120
133
|
|
|
@@ -127,8 +140,16 @@ skills/
|
|
|
127
140
|
project-structure.md Layout, entry wiring, special folders, env vars
|
|
128
141
|
cross-browser.md chromium:/firefox: prefixes, API namespaces
|
|
129
142
|
api-gotchas.md Service worker lifetime, gestures, messaging
|
|
130
|
-
debugging.md
|
|
131
|
-
publishing.md Builds, zips, store checklist,
|
|
143
|
+
debugging.md inspect, --logs, act tools, assert, doctor
|
|
144
|
+
publishing.md Builds, zips, store checklist, publish, share, submit
|
|
145
|
+
store-md.md STORE.md convention, template, what gets submitted
|
|
146
|
+
migrating.md Bringing an existing webpack, Vite, gulp or pug build under the engine
|
|
147
|
+
surface-popup.md Main surface is a toolbar popup (action)
|
|
148
|
+
surface-content.md Changing or reading web pages (content_scripts)
|
|
149
|
+
surface-sidepanel.md Main surface is a side panel or sidebar
|
|
150
|
+
surface-devtools.md Adding a DevTools panel (devtools_page)
|
|
151
|
+
surface-newtab.md Overriding the new tab page
|
|
152
|
+
surface-options.md Options page (options_ui)
|
|
132
153
|
```
|
|
133
154
|
|
|
134
155
|
The SKILL.md body stays small and always loads when the skill triggers; the
|
|
@@ -140,9 +161,12 @@ An MCP server can expose a live-DOM probe, but nothing makes an agent think
|
|
|
140
161
|
to call it when a content script silently fails to inject. Skills shape
|
|
141
162
|
behavior before any tool is called.
|
|
142
163
|
|
|
143
|
-
In the shipped benchmark (three tasks,
|
|
164
|
+
In the shipped benchmark (the first three tasks, cross-browser sidebar,
|
|
165
|
+
injection debugging and service worker state, five graded assertions each,
|
|
144
166
|
identical prompts), the skill run passed **15/15** assertions against 10/15
|
|
145
|
-
for a no-skill baseline
|
|
167
|
+
for a no-skill baseline; the fourth task, store readiness, was run later as
|
|
168
|
+
a single sample at 5/5 with the skill against 4/5 for the baseline. The
|
|
169
|
+
baseline hand-rolled per-browser manifests with
|
|
146
170
|
custom build scripts and debugged by opening four consoles manually; the
|
|
147
171
|
skill run produced a single prefixed manifest and an evidence-driven
|
|
148
172
|
debugging plan. The harness, fixtures, and assertion sets ship in `evals/`,
|
|
@@ -153,7 +177,7 @@ so the numbers are reproducible.
|
|
|
153
177
|
Framework facts in the references (prefix families, override semantics,
|
|
154
178
|
canonical output naming, special folders, env prefix) are verified against
|
|
155
179
|
the Extension.js source and carry a "verified against Extension.js x.y.z"
|
|
156
|
-
pin.
|
|
180
|
+
pin. Four test suites plus a spec check enforce this:
|
|
157
181
|
|
|
158
182
|
```bash
|
|
159
183
|
npm test
|
|
@@ -168,6 +192,11 @@ npx skills-ref validate skills/extension-dev
|
|
|
168
192
|
`extension.js` directory) and skips when none is present. CI should check
|
|
169
193
|
out [extension-js/extension.js](https://github.com/extension-js/extension.js)
|
|
170
194
|
alongside this repo so the suite never silently skips.
|
|
195
|
+
- `mcp-sync` asserts the stated tool count, every `extension_*` name, and
|
|
196
|
+
the CLI command and flag parity against the sibling MCP package and an
|
|
197
|
+
Extension.js checkout (`EXTENSION_DEV_MCP_REPO` and `EXTENSION_JS_REPO`,
|
|
198
|
+
or sibling directories), skips those cells off CI when a source is
|
|
199
|
+
missing, and never skips the check that no file names a private package.
|
|
171
200
|
- `templates-sync` asserts every template slug the skill recommends against
|
|
172
201
|
the nightly templates-meta.json release asset, and skips offline.
|
|
173
202
|
- `skills-ref validate` checks the skill against the open Agent Skills
|
|
@@ -189,7 +218,7 @@ the eval metadata files for the assertion sets.
|
|
|
189
218
|
| Package | Use it to |
|
|
190
219
|
| --- | --- |
|
|
191
220
|
| [`@extension.dev/mcp`](https://www.npmjs.com/package/@extension.dev/mcp) | Give AI agents tools to build, run, debug, and publish extensions |
|
|
192
|
-
| [`@extension.dev/artifact-integrity`](https://www.npmjs.com/package/@extension.dev/artifact-integrity) |
|
|
221
|
+
| [`@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|
|
|
193
222
|
|
|
194
223
|
All of it rides on [Extension.js](https://github.com/extension-js/extension.js), the open-source cross-browser extension framework.
|
|
195
224
|
|
|
@@ -197,6 +226,13 @@ If the skill saves your agent a debugging session, a
|
|
|
197
226
|
[star on GitHub](https://github.com/extensiondev/skill) helps other
|
|
198
227
|
extension developers find it.
|
|
199
228
|
|
|
229
|
+
## Community
|
|
230
|
+
|
|
231
|
+
- Join the extension.dev [Discord](https://discord.gg/v9h2RgeTSN) for help and feedback
|
|
232
|
+
- Browse production-ready templates at [templates.extension.dev](https://templates.extension.dev)
|
|
233
|
+
- Follow the platform's public packages on [GitHub](https://github.com/extensiondev)
|
|
234
|
+
- Report Extension.js framework issues on [GitHub](https://github.com/extension-js/extension.js/issues)
|
|
235
|
+
|
|
200
236
|
## License
|
|
201
237
|
|
|
202
|
-
|
|
238
|
+
Apache-2.0 (c) 2026 Cezar Augusto and the extension.dev collaborators. See [LICENSE](LICENSE).
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@extension.dev/skill",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"description": "Agent Skill that teaches AI coding agents (Claude Code, Cursor, Copilot, Codex) to build, debug, and publish browser extensions for Chrome, Edge, Firefox, and every Chromium- or Gecko-based browser (Brave, Opera, Vivaldi, Yandex, Waterfox, LibreWolf)
|
|
6
|
-
"license": "
|
|
4
|
+
"version": "1.0.1",
|
|
5
|
+
"description": "Agent Skill that teaches AI coding agents (Claude Code, Cursor, Copilot, Codex) to build, debug, and publish browser extensions for Chrome, Edge, Firefox, Safari, and every Chromium- or Gecko-based browser (Brave, Opera, Vivaldi, Yandex, Waterfox, LibreWolf): Manifest V3 gotchas, cross-browser manifest rules, and live-browser verification playbooks. Powered by extension.dev and Extension.js.",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Cezar Augusto",
|
|
9
9
|
"email": "hello@extension.dev",
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
".claude-plugin",
|
|
27
27
|
"README.md",
|
|
28
28
|
"CHANGELOG.md",
|
|
29
|
-
"LICENSE"
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"NOTICE",
|
|
31
|
+
"TRADEMARK.md"
|
|
30
32
|
],
|
|
31
33
|
"agents": {
|
|
32
34
|
"skills": [
|
|
@@ -34,9 +36,10 @@
|
|
|
34
36
|
]
|
|
35
37
|
},
|
|
36
38
|
"scripts": {
|
|
37
|
-
"test": "node --test test/*.test.mjs",
|
|
38
39
|
"prepack": "node scripts/readme-logo-width.mjs npm",
|
|
39
|
-
"postpack": "node scripts/readme-logo-width.mjs github"
|
|
40
|
+
"postpack": "node scripts/readme-logo-width.mjs github",
|
|
41
|
+
"lint": "eslint .",
|
|
42
|
+
"test": "node --test test/*.test.mjs"
|
|
40
43
|
},
|
|
41
44
|
"publishConfig": {
|
|
42
45
|
"access": "public",
|
|
@@ -65,5 +68,10 @@
|
|
|
65
68
|
"cross-browser",
|
|
66
69
|
"extension.dev",
|
|
67
70
|
"extension.js"
|
|
68
|
-
]
|
|
71
|
+
],
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@eslint/js": "^10.0.1",
|
|
74
|
+
"eslint": "^10.7.0",
|
|
75
|
+
"globals": "^17.7.0"
|
|
76
|
+
}
|
|
69
77
|
}
|