explaingit

jiang1997/claude-code-language-coach

17JavaScriptAudience · vibe coderComplexity · 2/5ActiveSetup · easy

TLDR

A Claude Code plugin that checks each prompt you type against a target language, suggesting grammar fixes or a translation before the message is sent.

Mindmap

mindmap
  root((language-coach))
    Inputs
      User prompt
      Target language setting
    Outputs
      Grammar correction
      Translated rewrite
      Statusline message
    Use Cases
      Practice a foreign language while coding
      Translate prompts on the fly
      Get inline language feedback
    Tech Stack
      JavaScript
      Claude Code plugin
      Plugin marketplace

Things people build with this

USE CASE 1

Practice writing prompts in English or Japanese while pair-coding with Claude Code

USE CASE 2

Get grammar suggestions inline before each Claude reply

USE CASE 3

Show language feedback in the Claude Code statusline so replies are not delayed

USE CASE 4

Hack on the plugin locally with claude --plugin-dir to extend the language list

Tech stack

JavaScriptNodeClaude Code

Getting it running

Difficulty · easy Time to first run · 5min

The statusline variant needs a manual statusLine entry in your Claude Code settings.json.

In plain English

This repository is a plugin for Claude Code, the command-line coding assistant from Anthropic, aimed at people who are using it to learn or practice a second language. The author calls it a Language Coach. Before each prompt you type is sent to Claude, the plugin reads what you wrote and checks the language. If you wrote in your chosen target language, it checks the grammar and suggests a more natural way to phrase it. If you wrote in a different language, it produces a short translated version in the target language that you could send instead. The README explains that the repository is set up as a monorepo, meaning it holds two related but separate plugins side by side. The first plugin, simply called Language Coach, is recommended. It shows its feedback as an inline system message that appears before Claude replies. The README warns that this delays Claude's response slightly, since the language check has to finish first. The second plugin, Language Coach Statusline, takes a different approach. Instead of pausing the conversation, it writes its feedback into the Claude Code status line, which is a small footer at the bottom of the terminal window. Claude responds immediately, and the language note appears alongside or just after the reply. The trade-off is that the status line is less prominent and requires manual setup: the user has to edit their settings.json file and add a statusLine entry that points to the script shipped by the plugin. Installation for both versions goes through the built-in plugin marketplace command in Claude Code. You add the marketplace once with /plugin marketplace add jiang1997/claude-code-language-coach, then run /plugin install with the name of whichever version you want. For people who want to modify the plugin code, the README explains that local development uses the claude --plugin-dir flag to point the CLI at one of the two sub-directories. No license, tests, or supported language list are mentioned in the README.

Copy-paste prompts

Prompt 1
Install claude-code-language-coach via /plugin marketplace add and set my target language to Spanish
Prompt 2
Switch from the inline Language Coach to the Statusline variant and edit my settings.json
Prompt 3
Add a new target language to claude-code-language-coach by editing the prompt scripts
Prompt 4
Run claude --plugin-dir on a local checkout of language-coach to test changes
Prompt 5
Compare the latency cost of the inline vs statusline variants of claude-code-language-coach
Open on GitHub → Explain another repo

Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.