design-patterns

Implement Gang of Four design patterns in Python and C++ projects.

Updated Dec 5, 2025
One-click install
npx skills add https://github.com/NmBoyd/claude_setup --skill design-patterns-nmboyd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-patterns
Source: https://github.com/NmBoyd/claude_setup/tree/main/.claude/skills/design-patterns
Command: npx skills add https://github.com/NmBoyd/claude_setup --skill design-patterns-nmboyd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Patterns provide proven solutions to common software design problems, enabling maintainable, extensible, and scalable code across Python and C++ projects.

Core Features & Use Cases

  • Covers Creational, Structural, and Behavioral patterns with language-specific implementations for Python and C++.
  • Explains when to apply each pattern, anti-patterns to avoid, and practical refactoring guidance.
  • Includes concrete examples illustrating typical use cases in real-world applications.

Quick Start

Identify a current design problem, then review the relevant pattern and its Python and C++ examples to implement or refactor a solution.

Frequently Asked Questions about design-patterns

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

FAQPage Schema
How do I know when to apply creational, structural, or behavioral design patterns in my project?

Apply creational, structural, or behavioral design patterns when you need proven solutions to common software design problems for building maintainable and scalable architectures. This knowledge base explains when to apply each pattern and provides anti-pattern warnings to guide your decision.

How do I refactor legacy code using design patterns in Python and C++?

Refactor legacy code in Python and C++ by identifying your current design problem and reviewing the relevant pattern's language-specific examples. This resource provides practical refactoring guidance and concrete use cases to help you restructure existing codebases.

Can I use Gang of Four design patterns to build extensible plugin systems in C++?

Yes, Gang of Four design patterns support building extensible plugin systems in C++ by providing structural blueprints for scalable architectures. The examples cover language-specific implementations that help engineers design systems that accept new functionality without modifying existing code.

What design pattern anti-patterns should I avoid when designing scalable architectures?

Avoid design pattern anti-patterns that introduce unnecessary complexity or tight coupling when designing scalable architectures. This resource outlines specific anti-patterns to avoid and explains when applying a particular pattern might be detrimental to your Python or C++ codebase.

What is the difference between creational, structural, and behavioral patterns in software architecture?

Creational patterns handle object creation mechanisms, structural patterns define object composition relationships, and behavioral patterns dictate object interaction in software architecture. This knowledge base aligns with the Gang of Four taxonomy to clarify these distinctions using Python and C++ examples.