What it does
A Cursor rules file for building sites with Astro in JavaScript and TypeScript. It covers the recommended project structure, .astro components, file-based routing with getStaticPaths, content in Markdown or MDX, partial hydration and a preference for static generation and minimal client-side JavaScript.
Use cases
- 01Create .astro components and layouts
- 02Add dynamic routes with getStaticPaths
- 03Organise blog content with content collections