Hermes Wiki

GoFPatterns

The classic Gang of Four patterns, grouped by what they solve: Creational (object creation), Structural (composing objects), Behavioral (object interaction/responsibility).

Why we need this / what value this brings

These are reusable, well-tested solutions to recurring structural problems — reinventing them from scratch usually reproduces the same pattern worse.

When to use this

When you notice the same structural problem recurring (e.g. needing to swap an implementation at runtime → Strategy).

How to use or implement this

Name the problem first (what varies, what stays fixed), then pick the pattern that fits — don't start from the pattern and look for a place to use it.

Subtopics

Research questions

  • The AI provider adapter (AI/LLMIntegration) is a textbook Strategy/Adapter pattern — worth studying that pairing directly.

Empty folder — drop notes, links, and findings here as you research.

Hermes Wiki