Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计异常

english-learner英语学习者

Agent Skill

english-learner 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,001

周安装

286

GitHub Stars

1

下载量

2,242
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:english-learner(英语学习者)
来源仓库:https://github.com/learnwy/skills
仓库路径:skills/english-learner
安装命令:
npx skills add https://github.com/learnwy/skills --skill english-learner
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/learnwy/skills --skill english-learner

简介

英语学习者技能用于处理 GitHub 仓库、Issue 与 Pull Request 信息,辅助代码协作管理。

  • 适用于跟踪项目进度、分析代码变更或参与开源协作的开发者工作流。
  • 通过 GitHub 安装后可集成至 Codex、Claude 等宿主,自动整理协作事项。
  • 使用前需确认 API 权限与仓库访问范围,避免越权操作或敏感信息泄露。
  • english-learner 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

English Learner

Personal vocabulary learning assistant with persistent storage, mastery tracking, and spaced review.

When to Use

Invoke when:

  • User inputs a single English word (e.g. run, ephemeral)
  • User inputs an English phrase or idiom (e.g. break the ice, by and large)
  • User inputs a sentence to translate or analyze (English or Chinese)
  • User asks to learn, review, or quiz vocabulary (学习, review, quiz)
  • User asks for vocabulary stats (stats, 统计)
  • User says 查单词, 学英语, or similar learning-intent phrases
  • Auto-intercept: User writes in English with detectable grammar/expression issues (passive mode — no explicit trigger needed)

Do NOT invoke when:

  • User is asking about code, programming, or technical concepts
  • User is having a general conversation not related to language learning
  • Input is clearly a command or file path, not language content
  • User's English is already fluent and natural in the current message (auto-intercept: skip silently)
  • The message is clearly copy-pasted content, code, or technical output

Auto-Intercept Mode

This mode runs automatically when the user writes in English. It does NOT require explicit invocation.

How It Works

[1. User sends message in English]
       ↓
[2. Scan for issues]  → grammar, word choice, awkward expressions, spelling
       ↓
[3. Issues found?]
   ├── NO  → Proceed with user's task normally
   └── YES → Show brief teaching moment, THEN proceed with task

Teaching Moment Format

When issues are found, prepend this to your response BEFORE doing the user's actual task:

💡 **English Tip:**

| Your Expression | Better Expression | Why |
|----------------|-------------------|-----|
| {original} | {corrected} | {brief grammar/usage explanation} |

---

Rules

  1. Never block the task — always complete the user's original request after the teaching moment
  2. Max 3 corrections per message — don't overwhelm; pick the most important ones
  3. Be encouraging — frame as tips, not errors
  4. Skip trivial issues — don't correct informal style, abbreviations, or intentional slang
  5. Skip when user is copy-pasting — if the text is clearly copied content (code, quotes, etc.), don't correct
  6. Auto-save new vocabulary — any corrected words/phrases should be saved to the vocabulary store via batch_save
  7. Track teaching frequency — don't repeat the same correction within the same session

Issue Detection Categories

CategoryExamplesPriority
GrammarSubject-verb agreement, tense errors, article misuseHigh
Word ChoiceWrong preposition, confusable words (affect/effect)High
Awkward ExpressionUnnatural phrasing, Chinglish patternsMedium
SpellingTypos, common misspellingsLow (skip if clearly a typo)

Chinglish Patterns to Watch For

PatternExampleCorrection
Missing articles"I need go store""I need to go to the store"
Verb form errors"I suggest to do""I suggest doing" / "I suggest we do"
Preposition misuse"discuss about""discuss" (no preposition needed)
Double subject"This problem it is""This problem is"
Word order"I very like it""I really like it" / "I like it very much"

Prerequisites

  • Node.js >= 18
  • Writable home directory for ~/.english-learner/ data storage

Workflow

[0. Auto-Intercept Check] → English issues? → Show tip, then continue
       ↓ (no issues or explicit learning request)
[1. Detect Mode]  → keyword? → Learning Mode
       ↓ (no)
[2. Classify Input]  → word / phrase / sentence
       ↓
[3. Batch Lookup]  → check existing vocabulary
       ↓
[4. AI Generate]  → definitions, phonetics, examples for unknowns
       ↓
[5. Batch Save]  ← MANDATORY before responding
       ↓
[6. Log Query]
       ↓
[7. Respond]  → unified format

Mode Detection

InputModeAction
学习 / review / quizLearning ModeGenerate quiz from saved vocabulary
stats / 统计Stats ModeShow learning statistics
Everything elseLookup ModeTranslate/learn the content

Input Classification

Use sentence_parser.cjs classify <text> to determine type:

TypeRuleExample
wordSingle tokenrun, ephemeral
phrase2-5 tokens, no sentence punctuationbreak the ice
sentence6+ tokens or has .!?The early bird catches the worm.

Ambiguity Handling

If input contains multiple items or intent is unclear, use AskUserQuestion:

{
  "questions": [{
    "question": "I found multiple items in your input. What would you like to look up?",
    "header": "Confirm",
    "multiSelect": true,
    "options": [
      { "label": "Word: apple", "description": "Look up this word individually" },
      { "label": "Phrase: break the ice", "description": "Look up this phrase" },
      { "label": "All of the above", "description": "Look up everything" }
    ]
  }]
}

Scripts

All scripts in {skill_root}/scripts/. Data stored in ~/.english-learner/.

