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 <noreply@anthropic.com>
This commit is contained in:
2026-06-27 18:54:37 +00:00
parent 3e52636da6
commit d98d0dae18
39 changed files with 1077 additions and 235 deletions

View File

@@ -1,6 +1,6 @@
# 0015 — AGENTS.md refactor (prerequisite)
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0016 — Second grill: skill implementation workflow
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build
@@ -29,7 +29,7 @@ HITL: requires human participation in the grill session.
## Handoff
**Status:** complete
**Status:** complete
**Files produced:**
- `docs/notes/skill-implementation-workflow.md`

View File

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

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

View File

@@ -1,6 +1,6 @@
# 0019 — Factory skills: write-adr, write-issue-spec, write-workflow, upgrade-skill, validate-skill
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0020 — Design skills: grill-lean, grill-me, write-prd, architecture-review, break-into-issues, prototype
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0021 — Implement skills: implement-feature, tdd, refactor, diagnose
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0022 — Test skills: write-tests, generate-test-data, review-test-coverage
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0023 — Review skills + cliff.toml: code-review, security-review, pr-description, changelog-entry
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0024 — Deploy skills: write-ci-pipeline, write-deployment-config, write-ai-review-workflow, deployment-checklist
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0025 — Operate skills: write-runbook, incident-diagnosis, post-mortem, inspect-deployment
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0026 — IaC skills: write-docker-compose, iac-security-review
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0027 — Cross-cutting skills: session-handoff, governance-check, git-commit-message, improve-codebase-architecture, triage, zoom-out, caveman
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build

View File

@@ -1,6 +1,6 @@
# 0028 — Chunk 3 closure: update skills-index, update spec, behavioral tests
**Type:** HITL
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build