AgentSkillsCN

vocab-enrichment

在丰富课程模块中的词汇部分时使用本技能。为每个词条补充国际音标发音、词性标注、语法信息,以及用法说明。适用于词汇表制作、单词列表整理,或开展词汇扩充任务时触发。

SKILL.md
--- frontmatter
name: vocab-enrichment
description: Use this skill when enriching vocabulary sections in curriculum modules. Adds IPA pronunciation, part of speech, grammatical info, and usage notes. Triggers when working on vocabulary tables, word lists, or running vocab enrichment tasks.
allowed-tools: Read, Glob, Grep, Edit, Write, Bash

Vocabulary Enrichment Skill

You are a vocabulary enrichment specialist for language learning curriculum. Add pronunciation, grammatical info, and usage notes to vocabulary entries.

When This Skill Activates

  • Enriching vocabulary sections in modules
  • Adding IPA pronunciation to word lists
  • Completing vocabulary table columns
  • Running vocab enrichment scripts

Supported Languages

LanguageVocab ReferenceFormat Spec
Ukrainiancurriculum/l2-uk-en/vocabulary.dbdocs/MARKDOWN-FORMAT.md

When new languages are added, their vocabulary files will follow the same pattern.

Enrichment Workflow

  1. Identify target language from file path
  2. Read module vocabulary section
  3. For each word, add:
    • IPA pronunciation (with stress) - A1-A2 only
    • Part of speech
    • Grammatical info (gender, case requirements, etc.)
    • Usage notes if relevant
  4. Use script for batch enrichment (if available):
    bash
    npm run vocab:enrich {lang-pair} [moduleNum]
    

Common Notes (All Languages)

NoteWhen to use
colloq.Colloquial usage
formalFormal register
lit.Literary/written
impfImperfective aspect
pfPerfective aspect
irreg.Irregular form

Reference Files

  • docs/MARKDOWN-FORMAT.md - Format specification
  • claude_extensions/quick-ref/{level}.md - Level-specific constraints

Ukrainian-Specific Reference

Module Structure by Level

LevelModulesFolder
A1M01-34curriculum/l2-uk-en/a1/
A2M01-50curriculum/l2-uk-en/a2/
B1M01-86curriculum/l2-uk-en/b1/
B2M01-110curriculum/l2-uk-en/b2/
C1M01-160curriculum/l2-uk-en/c1/
C2M01-100curriculum/l2-uk-en/c2/
LITM01-30curriculum/l2-uk-en/lit/

Vocabulary Table Formats by Level

A1-A2 (English header, 6 columns)

markdown
# Vocabulary

| Word | IPA | English | POS | Gender | Note |
|------|-----|---------|-----|--------|------|
| слово | /ˈslɔwɔ/ | word | n | n | - |

B1+ (Ukrainian header, 3 columns)

markdown
# Словник

| Слово | Переклад | Примітки |
|-------|----------|----------|
| слово | word | ім.с., н. |

Note: B1+ uses simplified 3-column format. The 5-column format with Вимова/IPA triggers "transliteration" audit errors.

Part of Speech Abbreviations

EnglishUkrainianMeaning
nім.с.noun (іменник)
vдієсл.verb (дієслово)
adjприкм.adjective (прикметник)
advприсл.adverb (прислівник)
prepприйм.preposition (прийменник)
conjспол.conjunction (сполучник)
pronзайм.pronoun (займенник)
numчисл.numeral (числівник)
partчаст.particle (частка)
interjвигукinterjection (вигук)
phrвиразphrase (вираз)

Gender Abbreviations

EnglishUkrainianMeaning
mч.masculine (чоловічий)
fж.feminine (жіночий)
nн.neuter (середній)
plмн.plural only (множина)

IPA Guidelines for Ukrainian (A1-A2 only)

Vowels

LetterIPANotes
а/ɑ/open back
е/ɛ/open-mid front
и/ɪ/near-close near-front
і/i/close front
о/ɔ/open-mid back
у/u/close back
я/jɑ/or /ʲɑ/ after consonant
є/jɛ/or /ʲɛ/ after consonant
ї/ji/always two sounds
ю/ju/or /ʲu/ after consonant

Consonants (key distinctions)

LetterIPANotes
г/ɦ/voiced glottal fricative
ґ/ɡ/voiced velar stop (rare)
щ/ʃtʃ/two sounds
ь/ʲ/palatalization marker

Stress

  • Mark stressed syllable with /ˈ/ before it
  • Example: слово → /ˈslɔwɔ/

Ukrainian Case Notes

NoteWhen to use
+ AccTakes accusative case
+ GenTakes genitive case
+ LocTakes locative case
+ DatTakes dative case
+ InstTakes instrumental case

Vocabulary Commands

bash
# Enrich specific module
npm run vocab:enrich l2-uk-en [moduleNum]

# Rebuild vocabulary database after all modules complete
npm run vocab:rebuild

Vocabulary Database Schema

Location: curriculum/l2-uk-en/vocabulary.db (SQLite)

Schema:

sql
CREATE TABLE vocabulary (
  id INTEGER PRIMARY KEY,
  level TEXT,
  module INTEGER,
  lemma TEXT,
  ipa TEXT,
  translation TEXT,
  pos TEXT,
  gender TEXT,
  aspect TEXT,
  pair TEXT,
  note TEXT
);

Usage:

  • Global vocabulary searches
  • Duplicate detection
  • Cross-level vocabulary tracking
  • Cumulative vocabulary counting

Vocabulary Targets by Level

LevelCumulative VocabNew This Level
A1~750750
A2~1,8001,050
B1~3,3001,500
B2~5,9402,640
C1~9,7803,840
C2~12,2802,500

Common Issues

Missing IPA

Cause: espeak-ng not installed or Ukrainian voice missing Fix:

bash
brew install espeak-ng

Duplicate Lemmas

Cause: Same word added in multiple modules Fix: Check if word belongs in both contexts or remove duplicate

Incorrect Gender

Cause: espeak-ng misidentification Fix: Manually correct in YAML, re-run enrichment