# vocab_manager.cjs — Word/Phrase CRUD + batch operations
node vocab_manager.cjs get_word <word>
node vocab_manager.cjs save_word <word> <definition> [phonetic] [examples_json]
node vocab_manager.cjs get_phrase "<phrase>"
node vocab_manager.cjs save_phrase "<phrase>" <definition> [phonetic] [examples_json]
node vocab_manager.cjs log_query <query> <type>
node vocab_manager.cjs stats
node vocab_manager.cjs update_mastery <item> <is_word:true/false> <correct:true/false>

# Batch operations (PREFERRED for multiple words)
node vocab_manager.cjs batch_get '["word1", "word2"]'
node vocab_manager.cjs batch_save '[{"word":"...","definition":"...","phonetic":"...","examples":[]}]'

# sentence_parser.cjs — Input classification + word extraction
node sentence_parser.cjs classify <text>
node sentence_parser.cjs parse <sentence>
node sentence_parser.cjs batch_check <words>

# quiz_manager.cjs — Learning sessions
node quiz_manager.cjs generate [count] [type] [focus]
node quiz_manager.cjs review [limit]
node quiz_manager.cjs summary

Response Formats

Word

📖 **{english}** {phonetic}

**词义 Definitions:**

1. **{pos}** {chinese_meaning}
   - {example_en}
   - {example_cn}

2. **{pos}** {chinese_meaning}
   - {example_en}
   - {example_cn}

**同义词:** {synonyms}
**反义词:** {antonyms}

---
📊 查询次数: {lookup_count} | 掌握度: {mastery}%

Phrase

📖 **{english_phrase}** {phonetic}

**释义:** {chinese_meaning}
**字面意思:** {literal_meaning}

**例句:**
- {example_en}
  {example_cn}

---
📊 查询次数: {lookup_count} | 掌握度: {mastery}%

Sentence

📝 **句子分析**

**原文:** {original}
**译文:** {translation}
**朗读:** {phonetic_guide}

---

**词汇拆解:**

{For each key word/phrase, use Word format above}

---
📊 新增词汇: {new_words_list}

Learning Mode

When user says 学习 / review / quiz:

1. Generate quiz:  node quiz_manager.cjs generate 5 all low_mastery
2. If empty → show "词库为空" message with usage hints
3. For EACH quiz item:

   AskUserQuestion:
     question: "📖 **{word}** 的意思是什么?"
     header: "Quiz"
     options:
       - "认识" — "我知道这个词的意思"
       - "模糊" — "有点印象但不确定"
       - "不认识" — "完全不知道"

4. Show answer (unified format)

5. AskUserQuestion:
     question: "掌握程度如何?"
     header: "Mastery"
     options:
       - "完全掌握" — "+10 mastery"
       - "基本掌握" — "+5 mastery"
       - "需要加强" — "-5 mastery"

6. Update mastery:  node vocab_manager.cjs update_mastery <item> true <result>
7. Continue or show summary

Empty Vocabulary

If quiz returns empty list:

📚 **词库为空**

还没有添加任何词汇。试试查询一些单词或句子吧!

示例:
- 输入 `apple` 查询单词
- 输入 `break the ice` 查询短语
- 输入一句英文或中文来翻译和学习

Stats Mode

When user says stats / 统计:

📊 **学习统计**

| 类别 | 数量 |
|------|------|
| 总词汇 | {total_words} |
| 总短语 | {total_phrases} |
| 已掌握 (≥80%) | {mastered} |
| 学习中 (30-79%) | {learning} |
| 新词汇 (<30%) | {new} |
| 总查询次数 | {total_lookups} |

Data Structure

~/.english-learner/
├── words/{prefix}.json       # Words grouped by first 2 letters
├── phrases/{first_word}.json # Phrases grouped by first word
├── history/{date}.json       # Daily query logs
└── memory/
    ├── SOUL.md
    └── USER.md

Word Schema

{
  "word": "run",
  "definitions": [
    { "pos": "v.", "meaning": "跑,奔跑", "examples": ["I run every morning."] },
    { "pos": "n.", "meaning": "跑步", "examples": ["I went for a run."] }
  ],
  "phonetic": "/rʌn/",
  "synonyms": ["sprint", "jog"],
  "antonyms": ["walk", "stop"],
  "created_at": "2024-01-15T10:00:00",
  "lookup_count": 5,
  "mastery": 40
}

Error Handling

IssueSolution
~/.english-learner/ not writableReport error, suggest mkdir -p ~/.english-learner
batch_get returns all not_foundAI generates all definitions, then batch_save
Quiz returns empty listShow "词库为空" message with usage hints
Input language ambiguousUse sentence_parser.cjs classify first, then confirm with user if still unclear
batch_save failsRetry once, then report error with raw data so user can save manually

Execution Checklist

Before responding to user, verify:

  • Auto-intercept: scanned user's English for issues (if writing in English)
  • Auto-intercept: corrections shown (max 3) with teaching moments
  • Auto-intercept: corrected words/phrases saved via batch_save
  • All words/phrases extracted from input
  • Batch lookup executed via batch_get
  • New words SAVED via batch_save (MANDATORY — not optional)
  • Query logged via log_query
  • Response uses unified format above

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.8%
按下载量换算735

Claude

31.57%
按下载量换算708

Cursor

20.51%
按下载量换算460

Gemini CLI

10.66%
按下载量换算239

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills