一键导入
code-comment-optimizer
Optimizes and completes code comments for C# projects. Invoke when user requests code comment optimization or completion for their project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Optimizes and completes code comments for C# projects. Invoke when user requests code comment optimization or completion for their project.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Implements background music fade-in/fade-out functionality for smooth transitions. Invoke when user needs to add or modify BGM transition effects in the audio system.
Provides expertise on the debate system implementation for the Sango Infinity project. Invoke when user needs information about the debate system structure, components, or implementation details.
Manages diplomacy events using JSON configuration and mod integration. Invoke when working on diplomacy event system changes, JSON configuration, or mod-related features.
Optimizes game AI for strategy games, including troop movement, city defense evaluation, and decision-making. Invoke when user needs to improve AI behavior or fix AI-related issues.
Manages in-game messages for city capture, character transfer, and prisoner actions. Invoke when implementing or modifying game message functionality.
Provides knowledge and implementation guidance for turn-based strategy game skill systems. Invoke when working on skill-related features, debugging skill issues, or optimizing skill performance.
基于 SOC 职业分类
| name | code-comment-optimizer |
| description | Optimizes and completes code comments for C# projects. Invoke when user requests code comment optimization or completion for their project. |
This skill helps optimize and complete code comments for C# projects, ensuring clear, consistent, and comprehensive documentation.
param tagsreturns tagsexception tags if applicableUse XML-style comments for C# code:
/// <summary>
/// Brief description of the class, property, or method
/// </summary>
/// <param name="paramName">Description of the parameter</param>
/// <returns>Description of the return value</returns>
Before:
public class Map
{
public int Width { get; internal set; }
public int Height { get; internal set; }
public void Load(Scenario scenario)
{
// Load map data
}
}
After:
/// <summary>
/// 地图类,管理游戏地图的加载、创建和路径查找等功能
/// </summary>
public class Map
{
/// <summary>
/// 地图宽度
/// </summary>
public int Width { get; internal set; }
/// <summary>
/// 地图高度
/// </summary>
public int Height { get; internal set; }
/// <summary>
/// 加载地图
/// </summary>
/// <param name="scenario">场景对象</param>
public void Load(Scenario scenario)
{
// Load map data
}
}
This skill helps ensure that code is well-documented, making it easier to understand, maintain, and extend.