How coji/natural-japanese works
natural-japanese is an agent skill for making Japanese work documents read naturally while preserving their facts and certainty. The main workflow is: an agent reviews a draft, uses deterministic lint findings and document-inspection tools to guide contextual edits, then checks the revision against the original. The repository also provides a separate critical-thinking skill for decision documents, with full and staged review, clarification, and rewrite modes. The README documents these capabilities, but the skill instructions and most critical-thinking implementation are not in the supplied tree; those links are therefore kept at the supported directory level.
Main entry points: lint.py Japanese lint · scripts Critical-thinking skill · newfacts.py New-fact check · textcore.py Text analysis core
Components 14
Japanese editing
- Japanese lint
skills/natural-japanese/scripts/lint.py - Text analysis core
skills/natural-japanese/scripts/textcore.py
Document inspection
- Paragraph units
skills/natural-japanese/scripts/paragraphs.py - Outline report
skills/natural-japanese/scripts/outline.py - Term checks
skills/natural-japanese/scripts/terms.py - Semantic checks
skills/natural-japanese/scripts/semantic.py - Calque candidates
skills/natural-japanese/scripts/calques.py - New-fact check
skills/natural-japanese/scripts/newfacts.py - Calibration
skills/natural-japanese/scripts/calibrate.py
Critical thinking
- Critical-thinking skill
skills/critical-thinking/scripts - Coverage analysis
skills/critical-thinking/scripts/coverage.py
Other components
- Agent / writer
- Source draft
- Revised document
Connections 14
- Source draft → Agent / writer: requests editing
README.md - Agent / writer → Japanese lint: runs detection
README.md - Japanese lint → Text analysis core: uses shared analysis
skills/natural-japanese/scripts/lint.py - Agent / writer → Paragraph units: inspects paragraphs
README.md - Agent / writer → Outline report: inspects structure
README.md - Agent / writer → Term checks: checks terminology
README.md - Agent / writer → Calque candidates: checks calques
README.md - Agent / writer → New-fact check: checks added facts
README.md - Agent / writer → Semantic checks: uses semantic checks
- Agent / writer → Calibration: uses calibration
- Agent / writer → Revised document: writes revision
README.md - Revised document → New-fact check: compares with source
README.md - Agent / writer → Critical-thinking skill: runs decision review
README.md - Critical-thinking skill → Coverage analysis: uses coverage tool