Run the commit gate with pre-commit, Husky, or a plain hook
Goal. A commit with an error-level alert on an added line is refused, for everyone who commits, with or without the agent.
Precondition. vale on the committer’s PATH. When it is missing, the gate prints a notice and exits 0, so adding the gate never blocks a commit on a machine without Vale.
-
Run
/just-say-so:init --hook autoin the repo. It picks the pre-commit framework when.pre-commit-config.yamlexists, Husky when.husky/exists, and a plain.git/hooks/pre-commitwhen the repo has apackage.json. Or pick with--hook pre-commit,husky, orgit. -
Run the command the skill repeats at the end,
pre-commit installor a dev dependency install. -
Stage a Markdown file with a banned word on a new line and commit. The gate prints the alerts and refuses.
By hand
Section titled “By hand”The pre-commit framework, pinned at a tag:
repos: - repo: https://github.com/ifandelse/just-say-so rev: v0.18.1 hooks: - id: vale-stagedHusky or a plain hook, with the repo as a dev dependency from a tag, then node_modules/.bin/just-say-so-staged in the hook. Do not point a hook at the Claude plugin cache; its path is machine-specific and version-suffixed.
Skipping once
Section titled “Skipping once”JUST_SAY_SO_PRECOMMIT=0 git commit ... skips the gate for one commit. Exit codes and what the gate checks are in The commit gate, CI, and pinning.