·vscode-extension-refactorer
</>

vscode-extension-refactorer

s-hiraoku/vscode-sidebar-terminal

此技能为重构 VS Code 扩展代码提供专家级指导。在提取类或函数、减少代码重复、提高类型安全性、重新组织模块结构、应用设计模式或优化性能时使用。涵盖系统重构工作流程、代码异味检测、安全转换技术和 VS Code 特定模式。

0安装·0热度·@s-hiraoku

安装

$npx skills add https://github.com/s-hiraoku/vscode-sidebar-terminal --skill vscode-extension-refactorer

SKILL.md

This skill enables systematic and safe refactoring of VS Code extension code. It provides structured workflows for identifying improvement opportunities, applying proven refactoring techniques, and ensuring code quality while maintaining functionality.

| Long Method | >50 lines, multiple responsibilities | Extract Method | | Large Class | >500 lines, >10 public methods | Extract Class | | Duplicate Code | Similar blocks in 2+ places | Extract Function/Class | | Feature Envy | Method uses other class data extensively | Move Method |

| Data Clumps | Same parameters passed together | Introduce Parameter Object | | Primitive Obsession | Overuse of primitives for domain concepts | Replace with Value Object | | Long Parameter List | >4 parameters | Introduce Parameter Object | | Divergent Change | Class changes for multiple reasons | Extract Class (SRP) |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/s-hiraoku/vscode-sidebar-terminal --skill vscode-extension-refactorer
分类
</>开发工具
认证
收录时间
2026-02-03
更新时间
2026-02-18

快速解答

什么是 vscode-extension-refactorer?

此技能为重构 VS Code 扩展代码提供专家级指导。在提取类或函数、减少代码重复、提高类型安全性、重新组织模块结构、应用设计模式或优化性能时使用。涵盖系统重构工作流程、代码异味检测、安全转换技术和 VS Code 特定模式。 来源:s-hiraoku/vscode-sidebar-terminal。

如何安装 vscode-extension-refactorer?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/s-hiraoku/vscode-sidebar-terminal --skill vscode-extension-refactorer 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/s-hiraoku/vscode-sidebar-terminal