Pattern catalog¶
Reference page. The canonical list of 34 patterns lives in the framework source — this page is being authored to mirror it.
The 34 PatternName literals are defined at:
Categories:
- Creational (5) — AbstractFactory, Builder, FactoryMethod, Singleton, Prototype.
- Structural (7) — Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy.
- Behavioral (11) — ChainOfResponsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, TemplateMethod, Visitor.
- DDD / Clean (11) — Entity, ValueObject, Aggregate, DomainEvent, Specification, Repository, Gateway, Presenter, UseCase, DTOMapper, SimpleClass.
Each pattern has a corresponding ICP spec at squeaky_clean/interface/agent_specs/icps/<lang>/<category>/<Pattern>ICP.md.
See also¶
- Squib grammar — how patterns are expressed in
<ClassName> -> <PatternName>form. - Tier C catalog — when an Infrastructure-layer Repository / Gateway / Adapter routes to a Tier C agent.