design-patterns

Identify and apply GoF-like design-pattern solutions to improve code structure.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/tassosgomes/poc-iam-service --skill design-patterns-tassosgomes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: design-patterns
Source: https://github.com/tassosgomes/poc-iam-service/tree/main/.github/skills/common/design-patterns
Command: npx skills add https://github.com/tassosgomes/poc-iam-service --skill design-patterns-tassosgomes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Catalog and Decision Guide helps developers identify suitable design patterns to improve maintainability and scalability by providing a centralized reference and structured workflow.

Core Features & Use Cases

  • Two complementary modes: consultative guidance for diagnosing code smells and architectural needs, and executive templates to scaffold refactor implementations.
  • Decision table and reference catalog: quick mapping from symptoms to patterns with trade-offs and structured skeletons.
  • Workflow guidance: diagnose → consult → suggest → confirm → implement → validate, with language-agnostic guidance and SOLID-aligned principles.

Quick Start

Diagnose a code smell in a module and propose a suitable design pattern with a practical implementation outline.

Frequently Asked Questions about design-patterns

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

FAQPage Schema
How do I identify the right design pattern for a specific code smell?

To identify the right design pattern for a code smell, use a decision table that maps architectural symptoms to suitable patterns. This consultative workflow helps diagnose structural issues and suggests recommendations with clear trade-offs to improve maintainability.

What is the best way to refactor code using design patterns?

The best way to refactor code using design patterns is following a structured workflow: diagnose, consult, suggest, confirm, implement, and validate. This process uses language-agnostic blueprints aligned with SOLID principles to scaffold executable refactoring templates.

Can I use these design pattern blueprints with any programming language?

Yes, you can use these blueprints with any programming language because the design pattern guidance and implementation skeletons are language-agnostic. They emphasize SOLID-aligned principles and structured skeletons rather than tying you to a specific framework or platform.

When do I need to apply a design pattern during software refactoring?

You need to apply a design pattern during software refactoring when diagnosing architectural needs or code smells that impact scalability. A reference catalog helps map these structural symptoms to appropriate pattern solutions to ensure robust code.

What are the limitations of using a design pattern catalog for code refactoring?

A limitation of using a design pattern catalog for refactoring is that pattern recommendations require manual confirmation and adaptation. The provided decision table offers structured skeletons and trade-offs, but developers must validate the language-agnostic implementation against their specific architectural context.