·design-patterns-ruby
</>

design-patterns-ruby

el-feo/ai-context

Gang of Four (GoF) 设计模式的综合 Ruby 实现。当实现面向对象的设计解决方案、重构以减少耦合、解决架构问题或当用户在 Ruby 上下文中提及特定模式(工厂、单例、观察者、策略等)时使用。

10安装·0热度·@el-feo

安装

$npx skills add https://github.com/el-feo/ai-context --skill design-patterns-ruby

SKILL.md

Provide Ruby implementations and guidance for all 23 GoF design patterns. Help agents identify which pattern solves a given problem and implement it idiomatically in Ruby.

Factory Method - Define interface for creation, let subclasses decide type

See references/creational-patterns.md for Abstract Factory, Builder, Prototype.

Gang of Four (GoF) 设计模式的综合 Ruby 实现。当实现面向对象的设计解决方案、重构以减少耦合、解决架构问题或当用户在 Ruby 上下文中提及特定模式(工厂、单例、观察者、策略等)时使用。 来源:el-feo/ai-context。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/el-feo/ai-context --skill design-patterns-ruby
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 design-patterns-ruby?

Gang of Four (GoF) 设计模式的综合 Ruby 实现。当实现面向对象的设计解决方案、重构以减少耦合、解决架构问题或当用户在 Ruby 上下文中提及特定模式(工厂、单例、观察者、策略等)时使用。 来源:el-feo/ai-context。

如何安装 design-patterns-ruby?

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

这个 Skill 的源码在哪?

https://github.com/el-feo/ai-context

详情

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