Commit bd04eac
ci: validate against the official Claude Code plugin schema
Add a `spec` job to the Validate plugins workflow that installs the
Claude Code CLI (pinned to 2.1.173 — schema warnings can change between
releases, so bumps should be deliberate) and runs
`claude plugin validate .` offline.
Phase 1 of #4: the command exits 0 on warnings, so this lands green on
current main (1 known warning: `stability` in one plugin.json) while
failing on real schema errors — manifest typos, malformed hooks.json,
bad skill frontmatter — and future spec drift. Phase 2 (--strict) comes
once the `stability` field question is settled.
Closes #4
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent a5c2f50 commit bd04eac
2 files changed
Lines changed: 23 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments