feat: Add GoF Design Patterns semantic anchor#140
Conversation
Adds Gang of Four Design Patterns as a standalone semantic anchor covering Gamma/Helm/Johnson/Vlissides' 23 OO design patterns. Distinct from Fowler Patterns (enterprise application architecture) — GoF covers OO object collaboration and reuse.
|
Warning Rate limit exceeded
⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review: ✅ Good anchor, merge-ready. GoF Design Patterns works well as a "meta-anchor" — consistent with how we handle "Fowler Patterns (PEAA)". The term activates rich context about the entire pattern catalog and the shared design vocabulary. New concept: Umbrella Anchors with Sub-Anchors We're planning a two-level anchor system:
Individual GoF patterns DO make good semantic anchors with strong prompts (e.g. "Extract the varying algorithm into a Strategy pattern"). But instead of flooding the main catalog with 23 entries, they'll be linked from the umbrella card. Visual concept for cards: Umbrella cards will look like a stack of 3 cards behind each other, visually signaling "there's more inside." See #149 for the broader discussion. Post-merge TODO:
Merging recommended, translation will follow in batch. |
LLM-Coding#138, LLM-Coding#139) Content from @Nantero1's original PRs LLM-Coding#138 and LLM-Coding#139, rebased on current main after merging LLM-Coding#137, LLM-Coding#140, LLM-Coding#142, LLM-Coding#143. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
Why this anchor?
GoF activates: 23 patterns in 3 categories (Creational, Structural, Behavioral), pattern language as shared vocabulary, composition over inheritance, program to an interface, design for change.
Distinct from: Fowler Patterns (enterprise application architecture — Repository, Unit of Work, Data Mapper). GoF = OO object collaboration and reuse; Fowler = application-layer structure.
"Fowler Patterns" already exists as an anchor but covers PEAA, not GoF. These are complementary but separate bodies of knowledge.
Files changed
docs/anchors/gof-design-patterns.adoc— new anchor filedocs/all-anchors.adoc— added include in Design Principles sectionskill/semantic-anchor-translator/references/catalog.md— added catalog entry