convention-design-patterns
CommunityMaster classic design patterns for clean code.
Software Engineering#oop#design-patterns#software-architecture#repository-pattern#adapter-pattern#factory-pattern#strategy-pattern
AuthorsunLeee
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Design-pattern knowledge helps developers implement reusable, decoupled software architectures.
Core Features & Use Cases
- Factory Pattern: decouples object creation from usage and centralizes creation logic.
- Strategy Pattern: enables interchangeable algorithms at runtime without changing clients.
- Repository Pattern: abstracts data access to promote testability and isolation.
- Observer Pattern: supports event-driven communication between components.
- Decorator Pattern: adds responsibilities dynamically without altering existing code.
- Command Pattern: enables queuing, logging, and undo capabilities.
- Adapter Pattern: bridges incompatible interfaces for seamless integration.
- Template Method Pattern: defines the skeleton of an algorithm with customizable steps.
Quick Start
Study these patterns and implement Factory and Strategy in a sample module to observe how they improve structure.
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: convention-design-patterns Download link: https://github.com/sunLeee/optimization/archive/main.zip#convention-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.