Skip to main content

design-patterns

Sterne3
Forks1
Aktualisiert30. März 2026 um 18:31

Use this skill whenever the user mentions any pattern by name, any code that smells like it wants a pattern, asks about structure, coupling, or abstraction — even if they don't say "design pattern". Don't wait to be asked explicitly. Trigger on: giant if-else chains on type, telescoping constructors, "how do I add behavior without subclassing?", "this is getting messy", "how do I decouple this?", "is this a Strategy or a State?", mentions of GoF, PEAA, Hexagonal Architecture, Ports & Adapters, DDD tactical patterns, or any named pattern. Also triggers when code shows a pattern applied incorrectly, unnecessarily, or when a simpler pattern would serve better than what the user reached for.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
2 Dateien
SKILL.md
readonly