# AGENTS.md: Starlight docs on Astro 7 This project is a documentation site built with Starlight 0.42 on Astro 7. Pages are Markdown or MDX files in `src/content/docs/`; the file path is the URL (`guides/getting-started.md` becomes `/guides/getting-started/`). ## Rules - Use the `starlight-docs-page` skill when you add, move or rewrite a page. - Every page needs `title` and `description` in its front matter. The title is rendered as the page's h1, so the body starts at `##`. Keep titles under 60 characters and descriptions between 50 and 160. - Link to page URLs, root-relative with a trailing slash (`/reference/api/#tide-object`), never to `.md` files and never with relative `../` paths. `starlight-links-validator` fails the build on broken pages and `#fragments`. - Use `.md` unless the page needs a component (``, ``, `