Claude Code 插件在后台纠错英语
AI 总结
开发者 /u/jaklimoff 在 r/ClaudeAI 自述中发布了一款免费、采用 MIT 许可的单文件 Claude Code 插件,可在提示词发送后调用 Claude Haiku 在后台检查英语。提示词会立即提交,错误、修正建议、简短解释及偶尔出现的自然改写稍后显示;用户还可分别关闭检查或隐藏改写。开发者称工具会忽略小写文本、随意标点、代码和粘贴的日志,每次检查均使用现有 Claude Code 会话。
深度见解
该插件可在不延迟提示词提交的情况下提供异步语言反馈,但其功能和数据处理说法尚未经过独立测试。
I write in English all day when talking to Claude, but I don't get much better at it. Claude figures out what I mean even when I butcher a sentence, and we move on. I keep making the same mistakes because nobody points them out.
So I made a small mod that does.
After you send a prompt, Haiku checks your English in the background. A few seconds later, a dim line appears underneath: mistakes crossed out in red, corrections in green, and a short explanation. If the sentence sounds like something translated word for word, you may also get a more natural version.
Your prompt goes through immediately. You can keep working and glance at the corrections whenever.
The part I spent the most time on was getting it to shut up about things I don't care about. I don't need a reminder to capitalize my sentences every time I ask Claude to fix a bug. It leaves lowercase, casual punctuation, "dont", "pls", code, and pasted logs alone. The extra rewrite is deliberately rare too.
Each check is a small Haiku call through your existing Claude Code session. Nothing goes anywhere else. /grammar off disables it, and /grammar natural off hides just the rewrite.
I built it with Claude Code itself. Claude wrote most of the code and tests, and even recorded the demo GIF with vhs. Getting the proofreading prompt right took more work than the actual mod.
It's free, MIT licensed, and one file: https://github.com/jaklimoff/claude-grammar
To install: /plugin marketplace add jaklimoff/claude-grammar /plugin install grammar@grammar
Other non-native speakers: would this help you, or would you get tired of seeing your mistakes while trying to get work done? submitted by /u/jaklimoff
[link] [comments] |