code-refactoring
✓指導系統代碼重構,以提高代碼質量、可維護性和設計。識別代碼異味、應用重構模式、確保測試覆蓋率並遵循安全重構實踐。生成更乾淨、更易於維護的代碼,同時保留功能。當提高代碼質量、消除技術債務、準備添加功能、解決代碼異味時,或者當用戶提到重構、代碼清理、改進設計、降低複雜性或現代化遺留代碼時使用。
SKILL.md
This skill guides systematic code refactoring to improve code quality, maintainability, and design while preserving functionality. Follow the safe refactoring workflow with comprehensive test coverage and incremental changes.
Examine the codebase to identify code smells and quality issues:
See common-refactoring-scenarios.md for detailed examples and approaches.
指導系統代碼重構,以提高代碼質量、可維護性和設計。識別代碼異味、應用重構模式、確保測試覆蓋率並遵循安全重構實踐。生成更乾淨、更易於維護的代碼,同時保留功能。當提高代碼質量、消除技術債務、準備添加功能、解決代碼異味時,或者當用戶提到重構、代碼清理、改進設計、降低複雜性或現代化遺留代碼時使用。 來源:dauquangthanh/hanoi-rainbow。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill code-refactoring- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 code-refactoring?
指導系統代碼重構,以提高代碼質量、可維護性和設計。識別代碼異味、應用重構模式、確保測試覆蓋率並遵循安全重構實踐。生成更乾淨、更易於維護的代碼,同時保留功能。當提高代碼質量、消除技術債務、準備添加功能、解決代碼異味時,或者當用戶提到重構、代碼清理、改進設計、降低複雜性或現代化遺留代碼時使用。 來源:dauquangthanh/hanoi-rainbow。
如何安裝 code-refactoring?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill code-refactoring 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/dauquangthanh/hanoi-rainbow
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01