소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 5월 18일 22:25
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill design-patterns명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | design-patterns |
| description | Design patterns — KISS, YAGNI, DRY, SOLID, GoF, DDD reference. |
These principles apply at every layer of the stack, independent of language or framework.
| Principle | Rule | Violated when... |
|---|---|---|
| KISS — Keep It Simple | Prefer the simplest solution that correctly solves the problem | A simpler approach exists but a more complex one was chosen without justification |
| YAGNI — You Aren't Gonna Need It | Don't build features, abstractions, or generalization until they are actually needed | Code is written for a hypothetical future requirement that doesn't exist yet |
| DRY — Don't Repeat Yourself | Every piece of knowledge has a single, authoritative representation | Logic, validation rules, or configuration are duplicated across two or more places |
| Principle | Rule |
|---|---|
| S — Single Responsibility | A class/module has one reason to change |
| O — Open/Closed | Open for extension, closed for modification |
| L — Liskov Substitution | Subtypes must be substitutable for their base types |
| I — Interface Segregation | Clients should not depend on interfaces they don't use |
| D — Dependency Inversion | Depend on abstractions, not concretions |
Creates objects without specifying the exact class. Use when the creation logic may vary or is complex.
Creator → factoryMethod() → Product
Creates families of related objects. Use when the system needs to be independent of how products are created.
Constructs complex objects step by step. Use when an object has many optional parameters or construction phases.
Ensures a class has only one instance. Use sparingly — prefer dependency injection. Avoid in testable code.
Converts an interface into another that clients expect. Use for integrating incompatible interfaces (e.g., third-party SDKs).
Adds responsibilities to objects dynamically. Prefer over subclassing for feature composition.
Provides a simplified interface to a complex subsystem. Use to hide complexity from callers.
Abstracts data access behind an interface. Decouples business logic from persistence technology.
Controls access to an object (lazy loading, caching, access control, logging).
Defines a family of algorithms and makes them interchangeable. Use when behavior varies and should be swappable at runtime.
Defines a one-to-many dependency so that when one object changes state, its dependents are notified. Use for event-driven systems.
Encapsulates a request as an object. Enables undo, queuing, and logging of operations.
Passes a request through a chain of handlers. Use for pipelines (middleware, validation chains).
Defines the skeleton of an algorithm, deferring steps to subclasses. Use when multiple implementations share a common process.
Immutable object defined by its attributes, not identity. Use for things like Money, Email, Address.
Object with a unique identity that persists over time. Has a lifecycle (create, update, delete).
Cluster of entities and value objects treated as a unit. Defines a consistency boundary.
Stateless operation that doesn't naturally belong to an entity or value object.
Provides collection-like access to aggregates. Hides storage details.
| Anti-Pattern | Problem |
|---|---|
| God Object | One class knows too much / does too much |
| Spaghetti Code | Unstructured, hard-to-follow control flow |
| Magic Numbers | Unnamed numeric literals — use named constants |
| Premature Optimization | Optimizing before profiling proves a bottleneck |
| Cargo Cult | Copying patterns without understanding why |
| Anemic Domain Model | Entities with no behavior — just getters/setters |
The single place in the application where all object graphs are assembled. Every dependency binding happens here and nowhere else — services never instantiate their own dependencies.
Load references/composition-root.md when setting up DI wiring, designing a service layer, or evaluating whether a DI container is appropriate for the project.