Agent skill

design-patterns-guide

Stars 5
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/Gaku52/claude-code-skills/tree/main/ja/03-software-design/design-patterns-guide

SKILL.md

デザインパターンガイド

デザインパターンは再利用可能な設計の知恵。GoF パターン、アーキテクチャパターン、関数型パターン、モダンな JavaScript/TypeScript での実装まで、設計パターンの全てを体系的に解説する。

このSkillの対象者

  • デザインパターンを体系的に学びたいエンジニア
  • コードの品質と保守性を向上させたい方
  • 設計判断の根拠を明確にしたい方

前提知識

  • オブジェクト指向プログラミングの基礎
  • TypeScript の基礎知識

学習ガイド

00-creational — 生成パターン

# ファイル 内容

01-structural — 構造パターン

# ファイル 内容

02-behavioral — 振る舞いパターン

# ファイル 内容

03-architectural — アーキテクチャパターン

# ファイル 内容

04-functional — 関数型パターン

# ファイル 内容

クイックリファレンス

パターン選定ガイド:
  オブジェクト生成 → Factory / Builder / DI
  インターフェース適合 → Adapter / Facade
  状態管理 → Observer / State / Redux
  アルゴリズム切替 → Strategy
  非同期処理 → Promise / Observable
  エラー処理 → Result 型 / Chain of Responsibility

参考文献

  1. Gamma, E. et al. "Design Patterns." Addison-Wesley, 1994.
  2. Freeman, E. "Head First Design Patterns." O'Reilly, 2020.
  3. Addy Osmani. "Learning JavaScript Design Patterns." O'Reilly, 2023.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results