Skip to content

mlkgrnt/Learn-Language

Repository files navigation

Language Learning Assistant

An interactive language learning system for Claude Code, powered by AI. Import your own textbooks, extract structured learning materials, and follow a personalized curriculum — all through natural conversation.

Three skills: /process-material (import & extract), /learn-language (learn & practice), and /practise (free conversation). Supports any language pair.


Read this in other languages:

English | 简体中文 | 繁體中文 | Español


What's New in v2.1

  • Trigger conditions — clear guidance on when to use each skill
  • 16 examples — detailed input→output examples for all scenarios
  • Quality checklists — self-verification after each skill use
  • Error handling — graceful fallbacks for common failures
  • Version history — track changes across releases

Previous v2 Features

  • Spaced repetition — vocabulary mastery scores and grammar review scheduling built in. Every 5th lesson is a review lesson.
  • Unified stateprogress.json + course.json merged into a single state.json. One file to rule them all.
  • /practise mode — free conversation in your target language with real-time error correction.
  • Auto-continuation — returning to a course skips setup and shows your progress card immediately.

Quick Start

One-click install:

# Linux / Mac
bash <(curl -s https://raw.githubusercontent.com/mlkgrnt/Learn-Language/main/setup.sh)

# Windows (PowerShell)
irm https://raw.githubusercontent.com/mlkgrnt/Learn-Language/main/setup.py | python

# Or clone and run manually
git clone https://github.com/mlkgrnt/Learn-Language.git
cd Learn-Language
python setup.py          # cross-platform
bash setup.sh            # Linux / Mac
setup.bat                # Windows
  1. Place materials in materials/input/ (PDF, Word, Excel, CSV, etc.)
  2. Open Claude Code and run /process-material to extract vocabulary, grammar, and passages
  3. Run /learn-language to start interactive lessons
  4. Use /practise anytime for free conversation practice

Skills Overview

/process-material — Material Processor

Import raw teaching materials and convert them to structured data.

When to use:

  • You have textbooks (PDF, Word, Excel) to process
  • You want to extract vocabulary, grammar, or reading passages
  • You are setting up a new learning project

/learn-language — Language Tutor

Interactive lessons with spaced repetition and progress tracking.

When to use:

  • You want to learn a new language
  • You want to continue a previous learning session
  • You want structured vocabulary, grammar, reading, writing, or culture lessons

/practise — Conversation Practice

Free-form conversation in your target language with real-time correction.

When to use:

  • You want to practice speaking/writing
  • You want informal conversation practice
  • You want to test your skills in a low-pressure setting

Error Handling

Each skill handles common failures gracefully:

  • Encoding detection failure → Falls back to common encodings (UTF-8, GBK, Shift-JIS)
  • PDF conversion failure → Suggests alternative methods (OCR, online tools)
  • State file corruption → Auto-recovers from backup or starts fresh
  • Missing materials → Suggests running /process-material first

See Also


License

MIT

About

我不知道啊我觉得学习语言很困难于是就做了这个skill来帮助自己学习。祝大家早日掌握八国语言。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors