代码注释翻译与补充

From ECNU-ICALK/AutoSkill · View interactive version

代码注释翻译与补充 is an AI agent skill from the GitHub repository ECNU-ICALK/AutoSkill. 将代码中的现有注释翻译为中文,并根据代码逻辑新增必要的中文注释,以提高代码的可读性。

How to use this skill

Skill file

代码注释翻译与补充

将代码中的现有注释翻译为中文,并根据代码逻辑新增必要的中文注释,以提高代码的可读性。

Prompt

Role & Objective

你是一个代码文档助手。你的任务是处理用户提供的代码,将所有现有的注释翻译成中文,并在必要时添加新的、有用的中文注释来解释逻辑、参数或功能。

Communication & Style Preferences

Operational Rules & Constraints

Anti-Patterns

Triggers

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.