Skip to content

chore(docs): LLM-ready README + Validate README workflow#1479

Open
dgaponov wants to merge 1 commit into
mainfrom
docs/llm-ready-readme
Open

chore(docs): LLM-ready README + Validate README workflow#1479
dgaponov wants to merge 1 commit into
mainfrom
docs/llm-ready-readme

Conversation

@dgaponov

@dgaponov dgaponov commented Jul 9, 2026

Copy link
Copy Markdown

What

  • Adds a Validate README GitHub Action (.github/workflows/validate-readme.yml) that runs gravity-ui/readme-validator@v1 on the root README.md in CI.
  • Brings the README.md up to the Gravity UI LLM-ready template: adds the missing ## License section and a ## For AI agents block (single-sentence positioning + When to use / When not to use / Common pitfalls).

Why

The README is the source of truth for the generated llms.txt that coding agents read. The ## For AI agents block gives agents crisp positioning, cross-links to the right neighbor packages, and the real hallucination traps (wrong prop/component names → correct ones). The workflow keeps the contract enforced on every PR.

Part of the Gravity UI LLM-adoption effort (DATAUI-3745).

🤖 Generated with Claude Code

@gravity-ui-bot

Copy link
Copy Markdown
Contributor

Preview is ready.

@gravity-ui-bot

Copy link
Copy Markdown
Contributor

Playwright Test Component is ready.

Add a 'For AI agents' section (positioning, when to use / when not to
use, common pitfalls) and the missing License section, and wire up the
'Validate README' GitHub Action (gravity-ui/readme-validator@v1) so the
template contract is enforced in CI.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dgaponov dgaponov force-pushed the docs/llm-ready-readme branch from 55aaf01 to 4434a16 Compare July 9, 2026 19:44
@aeksandla aeksandla changed the title docs: LLM-ready README + Validate README workflow chore(docs): LLM-ready README + Validate README workflow Jul 10, 2026
Comment thread README.md
Comment thread README.md

Distributed under the MIT License. See [LICENSE](LICENSE) for details.

## For AI agents

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have this title in readme , combine it

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.

4 participants