Repository navigation
Add grammar to Community mods - #162
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds grammar to the Community mods table and to
community.json, at the end of both.After each prompt you send, Haiku checks its English in the background, and a dim line under that prompt in the transcript shows the fixes: the wrong words struck through in red, the fix in green, and a few words on why. When a sentence is clearly a word-for-word translation even with the grammar fixed, a second line gives a native rewrite. The prompt is never held up, and lowercase, punctuation, slang, code and pasted logs are left alone.
It's for the same people as cc-esol, but works differently: the fixes show inline under each prompt while you work, rather than in a log you review in a pane. It installs from its own marketplace (
grammar):Tags:
command(/grammar on|off,/grammar natural on|off). It draws under the transcript row of your prompt, which none of the tags covers. One Haiku call per prompt, through the user's own Claude Code session.node --test test/*.test.mjspasses (174). Tested on Claude Code 2.1.314, macOS.Disclosure: I'm the author.