Skip to content

Commit 2d7b16b

Browse files
astefanutticlaude
andcommitted
Restore strict: false and skills_dir for rfe-creator and test-plan
Fixes regression from PR #7 which incorrectly removed these fields. Plugins without plugin.json require strict: false and skills_dir for Claude Code to discover skills when installed via marketplace. Auto-discovery only works locally, not for marketplace installs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7c50c4d commit 2d7b16b

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@
2323
],
2424
"name": "rfe-creator",
2525
"repository": "https://github.com/jwforres/rfe-creator",
26+
"skills": [
27+
"./.claude/skills"
28+
],
2629
"source": {
2730
"ref": "main",
2831
"repo": "jwforres/rfe-creator",
2932
"source": "github"
3033
},
34+
"strict": false,
3135
"version": "0.1.0"
3236
},
3337
{
@@ -96,11 +100,15 @@
96100
],
97101
"name": "test-plan",
98102
"repository": "https://github.com/fege/test-plan",
103+
"skills": [
104+
"./.claude/skills"
105+
],
99106
"source": {
100107
"ref": "main",
101108
"repo": "fege/test-plan",
102109
"source": "github"
103110
},
111+
"strict": false,
104112
"version": "0.1.0"
105113
},
106114
{

ARCHITECTURE.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,15 @@ that contains the actual skills:
9696

9797
- **strict: true** (default) — `plugin.json` in the repo is the authority
9898
for component definitions. The marketplace entry can supplement it with
99-
additional components, and both sources are merged. Claude Code
100-
auto-discovers skills in default locations (`.claude/skills/`, `skills/`).
101-
Most plugins use this mode, even those without a `plugin.json`.
99+
additional components, and both sources are merged. Use this for repos
100+
that have their own `.claude-plugin/plugin.json`.
102101

103102
- **strict: false** — The marketplace entry is the entire plugin definition.
104103
If the repo also has a `plugin.json` that declares components, that is a
105-
conflict and the plugin fails to load. Use `skills_dir` to point to a
106-
non-default skills location. `skills_dir` is only valid with `strict: false`.
104+
conflict and the plugin fails to load. Use `skills_dir` to tell Claude
105+
Code where to find skills in the repo. **Required for repos without a
106+
`plugin.json`** — without it, Claude Code has no way to discover skills
107+
when installing via a marketplace.
107108

108109
Note: `skills_dir` must not be specified without `strict: false`. The schema
109110
and validation scripts enforce this constraint.

registry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ plugins:
4646
type: github
4747
repo: jwforres/rfe-creator
4848
ref: main
49+
strict: false
50+
skills_dir: .claude/skills
4951
homepage: https://github.com/jwforres/rfe-creator
5052
repository: https://github.com/jwforres/rfe-creator
5153
skills:
@@ -186,6 +188,8 @@ plugins:
186188
type: github
187189
repo: fege/test-plan
188190
ref: main
191+
strict: false
192+
skills_dir: .claude/skills
189193
homepage: https://github.com/fege/test-plan
190194
repository: https://github.com/fege/test-plan
191195
skills:

0 commit comments

Comments
 (0)