textlint
$ textlint Community Low Risktextlint is a pluggable natural-language and technical-writing linter for Markdown, plain text, and HTML. It gives agents --format json, --no-color, --quiet, and --fix --dry-run to preview or apply automated prose fixes safely.
npm install -g textlint Local prose linting and JSON diagnostics via textlint --format json execute directly on repo files without MCP latency.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Built-in --format json, --quiet, --no-color, --fix --dry-run, and non-zero error exit codes provide everything an agent needs for structured prose linting.
- Native
--format jsonand--no-colorflags - Supports
--fix --dry-runpreview mode
Read-only by default and supports --dry-run alongside --fix to verify edits before touching disk.
--fix --dry-runprevents unintended file writes
Installable via npm or npx, though it does nothing until rule packages (textlint-rule-*) are installed and configured in .textlintrc.
- Requires separate
textlint-rule-*packages to enforce rules
Strong fit for technical writing, terminology consistency, and Japanese/English documentation gates.
- Rich ecosystem of natural-language lint and auto-fix rules
Established open-source project (textlint/textlint) under MIT with consistent maintenance.
- Active
textlint/textlintrepository
Well-documented CLI options and configuration guide at textlint.org.
- Official CLI reference at textlint.org/docs/cli.html
Security, Auth & Guardrails
None required; reads local .textlintrc* config and document files.
100% free, offline, and MIT open-source.
# textlint Agent Rules - Always run `textlint --format json --no-color` for structured diagnostics. - Test automated edits with `textlint --fix --dry-run` before running `--fix` in place.
Agent-Ready Command Recipes
Safe Read-Only Queries
textlint --format json --no-color docs/
Evaluates .textlintrc prose rules across docs/ and prints a structured JSON array of line/column messages.
textlint --fix --dry-run --format json docs/
Simulates --fix rules without writing any changes to disk.
Controlled Writes & Previews
textlint --fix --format json docs/
Updates files in docs/ for auto-fixable rules and reports remaining issues in JSON.
Strengths for Agents
- + Native
--format jsonand--no-colorproduce clean machine-readable prose diagnostics. - +
--fix --dry-runlets agents preview natural-language fixes safely before writing. - + Pluggable architecture supports custom terminology and multilingual prose rules.
Caveats & Pitfalls
- ! Ships with zero active rules by default; requires installing
textlint-rule-*packages and.textlintrc. - ! Natural-language rule plugins can load slower than native Rust/Go linters on very large repositories.