typed-holes-refactor
✓使用“按類型孔設計”方法重構代碼庫 - 通過正式的孔解決方案、約束傳播和持續驗證進行迭代、測試驅動的重構。在重構現有代碼、優化架構或通過系統漏洞驅動開發鞏固技術債務時使用。
SKILL.md
Systematically refactor codebases using the Design by Typed Holes meta-framework: treat architectural unknowns as typed holes, resolve them iteratively with test-driven validation, and propagate constraints through dependency graphs.
Run tests on main branch - they should all pass. These are your safety net.
| Nano | 1-2 hours | Simple, mechanical changes | Rename files, update imports | | Small | 4-8 hours | Single module refactor | Extract class, consolidate functions | | Medium | 1-3 days | Cross-module changes | Define interfaces, reorganize packages | | Large | 4-7 days | Architecture changes | Layer extraction, pattern implementation |
使用“按類型孔設計”方法重構代碼庫 - 通過正式的孔解決方案、約束傳播和持續驗證進行迭代、測試驅動的重構。在重構現有代碼、優化架構或通過系統漏洞驅動開發鞏固技術債務時使用。 來源:rand/cc-polymath。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/rand/cc-polymath --skill typed-holes-refactor- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-01
- 更新時間
- 2026-02-18
快速解答
什麼是 typed-holes-refactor?
使用“按類型孔設計”方法重構代碼庫 - 通過正式的孔解決方案、約束傳播和持續驗證進行迭代、測試驅動的重構。在重構現有代碼、優化架構或通過系統漏洞驅動開發鞏固技術債務時使用。 來源:rand/cc-polymath。
如何安裝 typed-holes-refactor?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/rand/cc-polymath --skill typed-holes-refactor 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/rand/cc-polymath
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-01