principle-design-patterns
CommunityChoose the right design pattern—on purpose.
Software Engineering#architecture#refactoring#design patterns#composition#dependency injection#object-oriented design
Authorlugassawan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Design patterns solve the problem of structuring software so that changing requirements, varying algorithms, and cross-cutting concerns don’t force widespread rewrites.
Core Features & Use Cases
- Pattern selection guidance: Decide when to apply or avoid common GoF patterns (Strategy, Factory Method, Observer, Decorator, Adapter, Facade, Template Method, Command, Repository, Dependency Injection).
- Refactoring toward structure: Use criteria like coupling, composition needs, construction complexity, and change vectors to move code toward the most appropriate pattern.
- Pragmatic anti-pattern awareness: Identify named pitfalls (Singleton, God object, Pattern-itis) that often signal architectural problems.
Quick Start
Ask an AI to recommend the best pattern by describing the change scenario, the current coupling/complexity, and the interfaces involved, then request a concrete refactoring plan using the skill’s pattern “problem/use when/overkill when” framework.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: principle-design-patterns Download link: https://github.com/lugassawan/swe-workbench/archive/main.zip#principle-design-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.