feat: Add YAGNI semantic anchor#139
Conversation
Promotes YAGNI from a sub-bullet in Chicago School TDD to a standalone anchor. Covers Ron Jeffries/Kent Beck's XP principle against speculative generality and premature abstraction. Distinct from DRY (no duplication) and KISS (keep it simple).
|
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: ✅ Excellent anchor, merge-ready. YAGNI is a textbook semantic anchor — precise, universally known, clearly attributable (Ron Jeffries/Kent Beck). Content is strong, good distinction from DRY. Post-merge TODO:
Merging recommended, translation will follow in batch (see #149). |
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>
|
Replaced by #152 (rebased on current main to resolve merge conflicts). Content is identical to your original PR. Thank you! |
Summary
Why this anchor?
YAGNI activates: Ron Jeffries/XP, don't build for hypothetical future requirements, speculative generality anti-pattern, incremental design, delete dead code, cost of carry.
Distinct from: DRY (eliminates duplication of existing knowledge), KISS (simplicity of what exists). YAGNI = don't add what's not needed yet.
Currently only a sub-bullet in
tdd-chicago-school.adoc— deserves standalone entry as a widely-used design principle in its own right.Files changed
docs/anchors/yagni.adoc— new anchor filedocs/all-anchors.adoc— added include in Design Principles sectionskill/semantic-anchor-translator/references/catalog.md— added catalog entry