One-click install
npx skills add https://github.com/twiced-technology-gmbh/seedr --skill design-patterns-twiced-technology-gmbh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-patterns
Source: https://github.com/twiced-technology-gmbh/seedr/tree/main/.claude/skills/design-patterns
Command: npx skills add https://github.com/twiced-technology-gmbh/seedr --skill design-patterns-twiced-technology-gmbh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers understand, implement, and choose the right software design patterns to build more robust, maintainable, and scalable applications.

Core Features & Use Cases

  • Comprehensive Reference: Covers all 23 Gang of Four (GoF) design patterns.
  • Pattern Selection Guidance: Provides a guide to help choose the appropriate pattern for specific problems.
  • Quick Implementation Examples: Includes concise code snippets in TypeScript for common patterns.
  • Use Case: When refactoring a complex piece of code, you can consult this Skill to identify if a pattern like Strategy or State would simplify the logic, and then use the provided examples to guide implementation.

Quick Start

Explain the Factory Method pattern and provide a simple TypeScript example.

Frequently Asked Questions about 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 software architecture?

The Gang of Four design patterns are 23 classic software architecture solutions categorized into Creational, Structural, and Behavioral types that help developers build maintainable applications.

How do I choose the right design pattern for a specific problem?

To choose the right design pattern, consult the provided pattern selection guidance and problem-solution mapping to match your specific software architecture challenge with the appropriate GoF pattern.

How do I implement the Factory Method pattern in TypeScript?

To implement the Factory Method pattern in TypeScript, reference the provided quick implementation examples that offer concise code snippets for common GoF creational patterns.

When should I use the Strategy or State pattern to refactor code?

You should use the Strategy or State pattern when refactoring complex code to simplify conditional logic, improve software architecture, and increase overall maintainability.

Does this design patterns reference include TypeScript examples for all 23 GoF patterns?

This reference includes quick implementation examples in TypeScript for common patterns like Factory Method, Strategy, Observer, and Decorator, alongside comprehensive descriptions for all 23 GoF patterns.

What is the difference between Creational, Structural, and Behavioral patterns?

Creational patterns handle object creation mechanisms, Structural patterns manage object composition and interfaces, and Behavioral patterns define object interaction and responsibility assignment in software architecture.