Pre-commit hooks for validating Claude Code configuration files - SKILL.md, hooks, subagent configs, and settings
SaferSkills independently audited claude-pre-commit (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Experimental: This repository is an experiment to lint .claude configuration files.Pre-commit hooks for validating Claude Code configuration files - SKILL.md, hooks, subagent configs, and settings.
git clone https://github.com/freddo1503/claude-pre-commit
cd claude-pre-commit
cargo build --release# Check all Claude Code files
claude-check check
# Check specific scope
claude-check check --scope global
claude-check check --scope local
# Auto-fix issues
claude-check fix
# Install git hook
claude-check install-hook
# See all options
claude-check --helpAdd to .pre-commit-config.yaml:
repos:
- repo: https://github.com/freddo1503/claude-pre-commit
rev: v0.1.0
hooks:
- id: claude-checkCurrent: v0.1.0 - Foundation complete
Completed:
In Progress:
MIT License - see LICENSE for details.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.