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/03-software-design/design-patterns-guide

SKILL.md

日本語版

Design Patterns Guide

Design patterns are reusable wisdom in software design. This skill systematically covers everything about design patterns, from GoF patterns, architectural patterns, and functional patterns to modern implementations in JavaScript/TypeScript.

Target Audience

  • Engineers who want to systematically learn design patterns
  • Anyone looking to improve code quality and maintainability
  • Those who want to make well-grounded design decisions

Prerequisites

  • Fundamentals of object-oriented programming
  • Basic knowledge of TypeScript

Learning Guide

00-creational — Creational Patterns

# File Description

01-structural — Structural Patterns

# File Description

02-behavioral — Behavioral Patterns

# File Description

03-architectural — Architectural Patterns

# File Description

04-functional — Functional Patterns

# File Description

Quick Reference

Pattern Selection Guide:
  Object creation     → Factory / Builder / DI
  Interface adapting   → Adapter / Facade
  State management    → Observer / State / Redux
  Algorithm switching → Strategy
  Async processing    → Promise / Observable
  Error handling      → Result type / Chain of Responsibility

References

  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