-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
52 lines (47 loc) · 1.43 KB
/
.pre-commit-config.yaml
File metadata and controls
52 lines (47 loc) · 1.43 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
repos:
# Standard pre-commit hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: detect-private-key
- id: detect-aws-credentials
args: ["--allow-missing-credentials"]
- id: check-case-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-yaml
- id: check-json
- id: check-added-large-files
args: ["--maxkb=500"]
# Markdown linting
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.21.0
hooks:
- id: markdownlint-cli2
args: ["--fix"]
# Detect secrets and credentials
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
args: ["--baseline", ".secrets.baseline"]
exclude: package.lock.json
# Repository-specific validation
- repo: local
hooks:
- id: check-skill-consistency
name: Check skill and marketplace consistency
entry: ./scripts/check-skill-consistency.sh
language: script
pass_filenames: false
- id: validate-marketplace
name: Validate Claude Code marketplace
entry: claude plugins validate .
language: system
pass_filenames: false
- id: validate-skills
name: Validate Claude Code Skills
entry: ./scripts/validate-skills.sh
language: script
files: ^skills/.*SKILL\.md$
pass_filenames: false