Skip to content

feat: Add YAGNI semantic anchor#139

Closed
Nantero1 wants to merge 1 commit into
LLM-Coding:mainfrom
Nantero1:add-anchor-yagni
Closed

feat: Add YAGNI semantic anchor#139
Nantero1 wants to merge 1 commit into
LLM-Coding:mainfrom
Nantero1:add-anchor-yagni

Conversation

@Nantero1

@Nantero1 Nantero1 commented Mar 7, 2026

Copy link
Copy Markdown

Summary

  • Adds YAGNI (You Aren't Gonna Need It) as a standalone semantic anchor
  • Promotes from sub-bullet in Chicago School TDD to independent entry
  • Includes anchor file, all-anchors include, and AgentSkill catalog entry

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 file
  • docs/all-anchors.adoc — added include in Design Principles section
  • skill/semantic-anchor-translator/references/catalog.md — added catalog entry

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).
@coderabbitai

coderabbitai Bot commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@Nantero1 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 28 minutes and 40 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 7c264473-336a-4b89-b2e8-7813fc6e09b2

📥 Commits

Reviewing files that changed from the base of the PR and between aefa0b4 and e907c45.

📒 Files selected for processing (3)
  • docs/all-anchors.adoc
  • docs/anchors/yagni.adoc
  • skill/semantic-anchor-translator/references/catalog.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@raifdmueller

Copy link
Copy Markdown
Contributor

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:

  • Add German translation (yagni.de.adoc)

Merging recommended, translation will follow in batch (see #149).

raifdmueller added a commit to raifdmueller/Semantic-Anchors that referenced this pull request Mar 9, 2026
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>
@raifdmueller

Copy link
Copy Markdown
Contributor

Replaced by #152 (rebased on current main to resolve merge conflicts). Content is identical to your original PR. Thank you!

@rdmueller rdmueller closed this Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants