code-design-patterns

Identify the 22 Gang of Four design patterns in code.

Updated May 20, 2026
One-click install
npx skills add https://github.com/RealEmmettS/shaughv-code --skill code-design-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-design-patterns
Source: https://github.com/RealEmmettS/shaughv-code/tree/main/plugins/shaughv-code/skills/code-design-patterns
Command: npx skills add https://github.com/RealEmmettS/shaughv-code --skill code-design-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive reference and analysis of the 22 Gang of Four (GoF) design patterns, helping users understand and apply these patterns in their codebase.

Core Features & Use Cases

  • Pattern Reference: Access detailed information on each of the 22 GoF design patterns.
  • Recognition Mode: Identify patterns and anti-patterns in existing code.
  • Recommendation Mode: Suggest appropriate patterns for specific design problems.
  • Use Case: A developer wants to refactor a codebase that has tight coupling between classes. The Skill can recommend the Adapter pattern to decouple the classes.

Quick Start

Use the code-design-patterns skill to get information on the Singleton pattern.

Frequently Asked Questions about code-design-patterns

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?

This Skill references 22 Gang of Four (GoF) design patterns to solve recurring software architecture problems. It analyzes these classic object-oriented templates and provides examples to help developers apply them effectively.

How do I identify which GoF design pattern to use for refactoring?

To identify GoF design patterns for refactoring, this Skill analyzes your existing code to recognize applied patterns and anti-patterns. It then recommends appropriate object-oriented patterns, such as suggesting the Adapter pattern to decouple tightly coupled classes.

Can this Skill analyze existing code to find anti-patterns in my object-oriented design?

Yes, this Skill can analyze existing codebases to identify anti-patterns and currently applied design patterns. It uses recognition mode to evaluate your object-oriented design and highlight areas where architectural improvements are needed.

What is the best way to decouple tightly coupled classes during software refactoring?

The best way to decouple tightly coupled classes during software refactoring is often applying the Adapter pattern. This Skill evaluates your codebase and recommends appropriate GoF design patterns to resolve specific object-oriented coupling issues.

Do I need prior knowledge of object-oriented principles to use this design pattern reference?

Yes, understanding object-oriented principles is required to effectively use this design pattern reference. The Skill applies GoF patterns to software architecture and refactoring tasks, requiring foundational knowledge of object-oriented concepts.