·gof-patterns
</>

gof-patterns

四帮设计模式参考。在实现、讨论或选择面向对象的设计模式时使用此技能。自动激活架构决策、重构和解耦问题。通过伪代码示例全面覆盖了所有 23 个 GoF 模式。

5安装·0热度·@grndlvl

安装

$npx skills add https://github.com/grndlvl/software-patterns --skill gof-patterns

如何安装 gof-patterns

通过命令行快速安装 gof-patterns AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/grndlvl/software-patterns --skill gof-patterns
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:grndlvl/software-patterns。

SKILL.md

查看原文

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
分类
</>开发工具
认证
收录时间
2026-02-26
更新时间
2026-03-10

Browse more skills from grndlvl/software-patterns

快速解答

什么是 gof-patterns?

四帮设计模式参考。在实现、讨论或选择面向对象的设计模式时使用此技能。自动激活架构决策、重构和解耦问题。通过伪代码示例全面覆盖了所有 23 个 GoF 模式。 来源:grndlvl/software-patterns。

如何安装 gof-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/grndlvl/software-patterns --skill gof-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/grndlvl/software-patterns

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-26