mirror of
https://github.com/mapbox/mapbox-agent-skills.git
synced 2026-09-14 20:16:39 +08:00
48b694835b
Set up automatic git hooks that run all CI validation checks before pushing code. This prevents common CI failures by catching issues early in the development workflow. Changes: - Add .githooks/pre-push that runs format, spell, lint, and validation checks - Add scripts/setup-hooks.sh to install hooks into .git/hooks/ - Update package.json with setup and postinstall scripts for automatic installation - Document git hooks setup in CONTRIBUTING.md with usage instructions The pre-push hook runs the same checks as CI: - Prettier formatting validation - cspell spell checking - markdownlint markdown linting - Skills structure validation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>