什麼是 gof-patterns?
四幫設計模式參考。在實現、討論或選擇物件導向的設計模式時使用此技能。自動啟動架構決策、重構和解耦問題。透過偽代碼範例全面涵蓋了所有 23 個 GoF 模式。 來源:grndlvl/software-patterns。
四幫設計模式參考。在實現、討論或選擇物件導向的設計模式時使用此技能。自動啟動架構決策、重構和解耦問題。透過偽代碼範例全面涵蓋了所有 23 個 GoF 模式。
透過命令列快速安裝 gof-patterns AI 技能到你的開發環境
來源:grndlvl/software-patterns。
A comprehensive reference for the Gang of Four design patterns. This skill provides language-agnostic guidance with pseudocode examples that can be translated to any programming language.
Creational Patterns (Object Creation) | Pattern | Intent | Use When |
| Abstract Factory | Create families of related objects | Need platform/theme independence | | Builder | Construct complex objects step-by-step | Object has many optional parts | | Factory Method | Let subclasses decide which class to instantiate | Don't know concrete types ahead of time | | Prototype | Clone existing objects | Object creation is expensive |
四幫設計模式參考。在實現、討論或選擇物件導向的設計模式時使用此技能。自動啟動架構決策、重構和解耦問題。透過偽代碼範例全面涵蓋了所有 23 個 GoF 模式。 來源:grndlvl/software-patterns。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/grndlvl/software-patterns --skill gof-patterns四幫設計模式參考。在實現、討論或選擇物件導向的設計模式時使用此技能。自動啟動架構決策、重構和解耦問題。透過偽代碼範例全面涵蓋了所有 23 個 GoF 模式。 來源:grndlvl/software-patterns。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/grndlvl/software-patterns --skill gof-patterns 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/grndlvl/software-patterns