Commit graph

1 commit

Author SHA1 Message Date
Claude
f47972967a
chore(phase-0): add dual-publish + plugin.json validation tools
Phase 0 of the multi-skill build: ship the two stdlib-only tools that
the rest of the work depends on.

- scripts/sync_skill_bundles.py: mirror a standalone plugin's
  SKILL.md + scripts/ + references/ + assets/ into its domain-bundled
  location. --check exits 1 on drift; --sync rewrites the mirror.

- scripts/check_plugin_json.py: validate plugin.json against the
  strict ClawHub schema (exactly the 8 allowed fields, semver version,
  author{name,url}, skills as string or array — bare "./" rejected per
  Claude Code v2.1.107+).

Verified: --all run reports OK on all 30 existing plugin.json files;
sync --check correctly detects missing mirrors. Karpathy-coder gate:
both files score 85/100 under strict (single nesting-depth WARN, no
FAIL) — better than the canonical karpathy-coder tools themselves.

https://claude.ai/code/session_01Dq12xJakFRxwaoU8Pqejdm
2026-05-09 05:54:15 +00:00