commit-preflight
v1.0.0
Published
Shared pre-commit and commit-msg preflight checks for AI-maintained product repos.
Readme
commit-preflight
Shared pre-commit and commit-message checks for AI-maintained repositories.
Install
npm install --save-dev commit-preflightEach consumer keeps its own preflight.config.mjs, structure policy, secret-scan
configuration, and Git hooks. The package supplies the portable check behavior,
including the required Biome and commitlint executables. Gitleaks remains an
optional, repo-managed scanner.
See Preflight Setup for adoption and Scripts Guide for the CLI and JSON contracts.
Run
npx commit-preflight --help
npx commit-preflight --config ./preflight.config.mjs --checkGit hook templates and an annotated configuration template are included under
templates/ in the installed package.
