You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split the monolithic plugins/external.json into individual files under
plugins/external/ (one per external plugin) to support per-file CODEOWNERS
entries. Updated all scripts that scan the plugins directory to exclude
the new external/ subdirectory and read individual JSON files instead.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@ When adding a new agent, instruction, skill, hook, workflow, or plugin:
152
152
6. Verify the plugin appears in `.github/plugin/marketplace.json`
153
153
154
154
**For External Plugins:**
155
-
1.Edit `plugins/external.json` and add an entry with `name`, `source`, `description`, and `version`
155
+
1.Create a new JSON file in `plugins/external/` named after the plugin (e.g., `plugins/external/my-plugin.json`) with `name`, `source`, `description`, and `version`
156
156
2. The `source` field should be an object specifying a GitHub repo, git URL, npm package, or pip package (see [CONTRIBUTING.md](CONTRIBUTING.md#adding-external-plugins))
157
157
3. Run `npm run build` to regenerate marketplace.json
158
158
4. Verify the external plugin appears in `.github/plugin/marketplace.json`
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,22 +190,20 @@ plugins/my-plugin-id/
190
190
191
191
#### Adding External Plugins
192
192
193
-
External plugins are plugins hosted outside this repository (e.g., in a GitHub repo, npm package, or git URL). They are listed in `plugins/external.json` and merged into the generated `marketplace.json` during build.
193
+
External plugins are plugins hosted outside this repository (e.g., in a GitHub repo, npm package, or git URL). They are listed as individual JSON files in the `plugins/external/` directory and merged into the generated `marketplace.json` during build.
194
194
195
-
To add an external plugin, append an entry to `plugins/external.json` following the [Claude Code plugin marketplace spec](https://code.claude.com/docs/en/plugin-marketplaces#plugin-entries). Each entry requires`name`, `source`, `description`, and `version`:
195
+
To add an external plugin, create a new JSON file in `plugins/external/` named after the plugin (e.g., `plugins/external/my-external-plugin.json`) following the [Claude Code plugin marketplace spec](https://code.claude.com/docs/en/plugin-marketplaces#plugin-entries). Each file contains a single JSON object with`name`, `source`, `description`, and `version`:
196
196
197
197
```json
198
-
[
199
-
{
200
-
"name": "my-external-plugin",
201
-
"source": {
202
-
"source": "github",
203
-
"repo": "owner/plugin-repo"
204
-
},
205
-
"description": "Description of the external plugin",
206
-
"version": "1.0.0"
207
-
}
208
-
]
198
+
{
199
+
"name": "my-external-plugin",
200
+
"source": {
201
+
"source": "github",
202
+
"repo": "owner/plugin-repo"
203
+
},
204
+
"description": "Description of the external plugin",
0 commit comments