From 8b8cb33df6bb4b82301de575da2a0074d369698b Mon Sep 17 00:00:00 2001 From: Defame1297 Date: Sat, 27 Jun 2026 19:47:22 +0000 Subject: [PATCH] chore(pre-commit): validate marketplace manifest on pre-push ## Why The root marketplace.json is the index that ties all plugins together. claude plugin validate --strict covers schema-level checks that check-manifests.sh does not, so it warrants its own hook alongside validate-plugins. Co-authored-by: Claude Sonnet 4.6 --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47c27b1..c72cbf3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,6 +61,15 @@ repos: pass_filenames: false always_run: true + - id: validate-marketplace + name: Validate marketplace manifest + description: Run claude plugin validate --strict on the root marketplace manifest + entry: claude plugin validate --strict .claude-plugin/marketplace.json + language: system + stages: [pre-push] + pass_filenames: false + always_run: true + - id: skill-frontmatter stages: ['pre-commit'] name: SKILL.md frontmatter validation