Skip to main content
command CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add INDXDev/jevlint
/plugin install jevlint@jevlint
Open on GitHub

What 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:audit across the project and explain which files to refactor first.
  • Audit src/ with /jevlint:audit and summarize why the top files rank there.
  • Use /jevlint:audit on src/app.ts to assess its refactoring priority without changing code.

How to install audit

1Plugin marketplace

/plugin marketplace add INDXDev/jevlint
/plugin install jevlint@jevlint

2Manually: put the files in place

.claude/commands/audit.md

Call it with /audit. For all projects use ~/.claude/commands/

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.

audit Gordon Mickel The audit command checks .flow/memory/ entries against the current code and assigns an action to each one. Use it when project notes may need revision. CX Codex +1 ★ 730repo stars audit LihFolk audit is a Claude Code command that audits Roblox Luau code for security holes, exploits, and storage flaws. It runs automated checks and builds a ranked fix list from P0 to P3. CX Codex +1 ★ 98repo stars jscpd kucherenko jscpd detects duplicate code across 220+ languages and formats findings for AI agents. It flags exact copies, renamed blocks, and refactoring hotspots. CX Codex +1 2,800installs GraphPulse C++ labsofuniverse GraphPulse C++ parses C++ projects using AST to map function relationships. Spots circular dependencies, unused functions, and generates Mermaid diagrams. CX Codex +1 718installs ast-grep-find parcadei ast-grep-find runs AST-based code search and refactoring using language syntax trees. Helps locate and replace function calls, imports, and variables without matching text inside strings or comments. CX Codex +1 524installs tldr-deep parcadei tldr-deep runs a 5-layer code analysis on a specific function using the tldr CLI. Helpful when debugging or refactoring complex logic. CX Codex +1 485installs jscodeshift pproenca A rule set for writing and debugging jscodeshift codemods: AST traversal, code migrations, automated refactoring. CX Codex +1 422installs codemod pproenca codemod provides 48 rules across 11 categories for writing reliable AST transformations with ast-grep and JSSG. Useful for automated migrations and refactoring. CX Codex +1 341installs

From the same set5

Project sponsors

Companies that keep this analytics open