Skip to content

Commit baf6b10

Browse files
committed
adjust manifest to pass strict validation
1 parent bd04eac commit baf6b10

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/validate-plugins.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@ jobs:
3939
with:
4040
node-version: 22
4141

42-
# Pinned: schema warnings can change between CLI releases; bump deliberately.
4342
- name: Install Claude Code CLI
4443
run: npm install -g @anthropic-ai/claude-code@2.1.173
4544

46-
# Phase 1: fails on schema errors only; warnings pass (exit 0).
47-
# Phase 2: add --strict once the manifest cleanup lands — see issue #4.
4845
- name: Validate against the Claude Code plugin schema
49-
run: claude plugin validate .
46+
run: claude plugin validate . --strict

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Validate plugin structure locally with Go:
4646
go run ./cmd/validate-plugins
4747
```
4848

49-
CI runs the same structure validation, Go formatting/lint, and the official Claude Code plugin-spec check (`claude plugin validate .`, errors-only for now) on every PR. After pushing, watch CI with `gh pr checks <pr-number>`.
49+
CI runs the same structure validation, Go formatting/lint, and the official Claude Code plugin-spec check (`claude plugin validate . --strict`, warnings fail the build) on every PR. After pushing, watch CI with `gh pr checks <pr-number>`.
5050

5151
## Platform notes
5252

plugins/lean-core/.claude-plugin/plugin.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"displayName": "LeanCode Core",
55
"description": "Entry point for the LeanCode AI plugins marketplace. Explains what's available and helps contributors open PRs to add or improve plugins.",
66
"version": "0.1.0",
7-
"stability": "experimental",
87
"author": {
98
"name": "LeanCode"
109
},

plugins/lean-core/skills/lean-contribute/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Per-plugin semver in `.claude-plugin/plugin.json`.
122122
- **MINOR** — new skill, new reference, new behavior; expanded scope; additive change.
123123
- **MAJOR** — rename, removal, or reversal of existing guidance.
124124

125-
Optional `stability` field on each plugin: `experimental`, `beta`, or `stable`.
125+
Keep `plugin.json` to fields in the official Claude Code plugin manifest schema — CI runs `claude plugin validate . --strict`, which fails on unrecognized fields.
126126

127127
### What Claude Code does with the version
128128

0 commit comments

Comments
 (0)