bene-code-quality-hook0.1.0
This project installs the shared Bene quality hook for Pi and OMP.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
Bene Code Quality Hook
This project installs the shared Bene quality hook for Pi and OMP.
What it does
Bene is a shared quality hook for Pi and OMP. It observes completed tool
results, runs check-code-quality for modified source files, and applies the
configured Lizard and Semgrep rules before the next write or edit continues.
The /bene command lets you inspect and change those settings without editing
configuration files by hand.
Why Bene
“Bene” is a short reference to the Bene Gesserit in David Lynch's 1984 film Dune. David Lynch is the author's favorite cinema director, and the name also fits the hook's disciplined, rule-driven behavior.
Prerequisites
The hook needs check-code-quality, lizard, and semgrep available on
PATH. Bun is required only for the repository's local installer and
contributor test commands.
check-code-quality --help
lizard --version
semgrep --version
Install
Published package:
pi install npm:bene-code-quality-hook
omp install bene-code-quality-hook
From a checkout, ./scripts/install.sh replaces the loose hook files for both
hosts. See Usage for local installation, configuration, and
quality-check details.
Development and releases
Run bun run test:all before opening a pull request. See
Contributing for development conventions and
Release for the GitHub release process.