gof-advisor

Identify GoF design patterns for OO problems with trade-offs.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/mikecubed/agent-orchestration --skill gof-advisor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gof-advisor
Source: https://github.com/mikecubed/agent-orchestration/tree/main/plugins/patterns/skills/gof-advisor
Command: npx skills add https://github.com/mikecubed/agent-orchestration --skill gof-advisor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Recommends suitable GoF design patterns for a described OO problem, providing 1–3 options with trade-offs.

Core Features & Use Cases

  • Classifies the problem domain (creation, composition, communication) and maps to GoF patterns.
  • Provides a concise rationale and practical guidance for selecting a pattern based on trade-offs.
  • Use Case: Describe an OO design challenge and receive a prioritized pattern recommendation with rationale.

Quick Start

Describe your design problem and target language to get a focused recommendation.

Frequently Asked Questions about gof-advisor

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

FAQPage Schema
How do I choose the right GoF design pattern for my object-oriented problem?

Choosing between Strategy and State patterns depends on whether your object's behavior needs to change dynamically based on internal state or if you need to swap algorithms independently. The advisor asks for your problem context to classify the intent and recommends the most suitable pattern with rationale and trade-offs.

What's the best way to decide between Strategy vs State pattern for decoupling behavior?

To use the pattern advisor, simply describe your object-oriented design challenge in natural language and specify your target programming language. The advisor will gather context, classify the problem using decision trees, and provide 1 to 3 pattern recommendations with trade-offs.

Can I get design pattern recommendations for a specific programming language constraint?

Yes, the pattern advisor adapts to language constraints. By specifying your target programming language when describing your object-oriented problem, the advisor tailors its GoF pattern recommendations and practical guidance to fit your language's specific features and limitations.

How do I know which GoF pattern to use for object creation and decoupling?

To know which GoF pattern to use for object creation and decoupling, describe your design problem in natural language. The advisor classifies the problem domain and provides 1 to 3 pattern recommendations with trade-offs and a concise alternative.

What trade-offs should I consider when selecting a software design pattern?

When selecting a software design pattern, consider trade-offs such as increased class complexity versus improved decoupling and flexibility. The advisor provides a concise rationale and practical guidance for each pattern recommendation to help you evaluate these compromises.