/english-buddy:drill [--category <name>] [--rounds N]from english-buddy
Generates spot-quiz sentences targeting your top recurring English mistakes, asks you to correct them, and grades your answer. Supports --category and --rounds flags.
Ships in english-buddy. Installing the plugin adds it to Claude Code.
$ARGUMENTS
| Flag | Default | Meaning |
|---|---|---|
--category <name> | (none) | Restrict drill to one category: spelling / grammar / punctuation / word-choice / article / preposition |
--rounds N | 3 | How many drill sentences to generate |
Use the shared JSONL parser pattern (see ${CLAUDE_PLUGIN_ROOT}/commands/shared/jsonl-parser.md) to read correction history.
node -e "
const { periodStats } = await import('${CLAUDE_PLUGIN_ROOT}/scripts/lib/stats.mjs');
console.log(JSON.stringify(periodStats(365)));
"
If the script fails, read JSONL files directly via Glob + Read following the fallback pattern in ${CLAUDE_PLUGIN_ROOT}/commands/shared/jsonl-parser.md.
If the user has fewer than 5 corrections total across all time, respond: "Not enough history yet to drill. Use Claude Code for a few days first, then try /english-buddy:drill again." and STOP.
Group all corrections by category (spelling, grammar, punctuation, word-choice, article, preposition). Rank by total count. Take the top 3.
If --category was passed, use that single category instead.
For each of the N rounds (default 3):
its got → it has).# Drill Round {1 of N} — Category: {category}
Your recurring pattern: **{original → corrected}** (seen {count} times)
## The Sentence
> {generated sentence with the intentional error}
Rewrite this sentence to fix the error. Reply with the corrected version; I'll grade your answer and show the rule.
After the user replies with a corrected sentence, grade it:
## Grading — Round {N}
| | Target pattern | Your correction | Verdict |
|-|----------------|-----------------|---------|
| Original | {sentence with error} | — | — |
| Expected | {sentence with fix} | — | — |
| You wrote | — | {user's answer} | {Correct / Partial / Incorrect} |
### Rule
{One-sentence explanation of the underlying rule — pulled from the reference skill that covers the target category: grammar-fundamentals, punctuation-rules, or common-non-native-mistakes.}
{If user got it correct: brief reinforcement.}
{If partial: name the thing they missed.}
{If incorrect: state the rule and show the minimal edit.}
After N rounds, emit a summary:
## Drill Summary
| Round | Category | Verdict |
|-------|----------|---------|
| 1 | ... | Correct |
| 2 | ... | Partial |
| 3 | ... | Incorrect |
**Score**: {n/N correct, n/N partial, n/N incorrect}
**Weakest pattern today**: {pattern}
**One tip**: {actionable guideline from the underlying skill}
--category names a category the user has zero mistakes in, fall back to their actual top category and note the fallback in the first round header.What the command file sets; muted values are Claude Code's defaults
sonnet7-day visitors to each command page
npx claudepluginhub xiaolai/english-buddy-for-claude --plugin english-buddy10 commands in this plugin
/configConfigure english-buddy — set language, strictness, toggle auto-correction./mistakesYour top recurring English mistakes — all-time patterns that need attention./previewDry-run review — show what WOULD be corrected in a prompt WITHOUT submitting it or triggering auto-correction. Useful before important prompts, commit messages, or PR descriptions./reviewDeep English review of any text — commit messages, PR descriptions, docs, emails./shared:config-loaderConfig ResolutionShared: unified config load across english-buddy commands/shared:format-reportShared Report SchemasShared: markdown table schemas for stats, mistakes, and today reportsOther plugins' commands for the same job