chore: migrate legacy pre-commit hook to .pre-commit-config.yaml

Replaces shell script (.git/hooks/pre-commit.legacy) with ecosystem-managed pre-commit framework:
- gitleaks/gitleaks: secret scanning
- jumanjihouse/pre-commit-hooks: shellcheck wrapper
- pre-commit/pre-commit-hooks: JSON/YAML validation, end-of-file-fixer, trailing-whitespace
- local hooks: SKILL.md frontmatter validation

Uses pinned versions for reproducibility across environments. Includes auto-fixes from hook runs (formatting, trailing whitespace, JSON beautification).

Co-Authored-By: Claude Haiku 4.5 <[email protected]>
This commit is contained in:
Defame1297andClaude Haiku 4.5 committed 2026-06-27 18:54:37 +00:00
1 parent 3e52636da6
commit d98d0dae18
39 files changed
+1077 -235

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# 0018 — factory/write-skill (bootstrap skill)
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build