@extension.dev/skill 1.2.2 → 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.
Files changed (23) hide show
  1. package/.claude-plugin/marketplace.json +23 -9
  2. package/CHANGELOG.md +305 -0
  3. package/README.md +51 -32
  4. package/package.json +8 -6
  5. package/skills/{extension-dev → browser-extension}/SKILL.md +135 -73
  6. package/skills/browser-extension/references/api-gotchas.md +213 -0
  7. package/skills/{extension-dev → browser-extension}/references/cross-browser.md +84 -23
  8. package/skills/{extension-dev → browser-extension}/references/debugging.md +60 -4
  9. package/skills/{extension-dev → browser-extension}/references/migrating-from-frameworks.md +1 -1
  10. package/skills/{extension-dev → browser-extension}/references/migrating.md +11 -4
  11. package/skills/{extension-dev → browser-extension}/references/project-structure.md +25 -3
  12. package/skills/{extension-dev → browser-extension}/references/publishing.md +101 -15
  13. package/skills/browser-extension/references/store-md.md +418 -0
  14. package/skills/{extension-dev → browser-extension}/references/surface-content.md +6 -0
  15. package/skills/{extension-dev → browser-extension}/references/surface-options.md +4 -0
  16. package/.claude-plugin/plugin.json +0 -24
  17. package/skills/extension-dev/references/api-gotchas.md +0 -107
  18. package/skills/extension-dev/references/store-md.md +0 -137
  19. /package/skills/{extension-dev → browser-extension}/references/surface-devtools.md +0 -0
  20. /package/skills/{extension-dev → browser-extension}/references/surface-newtab.md +0 -0
  21. /package/skills/{extension-dev → browser-extension}/references/surface-popup.md +0 -0
  22. /package/skills/{extension-dev → browser-extension}/references/surface-sidepanel.md +0 -0
  23. /package/skills/{extension-dev → browser-extension}/references/templates.md +0 -0
@@ -1,137 +0,0 @@
1
- # STORE.md: One Store Metadata File for Every Store
2
-
3
- `STORE.md` is a single tracked file at the project root that holds everything
4
- the stores will ask for at submission time: listing copy, permission
5
- justifications, privacy disclosures, version history, and per-store notes.
6
- Cross-browser extensions submit to several stores; this file is the one place
7
- where that paperwork lives, so resubmissions never reinvent it.
8
-
9
- It has a second job: a store submission through extension.dev reads it
10
- automatically and attaches the fields the store APIs accept. Everything else
11
- stays a copy-paste reference for the dashboard forms.
12
-
13
- ## When to create it
14
-
15
- Create `STORE.md` the moment publishing intent appears:
16
-
17
- - The user says they want to publish or "get ready for the store".
18
- - A new extension is clearly headed for a store.
19
- - The user asks about listing requirements or review.
20
-
21
- Do not wait for the submission itself. The file earns its keep by being
22
- maintained while the code changes, not written in a scramble at the end.
23
-
24
- ## Structure
25
-
26
- One `##` section per store, shared material above them. Store sections are
27
- matched by heading text, so `## Firefox Add-ons`, `## firefox-amo`, and
28
- `## AMO` all work; the same goes for Chrome and Edge.
29
-
30
- ```markdown
31
- # Store metadata
32
-
33
- Last updated: 2026-07-20
34
-
35
- ## Listing
36
-
37
- Name, one-line summary, long description, category, screenshot list.
38
- Write user benefits, not implementation. "Highlights matching results
39
- on the page", never "Uses MutationObserver".
40
-
41
- ## Privacy and data use
42
-
43
- What is collected, stored, or transmitted, and the privacy policy URL.
44
- Must match what the code actually does AND the manifest's Firefox
45
- data_collection_permissions declaration (see cross-browser.md).
46
-
47
- ## Chrome Web Store
48
-
49
- ### Permissions justification
50
-
51
- - tabs: reads the current tab URL to show per-site settings.
52
- - storage: persists user preferences locally.
53
-
54
- ### Single purpose
55
-
56
- One sentence stating the extension's single purpose.
57
-
58
- ## Firefox Add-ons
59
-
60
- ### Reviewer notes
61
-
62
- Test credentials and the steps a reviewer needs to exercise the
63
- extension. Include build-from-source instructions when the zip is
64
- minified (it is; AMO requires the sources zip).
65
-
66
- ### Release notes
67
-
68
- User-facing notes for this version.
69
-
70
- ## Edge Add-ons
71
-
72
- ### Certification notes
73
-
74
- Anything the certification team needs to test the extension.
75
-
76
- ## Version history
77
-
78
- - 1.2.0 (2026-07-20): added per-site settings. Submitted to all three.
79
- - 1.1.0 (2026-07-01): rejected on AMO for a vague tabs justification;
80
- fixed by naming the exact data read.
81
- ```
82
-
83
- ## What gets submitted automatically
84
-
85
- At submission time these fields are read from the file and sent with the
86
- submission; explicit flags or config values win over the file:
87
-
88
- | Store section | `###` field | Sent as |
89
- | --- | --- | --- |
90
- | Firefox | Reviewer notes | AMO `approval_notes` |
91
- | Firefox | Release notes | AMO `release_notes` |
92
- | Edge | Certification notes | Edge submission `notes` |
93
-
94
- The Chrome Web Store accepts no listing metadata over its API, so the whole
95
- Chrome section is dashboard-only. Its shape mirrors the `CHROMEWEBSTORE.md`
96
- convention other agent tooling expects, so an agent looking for that file's
97
- sections finds them here.
98
-
99
- Two facts about where the file is read from, both of which have bitten people:
100
-
101
- - **The submission reads `STORE.md` from the project's source repository at
102
- the built commit**, not from the working directory. An uncommitted or
103
- unpushed edit does not travel with the submission. Commit and push the
104
- file, then rebuild, then submit.
105
- - **`extension_submit` checks the local copy and warns**, and the warning is
106
- worth acting on. Its parser is a pinned port of the one the real submission
107
- runs, held to the original by a test that replays both implementations over
108
- the same corpus, so "no Firefox reviewer notes" here means no Firefox
109
- reviewer notes there. Section headings are matched the same way in both:
110
- `## Firefox Add-ons`, `## firefox-amo` and `## AMO` all resolve to Firefox,
111
- and the `###` field heading is matched by prefix.
112
-
113
- ## Maintenance rules
114
-
115
- Update `STORE.md` in the same change that makes it stale:
116
-
117
- - **Manifest changed** (`permissions`, `host_permissions`,
118
- `content_scripts`): revisit every justification. Each permission gets a
119
- specific, plain-English reason; "needed for the extension to work" fails
120
- review on every store.
121
- - **User-facing behavior changed**: refresh the listing copy and bump the
122
- last-updated date.
123
- - **New release**: add a version history entry and rewrite the release
124
- notes section for the new version.
125
- - **Data handling changed**: update the privacy section, the policy it
126
- links to, and the manifest's Firefox `data_collection_permissions`
127
- declaration together before submitting; the three must agree.
128
- - **Store rejection**: record the reason and the fix in version history, so
129
- the next submission does not repeat it.
130
-
131
- ## Hygiene
132
-
133
- - Track the file in git; it is part of the project, not a scratch note.
134
- - Exclude it from the extension zip (the `--zip` flag already packages only
135
- `dist/<browser>/`, so the default build is safe).
136
- - Never put real user credentials in it; reviewer test accounts are
137
- throwaway by construction.