Skip to content

feat: add Semantic Contracts to llms.txt#373

Merged
rdmueller merged 2 commits into
LLM-Coding:mainfrom
raifdmueller:feat/llms-txt-contracts
Mar 26, 2026
Merged

feat: add Semantic Contracts to llms.txt#373
rdmueller merged 2 commits into
LLM-Coding:mainfrom
raifdmueller:feat/llms-txt-contracts

Conversation

@raifdmueller
Copy link
Copy Markdown
Contributor

Summary

  • generate-llms-txt.js now appends all 11 Semantic Contracts after the anchor catalog
  • Each contract shows its template text + referenced anchors
  • Included in npm run build pipeline (won't be forgotten)

Closes #372

🤖 Generated with Claude Code

generate-llms-txt.js now reads contracts.json and appends all contracts
after the anchor catalog. Each contract includes its template text and
referenced anchors.

LLMs consuming llms.txt now know about both building blocks (Anchors)
and compositions (Contracts).

Closes LLM-Coding#372

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 26, 2026

Warning

Rate limit exceeded

@raifdmueller has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 6 minutes and 35 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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: e5d887a7-ea7c-43e0-b6eb-1f486b695d91

📥 Commits

Reviewing files that changed from the base of the PR and between 693217f and 2753aac.

📒 Files selected for processing (4)
  • scripts/generate-llms-txt.js
  • website/public/llms.txt
  • website/src/translations/de.json
  • website/src/translations/en.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

Contracts are not just anchor compositions — they can also define
entirely team-internal terms that have no public anchor equivalent.

Updated explanation everywhere:
"A contract defines what a term means in your project — either by
composing established anchors or by providing custom definitions
that only exist within your team."

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rdmueller rdmueller merged commit 0e9b5b8 into LLM-Coding:main Mar 26, 2026
5 of 7 checks passed
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.

feat: add Semantic Contracts to llms.txt

2 participants