design-patterns-gof

Analyze object-oriented design problems and propose GoF design patterns.

Updated Jun 5, 2026
One-click install
npx skills add https://github.com/hung-phan/system-skills --skill design-patterns-gof
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-patterns-gof
Source: https://github.com/hung-phan/system-skills/tree/main/skills/system-review/references/code-design/design-patterns-gof
Command: npx skills add https://github.com/hung-phan/system-skills --skill design-patterns-gof

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to the 23 Gang of Four design patterns, helping developers choose the right pattern for their design problems and avoid common pitfalls.

Core Features & Use Cases

  • Pattern Catalog: Detailed descriptions and examples of all 23 GoF patterns.
  • Problem-Solution Mapping: Identifies when and when not to use each pattern.
  • Code Examples: Demonstrates how to implement patterns in various programming languages.

Quick Start

To learn about the Singleton pattern, use the command: /system-review review Singleton pattern.

Frequently Asked Questions about design-patterns-gof

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the Gang of Four design patterns in object-oriented software architecture?

The Gang of Four design patterns are 23 classic solutions to common object-oriented software architecture problems, categorized into creational, structural, and behavioral patterns to resolve complex design challenges.

How do I choose the right GoF design pattern for my software design problem?

To choose the right GoF design pattern, analyze your specific object-oriented design problem and map it to the pattern catalog's problem-solution descriptions, which identify when and when not to apply each structural or behavioral pattern.

When should I not use specific design patterns in object-oriented programming?

You should not use specific design patterns when they introduce unnecessary complexity to your object-oriented design; the catalog provides explicit problem-solution mappings to help developers avoid common architectural pitfalls and misapplications.

Do I need prior knowledge of object-oriented design principles to apply these patterns?

Yes, you need prior knowledge of object-oriented design principles and common design patterns to effectively apply these architectural solutions, as the guidance targets developers facing complex software design challenges.

How to implement the Singleton pattern in software architecture?

To implement the Singleton pattern, use the system review command to request a detailed description and code example from the pattern catalog, demonstrating how to restrict class instantiation in various programming languages.