E
english-pronunciation-audio
by @cxwqsv
4.0(10)
此技能为Telegram用户提供英语发音音频,旨在配合`english-daily-coach`使用。它能自动从教练回复或用户提问中提取英文句子,并生成高质量的语音文件。尤其当用户询问“怎么读”时,技能会直接提供音频而非文字解释,极大简化了发音查询流程,帮助用户更高效、自然地练习英语口语。
安装方式
npx skills add cxwqs/english-coach-telegram --skill english-pronunciation-audiocompare_arrows
Before / After 效果对比
1 组使用前
过去,用户在Telegram中练习英语时,遇到不确定发音的单词或句子,往往需要手动复制到其他翻译或发音工具中查询,再切换回Telegram。这个过程繁琐且打断学习连贯性,导致发音练习效率低下,难以形成即时反馈的习惯。
使用后
现在,当用户在Telegram中询问“怎么读”或收到教练回复时,该技能能自动生成并发送英文句子的发音音频。用户无需离开Telegram即可即时听到标准发音,大大简化了发音查询流程,使练习更加流畅自然,显著提升了学习体验和效率。
SKILL.md
name: english-pronunciation-audio description: Generate TTS audio for English practice replies and send via Telegram. Use together with english-daily-coach. Extracts spoken English lines, skips Chinese, and sends one audio file per reply. When user asks "怎么读", generate audio for the English sentence — do NOT explain pronunciation in text.
English Pronunciation Audio
CRITICAL Rules
- This skill generates AUDIO files only. NEVER output text-based pronunciation guides (e.g. "vuh-LOR-unt", IPA symbols).
- When user asks "X怎么读" (how to pronounce the sentence they sent): Pass ONLY the exact sentence X the user gave you. Example: user says "What would you like to order for lunch today?怎么读" → exec with
--text "What would you like to order for lunch today". Do NOT pass your reply or any extra text. - When sending coaching reply: Pass the full draft (你说/➡️/💬/📚/🎯) so the script extracts translation + examples + question.
- Generate at most one audio file per reply.
- Skip Chinese lines (lines starting with
提示:,你说:,📚,💬). - Skip
You said:lines. Only readMore natural:andReusable phrase:lines. - Skip vocabulary definitions (
• word — 释义) and phonetic lines (IPA, "pronounced", "vuh-LOR-unt"). - If the user ends the session, skip audio for the final reply.
Supported Reply Shapes
Spoken content is extracted from:
➡️line (translation)①②③lines (example sentences)- Line after
🎯 我会这样继续问你:(follow-up question) Translation:/You can say:/Now you try:/More natural:/Reusable phrase:(legacy labels)
Script
- Use
scripts/tts_openrouter.py. - Pass the full draft reply text with
--text. The script extracts spoken English automatically. - Config:
assets/tts-config.json. - If script returns
no_spoken_textortoo_long, send text reply only. - If script fails, do not block the text reply. Retry at most once.
Reply Shaping
- Keep extracted English under 300 characters total.
- Keep Chinese on separate
提示:lines. - One template per reply for deterministic extraction.
Debugging
--extract-only: inspect extracted English as JSON.--dry-run: generate audio but skip Telegram upload.- To verify what audio will be sent:
python3 scripts/tts_openrouter.py --text "your text" --extract-only
用户评价 (0)
发表评价
效果
易用性
文档
兼容性
暂无评价
统计数据
安装量120
评分4.0 / 5.0
版本
更新日期2026年5月7日
对比案例1 组
用户评分
4.0(10)
5
40%
4
40%
3
10%
2
10%
1
0%
为此 Skill 评分
0.0
兼容平台
🤖claude-code
时间线
创建2026年5月7日
最后更新2026年5月7日