AGENT SKILL
add
Manually add a word to the deck
- License 许可
- Apache-2.0
- 所属仓库
- boltguo/aouo
- 最近更新
- 2026-11-12
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- add
- pack
- vocab
- command
- true
- triggers
- [ "add word", "加单词", "添加单词", "learn this word" ]
- description
- Manually add a word to the deck
03 SKILL.md 正文
Add Word
Insert a user-supplied word into the deck, with LLM-filled definitions and example.
Goal
Take a bare word from the user, enrich it, and queue it as a new card.
Procedure
-
Identify the word
- If the user typed exactly one word, use it.
- If they typed a phrase ("learn this word: pristine"), extract the target token.
- If multiple words ("ubiquitous, pristine, candid"), confirm: "Add all three?" — proceed only on a clear yes.
-
Check duplicates
SELECT id, cefr_level FROM words WHERE word = ?— if exists, tell the user and ask if they want to reset its schedule (rare path; usually skip).
-
Enrich with LLM Generate in one call:
- CEFR level estimate (A2 / B1 / B2 / C1 / C2)
- IPA pronunciation
- One short English definition
- One short Chinese definition
- One natural example sentence in English
- One Chinese translation of that example
-
Insert + queue
- Insert into
words. - Insert into
cardswithstatus='new',next_due=date('now'),interval_index=0.
- Insert into
-
Acknowledge
- "Added <word> (~<level>). I'll surface it in your next session."
- Show the def_zh + example to confirm.
Rules
- Don't invent obscure or archaic words — if the user-supplied token isn't a real, modern English word, ask for confirmation before adding.
- Keep the example sentence natural and short (≤ 15 words).
04 同仓库更多 Skills
dummy
Placeholder skill so the pack manifest validates.
★ 2
greeting
A simple greeting skill that says hello.
★ 2
study
Daily review session — show due cards, collect ratings, advance the schedule
★ 2
report
Weekly progress report — cards reviewed, lapses, mastered words, streak
★ 2
onboarding
First-time setup for the Vocab Trainer — explain the flow and route to placement assessment
★ 2
assess
CEFR placement test — 30 questions, estimate level, seed initial deck
★ 2