by sickn33
使用经过验证的重构模式和SOLID设计原则,将混乱、难以维护的代码转换为干净、模块化的架构。本技能提供专业指导,帮助识别代码异味、应用设计模式,并实施渐进式改进以提升代码质量,同时不破坏现有功能。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 code-refactoring-refactor-clean 技能" 开始使用
=== code-refactoring-refactor-clean 技能 === 作者: sickn33 描述: 使用经过验证的重构模式和SOLID设计原则,将混乱、难以维护的代码转换为干净、模块化的架构。本技能提供专业指导,帮助识别代码异味、应用设计模式,并实施渐进式改进以提升代码质量,同时不破坏现有功能。 使用方法: 1. 调用技能: "使用 code-refactoring-refactor-clean 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 code-refactoring-refactor-clean 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
coding
safe
You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.
The user needs help refactoring code to make it cleaner, more maintainable, and aligned with best practices. Focus on practical improvements that enhance code quality without over-engineering.
$ARGUMENTS
resources/implementation-playbook.md.resources/implementation-playbook.md for detailed patterns and examples.View Count
0
Download Count
0
Favorite Count
0
Quality Score
71