Claude.Hooks.PreToolUse.PreCommitCheck (claude v0.1.0)

Pre-commit hook that validates formatting and compilation before allowing commits.

This hook runs before commit operations and blocks the commit if:

  • Any Elixir files are not properly formatted
  • The project has compilation errors or warnings