audit · indxdev — Claude Code command: what it does, how to install
A command for Claude Code ranks files by refactoring priority using AST metrics only. It audits selected paths and explains why files rank near the top.
MIT ★ 113 updated 2026-11-15
/plugin marketplace add INDXDev/jevlint
/plugin install jevlint@jevlintWhat audit does
audit runs jevlint audit --ast-only on the supplied paths, then summarizes the highest-ranked files and their scores. Treat the scores as opinions, not facts. The command leaves code unchanged unless asked to edit it.
The --ast-only mode sends no data to a provider. Do not remove the flag unless requested: provider-based audits send file contents to the provider and cost money. If jevlint is missing, install it with npm install --global @indxjp/jevlint.
What it helps with
- rank files by refactoring priority
- compare files using AST metrics
- understand why a file ranks highly
Example prompts for the agent
- Run
/jevlint:auditacross the project and explain which files to refactor first. - Audit
src/with/jevlint:auditand summarize why the top files rank there. - Use
/jevlint:auditonsrc/app.tsto assess its refactoring priority without changing code.
How to install audit
1Plugin marketplace
/plugin marketplace add INDXDev/jevlint/plugin install jevlint@jevlint2Manually: put the files in place
.claude/commands/audit.mdCall it with /audit. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/audit.mdCall it with /prompts:audit. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/audit.prompt.mdManually: put the files in place
.gemini/commands/audit.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about audit
How do I install audit in Claude Code?
Run /plugin marketplace add INDXDev/jevlint, then /plugin install jevlint@jevlint.
What does audit do?
It runs jevlint audit --ast-only on selected paths, ranks files by refactoring priority, and summarizes why they rank there. It does not edit code unless asked.
What does audit need to run?
jevlint must be installed. If it is missing, run npm install --global @indxjp/jevlint; the --ast-only mode does not send files to a provider.
Source text
audit.md · MIT
--- description: Rank files by what to refactor first, with AST metrics only argument-hint: "[paths...]" allowed-tools: Bash(jevlint audit:*) --- Run `jevlint audit --ast-only $ARGUMENTS` and summarise the top files and why each ranks there. This sends nothing to a provider. Do not drop `--ast-only` unless the user asks: an audit with a provider sends file contents to it and costs money. If `jevlint` is not installed, tell the user to run `npm install --global @indxjp/jevlint`. Scores are opinions to weigh, not facts. Do not change any code unless the user asks.
© INDX · MIT · INDXDev/jevlint
Similar slash commands
All slash commands for Code review and refactoring →audit by other authors comes first.