·modularity-patterns
</>

modularity-patterns

jdubray/puffin

针对设计挑战推荐模块化、组合和解耦模式。在设计插件架构、减少耦合、提高可测试性或分离横切关注点时使用。

9安装·0热度·@jdubray

安装

$npx skills add https://github.com/jdubray/puffin --skill modularity-patterns

SKILL.md

Apply these patterns when designing or refactoring code for modularity, extensibility, and decoupling.

| Hard-coded dependencies | DI, IoC, Service Locator, SAM | | Need runtime extensions | Plugin, Microkernel, Extension Points | | Swappable algorithms | Strategy, Abstract Factory | | Additive behavior | Decorator, Chain of Responsibility, SAM | | Feature coupling | Package by Feature | | Scattered concerns | AOP, Interceptors, Mixins, SAM |

| Temporal coupling | Observer, Event Bus, Event Sourcing, SAM | | Read/write optimization | CQRS | | Deployment flexibility | Feature Toggles, Microservices |

针对设计挑战推荐模块化、组合和解耦模式。在设计插件架构、减少耦合、提高可测试性或分离横切关注点时使用。 来源:jdubray/puffin。

查看原文

可引用信息

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

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

快速解答

什么是 modularity-patterns?

针对设计挑战推荐模块化、组合和解耦模式。在设计插件架构、减少耦合、提高可测试性或分离横切关注点时使用。 来源:jdubray/puffin。

如何安装 modularity-patterns?

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

这个 Skill 的源码在哪?

https://github.com/jdubray/puffin