v0.2.4 — Modern linter for agent instructions files (CLAUDE.md, AGENTS.md, .cursorrules). Detects dead rules, token waste, contradictions, duplicates, stale @-refs, and config-redundant rules (TypeScript strict, Prettier, ESLint, EditorConfig, C# project settings). Cl100k_base token budget tracking, interactive refactoring walkthrough for oversized files, host-orchestrated LLM verification (no API key). Supports Claude Code, Codex, Cursor. 487 tests. Self-linting since v0.2.3. Release cadence: multiple releases per month. Differentiator: CLI+skill two-pass verification workflow and bucket-split decision guidance vs plain token counters.
npm install instrlintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quick-start for running instrlint via npx: default scan, Chinese output, CI mode, auto-fix, and skill installation for Claude Code slash commands.
Restart Claude Code after running `npx instrlint install --claude-code`.
Commit or stash changes before running `instrlint --fix`.
Only use the CLI interface; do not depend on internal modules.
Use `--lang zh-TW` for Traditional Chinese output.
Use `--verify` to get LLM-validated findings or run `instrlint` without flags for default walkthrough.
Manually review any custom .ruleset or .globalconfig rules not covered.
Create a CLAUDE.md or AGENTS.md file, or run `npx instrlint` from the project root containing one.
Run `npx instrlint@latest` instead of `instrlint`.
Commit or stash changes: `git stash push -m "pre-instrlint-fix"` then run `instrlint --fix`.
Use `npx instrlint` or `instrlint` from the command line; instrlint has no programmatic API.
Use one of: claude-code, codex, cursor. Or omit --tool to auto-detect.
No dependency data recorded yet.