/jev-lint:new-rule <the convention, in a sentence>from jev-lint
Generates a jev-lint rule file from a natural-language convention, validates it loads and matches subjects, and reports results without running the paid check step.
Ships in jev-lint. Installing the plugin adds it to Claude Code.
Write a jev-lint rule for this convention: $ARGUMENTS
Follow the jev-lint skill's references/writing-project-rules.md for the
target repository's language and references/cookbook.md for a validated
matcher. Do it in this order and do not skip validation.
npx -y @ast-grep/cli run -l <lang> -p '<a snippet of the code shape>' --debug-query=ast . rather
than guessing. A kind absent from the grammar fails the whole scan.
For Text, choose split: and extensions: instead; for Git, choose
subject: commit or subject: change without a matcher..jev-lint/rules/<id>.yml
or .jev-lint/rules/<language>/<id>/rule.yml with fixtures and a baseline
beside it. Enable its id in .jev-lint.yaml if the config has rules:.
Project rules load alongside the packaged rules. For a custom grammar,
declare its parser in that config and inspect its node kinds and fields.
Over-match in the matcher. Write criteria in terms of the evidence the
model sees. Put exceptions in note:. Mark a guessed threshold: as
# uncalibrated.npx -y jev-lint rules -R <rule-file> --no-config — must load with 0 errorsnpx -y jev-lint check <paths> -R <rule-file> --no-config --dry-run --cache none --show-subjects
— must find subjects on code that contains the case; if it finds none,
fix the matcher, not the sentence--no-config with --config .jev-lint.yaml
so its parser declaration remains active; that config must select only
this rule when -R is used. For Git rules, use commits --staged --dry-run or commits --base <ref> --dry-run.jev-lint check <one file> -R <rule-file> --retry 3). Do not run the
paid step unless asked. Say that the cutoff is a guess until it is fitted
per references/calibration.md.Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub mizchi/jev-lint --plugin jev-lint4 commands in this plugin
/commitsJudge the commit messages on this branch against their diffs, and the PR description against the whole branch/proseJudge a Markdown document's writing — the nine JevSlop signals and the five "does the text talk about itself" checks — and run the mechanical leakage test/reviewRun jev-lint review on the current branch's diff and read the findings against the codeOther plugins' commands for the same job