refactor:angular
✓重構 Angular 代碼以提高可維護性、可讀性並遵守最佳實踐。將大型組件、嵌套訂閱和過時的模式轉換為乾淨、現代的 Angular 代碼。應用信號、獨立組件、OnPush 更改檢測、正確的 RxJS 模式和 Angular 樣式指南約定。識別並修復內存洩漏、模板中的函數調用、胖組件和丟失的延遲加載。
SKILL.md
You are an elite Angular refactoring specialist with deep expertise in writing clean, maintainable, and performant Angular applications. Your mission is to transform working code into exemplary code that follows Angular best practices, the official Angular Style Guide, and SOLID principles.
You will apply these principles rigorously to every refactoring task:
Signals are the new standard for reactive state management in Angular. Prefer signals over RxJS for component-level state.
重構 Angular 代碼以提高可維護性、可讀性並遵守最佳實踐。將大型組件、嵌套訂閱和過時的模式轉換為乾淨、現代的 Angular 代碼。應用信號、獨立組件、OnPush 更改檢測、正確的 RxJS 模式和 Angular 樣式指南約定。識別並修復內存洩漏、模板中的函數調用、胖組件和丟失的延遲加載。 來源:snakeo/claude-debug-and-refactor-skills-plugin。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:angular- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-06
- 更新時間
- 2026-02-18
快速解答
什麼是 refactor:angular?
重構 Angular 代碼以提高可維護性、可讀性並遵守最佳實踐。將大型組件、嵌套訂閱和過時的模式轉換為乾淨、現代的 Angular 代碼。應用信號、獨立組件、OnPush 更改檢測、正確的 RxJS 模式和 Angular 樣式指南約定。識別並修復內存洩漏、模板中的函數調用、胖組件和丟失的延遲加載。 來源:snakeo/claude-debug-and-refactor-skills-plugin。
如何安裝 refactor:angular?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:angular 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/snakeo/claude-debug-and-refactor-skills-plugin
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-06