voice-update

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Voice Update Skill

语音更新Skill

Provide spoken audio feedback to the user using pocket-tts.
使用pocket-tts向用户提供语音音频反馈。

When to Use

使用场景

  • When finishing a task and a Stop hook reminds to give voice feedback
  • When the user explicitly asks for a spoken summary
  • When providing important status updates that benefit from audio
  • 完成任务且收到Stop钩子提醒需提供语音反馈时
  • 用户明确要求语音总结时
  • 提供适合用音频传达的重要状态更新时

How to Use

使用方法

  1. Summarize what was accomplished in 1-2 short, conversational sentences
  2. Call the
    say
    script with the summary text
  1. 用1-2句简短、口语化的句子总结已完成的内容
  2. 调用
    say
    脚本并传入总结文本

Calling the Say Script

调用Say脚本

Use Bash to call the say script:
bash
${CLAUDE_PLUGIN_ROOT}/scripts/say "Your summary here"
Example:
bash
${CLAUDE_PLUGIN_ROOT}/scripts/say "I've fixed the bug in the login handler and added the unit tests."
With a specific voice:
bash
${CLAUDE_PLUGIN_ROOT}/scripts/say --voice azure "Task completed successfully."
使用Bash调用say脚本:
bash
${CLAUDE_PLUGIN_ROOT}/scripts/say "Your summary here"
示例:
bash
${CLAUDE_PLUGIN_ROOT}/scripts/say "I've fixed the bug in the login handler and added the unit tests."
使用特定语音:
bash
${CLAUDE_PLUGIN_ROOT}/scripts/say --voice azure "Task completed successfully."

Summary Guidelines

总结规范

  • Keep it to 1-2 sentences maximum
  • Be conversational, not robotic
  • Match the user's communication style - if they're casual or use colorful language, mirror that tone
  • Focus on what was accomplished, not technical details
  • Avoid code snippets, file paths, or technical jargon
  • Examples:
    • "I've updated the configuration file and restarted the server."
    • "The tests are now passing. I fixed three type errors."
    • "Done! I created the new component and added it to the main page."
  • 最多1-2句话
  • 口语化表达,避免生硬机械
  • 匹配用户的沟通风格——如果用户语气随意或使用生动语言,要呼应这种语气
  • 重点说明已完成的内容,而非技术细节
  • 避免代码片段、文件路径或技术术语
  • 示例:
    • "我已更新配置文件并重启了服务器。"
    • "测试现在全部通过,我修复了三个类型错误。"
    • "完成!我创建了新组件并将其添加到主页面。"

Notes

注意事项

  • The say script auto-starts the pocket-tts server if not running (first use may take ~30-60s)
  • Requires
    uvx
    and
    afplay
    (macOS) or
    aplay
    (Linux)
  • 如果pocket-tts服务器未运行,say脚本会自动启动它(首次使用可能需要约30-60秒)
  • 依赖
    uvx
    afplay
    (适用于macOS)或
    aplay
    (适用于Linux)