/relint:run-relintfrom reLint
Lints files using regular expression rules defined in a YAML config. Supports diff linting, git-diff, and pre-commit integration.
Ships in reLint. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
reLint is a regular expression linter. It checks files against user-defined rules written in a YAML config file (default .relint.yml).
reLint can be run directly with uvx — no install required:
uvx relint --version
# or, for advanced regex features (e.g. lookbehinds on variable-width patterns):
uvx --with "relint[regex]" relint
All CLI examples below can be run via uvx relint ... (e.g. uvx relint -c .relint.yml FILE).
The config file defaults to .relint.yml in the working directory. Override it with -c/--config.
# Lint specific files using the default config (.relint.yml)
relint FILE FILE2 ...
# Lint with a custom config file
relint -c path/to/.relint.yml FILE FILE2 ...
# Lint only the changed lines piped from a git diff
git diff --unified=0 | relint my_file.py --diff
# Lint the currently staged git diff directly
relint --git-diff
# Fail (non-zero exit) on warnings too
relint -W FILE ...
# Suppress warnings (useful in CI)
relint --ignore-warnings FILE ...
# Group matches by rule instead of listing each occurrence
relint --summarize FILE ...
# Control code snippet padding (default 2; set -1 to hide snippets)
relint --code-padding 4 FILE ...
.relint.yml in the working directory; use -c if the user specifies a different file. If no config exists, tell the user and offer to create one (see the write-rule skill).::error/::warning annotations automatically when GITHUB_ACTIONS=true.If the user wants to automate linting, add this to .pre-commit-config.yaml:
- repo: https://github.com/codingjoe/relint
rev: 1.4.0
hooks:
- id: relint
args: [-W] # optional: fail on warnings during commit
error attribute (default true) controls whether a rule produces a warning (false) or a hard error.filePattern attribute (default .*) narrows which files a rule applies to. It is matched against the full file path.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
relint@codingjoe is listed by codingjoe/claude-plugins — review the source before installing
npx claudepluginhub codingjoe/claude-plugins --plugin relint2 skills in this plugin
Other plugins' skills for the same job