
JA Biz Lint - Business Japanese Readability
For people and AI agents writing Japanese business documents in VS Code. JA Biz Lint finds specific readability risks in the current Markdown or plain-text document and returns a concise repair target for the next rewrite.
It analyzes text locally with a Rust binary and an embedded Japanese dictionary. The extension never needs an external language model or a network request to calculate its diagnostics.
Japanese: README.ja.md
What It Checks
- BIZ-01: very long sentences and unusually uniform sentence lengths
- BIZ-02: repeated
の noun chains and overuse of formal nouns such as こと, ため, and 場合
- BIZ-03: repeated sentence endings and ending-style entropy
- BIZ-04: large distance between a subject marker and the predicate
- BIZ-05: repeated abstract Sino-Japanese nouns, long kanji runs, abstract conjunctions, and high Yule's K
- BIZ-06: concentrated passive forms and missing human or organizational subjects
JA Biz Lint is a readability aid. It does not determine whether text was written by AI or a particular person, and the score is not a proof of naturalness.
Quick Start
- Install the extension:
code --install-extension ShunsukeF.ja-biz-lint
- Open a Markdown or plain-text document.
- Edit the document. The status bar shows the current naturalness score, and VS Code Problems shows line-level diagnostics with repair suggestions.
- Run
JA Biz Lint: Analyze Current Document to force a fresh scan.
Before and After
Without JA Biz Lint, Japanese style reviews depend on reading each sentence and manually spotting repeated こと, passive sentences, noun chains, and uniform rhythm.
With JA Biz Lint, each detected pattern has a rule ID, line, excerpt, numeric context, and a concrete repair suggestion. The same result is available to VS Code and to an MCP client.
AI Agent Workflow
The extension registers lint_business_japanese through its MCP server provider. The tool accepts either text or an absolute UTF-8 file_path and optionally a target_score.
The result contains:
naturalness_score
summary
diagnostics
status: PASS or NEEDS_REPAIR
needs_self_repair
agent_instruction
An agent should rewrite the warnings, then call the tool again. It must not claim that a score proves human authorship.
Settings
| Setting |
Default |
Purpose |
ja-biz-lint.enabled |
true |
Enable or disable automatic analysis |
ja-biz-lint.debounceMs |
400 |
Delay analysis after an edit |
Requirements and Scope
- VS Code
1.105.0 or later
- Japanese Markdown and plain-text documents
- Windows x64, Linux x64/arm64, or macOS x64/arm64 with the matching platform package
- Trusted workspaces are required because the extension executes its bundled native binary
The analyzer skips fenced code blocks, headings, empty lines, tables, and horizontal rules. It intentionally reports a heuristic reading signal, not legal, linguistic, or factual correctness.
Privacy
Document text is sent only to the bundled local ja-biz-lint process through standard input. The extension does not call an external LLM or upload document text. MCP file analysis reads the path supplied by the MCP client.
Commands
JA Biz Lint: Analyze Current Document
Limitations
- Japanese-only analysis
- No dependency analysis for every possible Japanese sentence structure
- Statistical thresholds are guidance for business documents, not universal writing standards
- Very short text can produce too little evidence for a stable statistical interpretation
Support
Licensed under MIT.