design-patterns

Identify and apply GoF design patterns to solve recurring design problems.

5|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/elct9620/ai-coding-skills --skill design-patterns-elct9620
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-patterns
Source: https://github.com/elct9620/ai-coding-skills/tree/main/skills/design-patterns
Command: npx skills add https://github.com/elct9620/ai-coding-skills --skill design-patterns-elct9620

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pattern-based design guidance to help engineers select and apply GoF patterns for robust, maintainable software.

Core Features & Use Cases

  • Guidance across Creational, Structural, and Behavioral patterns for common design problems.
  • Quick reference of patterns and decision criteria to evaluate trade-offs.
  • Practical workflows for selecting patterns, comparing candidates, and documenting rationale.

Quick Start

Identify the design problem, then select and apply an appropriate GoF pattern to structure the solution.

Frequently Asked Questions about design-patterns

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

FAQPage Schema
How do I choose the right GoF design pattern for a refactoring task?

To choose a GoF design pattern during refactoring, identify the specific recurring design problem, then evaluate pattern candidates across Creational, Structural, and Behavioral categories using decision criteria to compare trade-offs and document your rationale.

When should I apply design patterns to build flexible software architectures?

You should apply design patterns when facing multi-component changes or needing flexible architectures, using pattern-based design guidance to structure robust, maintainable solutions through minimal and appropriate pattern application.

What's the best way to compare Factory and Builder patterns for object creation?

The best way to compare Factory and Builder patterns is using quick reference decision criteria to evaluate trade-offs, matching the specific Creational pattern candidate against your identified design problem to select the most appropriate structure.

How do I document the rationale for selecting a specific software design pattern?

Document software design pattern rationale by clearly identifying the design problem, evaluating pattern candidates, and recording the trade-offs and decision criteria that justify the minimal and appropriate application of the chosen pattern.

Can I apply multiple GoF patterns simultaneously during a major refactoring?

You can apply multiple GoF patterns during refactoring, but the guidance emphasizes minimal and appropriate pattern application, requiring clear problem identification and evaluation of candidates to avoid over-engineering the software design.