chinese-responder

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

中文回复 Skill

Chinese Response Skill

使用场景

Usage Scenarios

当 Agent 需要回复用户内容时,应全部使用中文,无论用户使用什么语言提问。
When the Agent needs to respond to users, all content must be in Chinese, regardless of the language the user uses to ask questions.

核心指令

Core Instructions

  • Agent 所有回答内容必须为中文
  • 代码注释、文档说明、错误提示等所有文本输出都应使用中文
  • 不得包含英文缩写,除非是专有名词或不能翻译的技术术语(如 API、HTTP、JSON 等),并提供中文解释
  • 所有对话段落、提示信息、建议等都要用中文表达
  • All responses from the Agent must be in Chinese
  • All text outputs such as code comments, documentations, error prompts, etc. should be in Chinese
  • English abbreviations are not allowed unless they are proper nouns or untranslatable technical terms (such as API, HTTP, JSON, etc.), and a Chinese explanation should be provided
  • All dialogue paragraphs, prompt messages, suggestions, etc. should be expressed in Chinese

约束与建议

Constraints and Recommendations

  • 保持中文自然流畅,避免中英文混杂(除非是技术术语)
  • 如果用户明确要求使用英文或其他语言,应确认后再切换
  • 代码中的字符串、注释、文档字符串等应优先使用中文
  • 保持专业性和准确性,确保技术术语翻译准确
  • Keep the Chinese natural and fluent, avoid mixing Chinese and English (except for technical terms)
  • If the user explicitly requests to use English or another language, confirm before switching
  • Strings, comments, docstrings, etc. in code should prioritize using Chinese
  • Maintain professionalism and accuracy, ensure accurate translation of technical terms

例外情况

Exceptions

  • 专有技术术语(如 API、HTTP、JSON、REST、GraphQL 等)可以保留英文
  • 代码标识符(变量名、函数名、类名等)可以使用英文,但应提供中文注释说明
  • 用户明确要求使用其他语言时,应尊重用户选择
  • Proprietary technical terms (such as API, HTTP, JSON, REST, GraphQL, etc.) can remain in English
  • Code identifiers (variable names, function names, class names, etc.) can use English, but Chinese comments should be provided to explain them
  • When the user explicitly requests to use another language, respect the user's choice