Skip to content

Commit 33e9ca2

Browse files
committed
fix(plugin): add marketplace manifest so the documented install works
The repo shipped a plugin manifest at tools/claude/.claude-plugin/plugin.json but no marketplace catalog, so '/plugin marketplace add stijnvanhulle/template' failed with 'Marketplace file not found'. Add .claude-plugin/marketplace.json at the repo root pointing the 'plugin' entry at ./tools/claude. Marketplace names cannot contain a slash, so the install reference is the manifest name 'stijnvanhulle-template', not the owner/repo slug. Update the README, AGENTS.md, and tools/claude/README.md to 'plugin@stijnvanhulle-template'.
1 parent 5cb935d commit 33e9ca2

4 files changed

Lines changed: 23 additions & 5 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://json.schemastore.org/claude-code-marketplace-manifest.json",
3+
"name": "stijnvanhulle-template",
4+
"owner": {
5+
"name": "stijnvanhulle",
6+
"url": "https://github.com/stijnvanhulle"
7+
},
8+
"metadata": {
9+
"description": "Marketplace for the stijnvanhulle toolkit plugin."
10+
},
11+
"plugins": [
12+
{
13+
"name": "plugin",
14+
"source": "./tools/claude",
15+
"description": "Spec-driven workflow, writing-voice skills, code-reviewer agent, and shared TypeScript-monorepo conventions."
16+
}
17+
]
18+
}

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ symlink to it so Claude Code, Gemini CLI, and GitHub Copilot pick up the
8080
same content. The shared toolset (skills, commands, code-reviewer agent,
8181
output styles, and conventions) lives in `tools/claude/`, which is also
8282
packaged as a Claude Code plugin (installable as
83-
`plugin@stijnvanhulle/template`). The `.claude/` and `.agents/skills/`
83+
`plugin@stijnvanhulle-template`). The `.claude/` and `.agents/skills/`
8484
paths used by the workspace symlink into that folder, so the template repo
8585
and any project that installs the plugin run the same content.
8686
Workspace-only pieces (hooks and `settings.json`) stay under `.claude/`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Agent Skills, and uses symlinks so every tool reads from one source instead of d
3030

3131
`AGENTS.md` is the canonical instruction file. The shared toolset (skills, commands,
3232
code-reviewer agent, output styles, and conventions) lives in `tools/claude/`, which doubles as
33-
a Claude Code plugin (installable as `plugin@stijnvanhulle/template`). The workspace paths under `.claude/` and `.agents/`
33+
a Claude Code plugin (installable as `plugin@stijnvanhulle-template`). The workspace paths under `.claude/` and `.agents/`
3434
symlink into that folder, so the template repo and any project that installs the plugin run
3535
the same content from a single source of truth. See [tools/claude/README.md](tools/claude/README.md)
3636
for install steps.

tools/claude/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ the always-on rules (code style, JSDoc, markdown, security, testing).
66

77
The toolkit is extracted from [stijnvanhulle/template](https://github.com/stijnvanhulle/template)
88
so the same content powers the template repo itself and any project that installs
9-
the plugin. It is published under the plugin name `plugin`, so the install reads as
10-
`plugin@stijnvanhulle/template`.
9+
the plugin. It is published under the plugin name `plugin` from the `stijnvanhulle-template` marketplace, so the install reads as
10+
`plugin@stijnvanhulle-template`.
1111

1212
## What you get
1313

@@ -39,7 +39,7 @@ spec-driven formatting (`plan`), and a diagrams-first layout (`diagrams-first`).
3939
```bash
4040
# add this repo as a marketplace, then install the plugin
4141
/plugin marketplace add stijnvanhulle/template
42-
/plugin install plugin@stijnvanhulle/template
42+
/plugin install plugin@stijnvanhulle-template
4343
```
4444

4545
To try it locally before publishing:

0 commit comments

Comments
 (0)