mirror of
https://github.com/daymade/claude-code-skills.git
synced 2026-09-14 16:15:21 +08:00
81c077b48c
Preserve defensive guards before removing wechat-article-scraper: - .pre-commit-config.yaml (gitleaks + check-added-large-files) - .pii-path-patterns (block node_modules/storage/feeds) - scripts/repo_path_guard.py (path-based commit guard) - scripts/find_images.py, scripts/test_standard_article.py - .claude/ralph-* moved to .claude/archive/ - CLAUDE.md updates, marketplace.json sync Next commit removes the whole wechat-article-scraper tree (leaked api key via hardcoded fallback in agents/src/config.ts). Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
35 lines
722 B
YAML
35 lines
722 B
YAML
minimum_pre_commit_version: "3.2.0"
|
|
default_install_hook_types:
|
|
- pre-commit
|
|
- pre-push
|
|
default_stages:
|
|
- pre-commit
|
|
- pre-push
|
|
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-merge-conflict
|
|
- id: check-added-large-files
|
|
args:
|
|
- --maxkb=1500
|
|
|
|
- repo: https://github.com/gitleaks/gitleaks
|
|
rev: v8.30.0
|
|
hooks:
|
|
- id: gitleaks
|
|
stages:
|
|
- pre-commit
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: repo-path-guard
|
|
name: repo path guard
|
|
entry: python3 scripts/repo_path_guard.py
|
|
language: system
|
|
pass_filenames: true
|
|
stages:
|
|
- pre-commit
|
|
- pre-push
|