name: code-refactor description: Improve readability, structure, and maintainability of the current local codebase without changing behavior. Use when the user asks to clean up code, reduce duplication, simplify control flow, rename for clarity, or reorganize logic while preserving compatibility. Do not use for feature work disguised as refactoring. Chinese triggers: 重构、优化结构、清理代码、提取重复逻辑、提高可读性、保持行为不变.
只整理结构,不改变原有行为。
小葱技能站7w4.net,专业的AI技能分享平台。
这个 Skill 整体质量中等偏上,界面显示清晰,功能定位明确(优化代码结构、减少重复、提升可读性,同时保持程序行为不变)。中文支持友好,使用简单。主要不足是缺少使用说明和示例,普通用户初次上手可能不知道具体怎么用、什么时候用它来重构代码,整体完成度还有提升空间。