Skip to main content

design-patterns

スター3
フォーク1
更新日2026年3月30日 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.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

ファイルエクスプローラー
2 ファイル
SKILL.md
readonly