什么是 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