diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 985dee2..c56447c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,6 +34,24 @@ repos: - repo: local hooks: + - id: run-tests + name: Run test suite + description: Run all test-*.sh files and bats suite + entry: bash tests/run-tests.sh + language: system + stages: [pre-push] + pass_filenames: false + always_run: true + + - id: check-manifests + name: Check plugin manifests + description: Validate marketplace.json and plugin.json paths + entry: bash scripts/check-manifests.sh + language: system + stages: [pre-push] + pass_filenames: false + always_run: true + - id: skill-frontmatter stages: ['pre-commit'] name: SKILL.md frontmatter validation