-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
38 lines (35 loc) · 1.09 KB
/
.pre-commit-config.yaml
File metadata and controls
38 lines (35 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Pre-commit hooks
#
# Setup:
# pip install pre-commit
# pre-commit install
#
# Manual run on all files:
# pre-commit run --all-files
repos:
- repo: local
hooks:
- id: check-docs-sync
name: Documentation sync check
entry: python scripts/check_docs_sync.py --staged
language: system
pass_filenames: false
always_run: true
stages: [pre-commit]
description: Block commits that change code without updating required docs.
- id: check-ai-links
name: AI asset symlinks check
entry: python scripts/check_ai_links.py
language: system
pass_filenames: false
always_run: true
stages: [pre-commit]
description: Ensure .claude/.agent/CLAUDE.md/AGENTS.md remain symlinks into .ai/.
- id: check-skills
name: Skill quality check
entry: python scripts/check_skills.py
language: system
pass_filenames: false
always_run: true
stages: [pre-commit]
description: Validate .ai/skills frontmatter, dead path references and stack consistency.