fluent-grammar
Skill0 starsChanged 19 days agoMITView on GitHub
Grammar practice — the theory of one rule, then five exercises on it and one on a rule from before, scored.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- fluent-db-updaterSkill
- fluent-extensiveSkill
- fluent-feedback-formatterSkill
- fluent-fsrs-referenceSkill
- fluent-learnSkill
- fluent-listeningSkill
- fluent-progressSkill
- fluent-readingSkill
- fluent-reviewSkill
- fluent-session-analyzerSkill
- fluent-setupSkill
- fluent-speakingSkill
- fluent-vocabSkill
- fluent-writingSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
If a database is missing, direct the learner to /fluent-setup and stop.
- Very specific: line 107
Use the fluent-db-updater skill:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Grammar Session
Overview
A session is one rule and one series of five exercises on it, with one exercise on a rule from before mixed in. A rule the learner meets for the first time opens with its theory; a rule they have practised before opens with the exercises, because the series tests what they remember, and its theory comes only after a weak series. The time spent on theory counts as grammar time.
Instructions
0. Load the project's rules
If a skill available in this session says to load it before /fluent-grammar — a project's own rules for this learner, such as which rule comes next — load it now. Where its rules disagree with this plugin's defaults — these steps, the feedback format, the grading — its rules win.
1. Load context
python3 "${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/.claude/hooks/read-db.py"Need: learner-profile (name, native and target language, level), the grammar patterns of mistakes-db with mastery_level <= 2, and the grammar_rule items of spaced-repetition. When target_level is B1, also the grammar targets of .claude/references/level-b1.md. Also, in .databases.session_log.sessions[], the latest entries whose notes start with Слова из Anki:: their Факты: are the learner's own sentences about their life.
If a database is missing, direct the learner to /fluent-setup and stop.
2. Choose the rule
Take the rule the project's rules name. Without one, take the weakest grammar pattern, then the first B1 target that has no pattern yet.
Open the session: greet the learner by name and name the rule. Done when one rule is named and you know how many times the learner has practised it (its repetitions; none on record is zero).
3. Theory — a rule practised zero times
date +%sTeach the rule in the learner's native language, in four parts, in this order:
- What it is for — the job the rule does in speech, in one or two sentences: what the learner can say with it that they could not say without it (the perfect tense: tell what has already happened).
- What it says — the rule itself, short.
- Typical pairs — two everyday sentences a learner at this level really says, each in the native language, then in the simplest target-language version: the shortest sentence, the most frequent verbs.
- One contrast — the form the rule is confused with, as a ❌ and ✅ pair.
Show the parts under their Russian headings: «Зачем оно нужно», «Что оно говорит», «Типичные пары», «Контраст».
End the message on "go?" and wait.
date +%sTheory minutes = (this number − the first) ÷ 60, rounded up. Done when the message held all four parts and the learner has answered "go".
A practised rule skips this step and goes to step 4.
4. Five exercises and one from before
Closed book first. A rule an earlier /fluent-grammar session taught — its result file or session-log note names the rule — opens with «Объясни своими словами, не подглядывая: когда нужно {rule} и как его строить?». The explanation is ungraded. Set it against the rule and name its hole in one or two lines — what is missing or wrong, short of the full theory — and aim at least one exercise of the series at that hole. A rule taught today goes straight to the exercises.
Present them one at a time. The rule is each exercise's only difficulty: keep the rest of the sentence at the learner's level, built from the learner's life — the Факты: of those notes, otherwise an everyday A2 scene.
The series fades: it starts on the rung of the rule's card — its error_pattern or grammar_rule item; a rule with no card starts on scaffold — and moves after each answer as .claude/references/fading.md §Moving says. Build each exercise from its rung's row: build from words and find the error are scaffold forms; complete the sentence, transform and translate a short line carry cue, bare and varied.
One from before. As the third or fourth exercise, put one on another grammar rule the learner has a card for — the one most easily confused with today's: the same verb group, the same slot in the sentence, a pair from .claude/references/chunks-nl.md §Grading traps; with none like that, the grammar card due soonest. Its help follows its own card's rung. Exercises carry no rule name, so the learner has to see which rule the sentence asks for. It is graded like the others and stays out of the series score.
date +%sMark the time when each exercise is sent and when its answer arrives. Exercise minutes = the sum of those gaps in seconds ÷ 60, rounded up once for the whole stretch.
Give feedback after each answer with the fluent-feedback-formatter skill's template, before the next exercise. Done when six answers are graded: five on today's rule, one from before.
5. Score the series
Series score = correct answers out of five × 2. quality follows from it — see the fluent-fsrs-reference skill. The exercise from before keeps its own 0–10 score, for its own card.
A practised rule that scores below 7 gets its theory now, as in step 3, and its minutes join the theory minutes.
Explain again. Then, closed book once more: «Объясни ещё раз — своими словами, не подглядывая.» Ungraded; one line says what is now right or what is still missing. For a rule taught today this is its first explanation. The summary follows the answer. Done when the score and the quality are set and the second explanation is answered.
The six answers count toward computed.session_cap; theory is not a graded answer and does not.
6. Session summary
## 📐 Сессия по грамматике завершена!
**Правило:** {rule}
**Серия:** {correct}/5 → {score}/10
**Из пройденного:** {the rule from before} — {its score}/10
**Время:** {theory minutes} мин теории + {exercise minutes} мин упражнений
**Получилось:** {what the learner applied correctly}
**В следующий раз:** {the one error to watch, or the next rule when the series passed}
{target-language "well done"}! 🌟7. Update all databases
Use the fluent-db-updater skill:
command_used: "/fluent-grammar",skills_practiced: ["grammar"]skill_scores.grammar: {exercises: 6, correct, time_minutes}, withtime_minutes= theory minutes + exercise minutesreview_results[]— one entry for the series on the rule's card: itsitem_id,qualityandscore, five answers being one review; and one for the card of the exercise from before, with that answer'squalityandscorenew_vocabulary[]— when today's rule has no card yet, one for it:item_type: "grammar_rule",item_id: "rule_{name}",content— the rule in a few words,answer— one model sentence from the series,category: "grammar",initial_quality— the series' quality. The card falls due tomorrow, and the series goes here instead of intoreview_results[]errors[]— one per distinct pattern found, categorygrammarfocus_next_session[]— the rule when the series scored below 7, else the next rule; and the hole, while the second explanation still misses itsession_notes—Правило: {rule}. Дыра: {what the first explanation missed}. Второе объяснение: {закрыла | осталось: …}.— the rule's name is how a later session knows it was taught
Save the transcript as fluent-grammar-session-{NNN}.md in the
results/ directory of the path this prints:
python3 "${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/.claude/hooks/fluent_paths.py"Required format: ${CLAUDE_PLUGIN_ROOT:-${CLAUDE_PROJECT_DIR:-.}}/results/README.md. A question is one exercise; the two explanations and the hole go in its ## Explanation section.
Done when fluent-db-updater reports the write and the transcript file exists.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

