AcademyRulesDevelopment

Astro with Tailwind CSS rules for Cursor

Web development teams building content-focused sites with Astro who want Cursor to follow Astro conventions.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/javascript-astro-tailwind-css-cursorrules-prompt-f.mdc -o .cursor/rules/javascript-astro-tailwind-css-cursorrules-prompt-f.mdc
javascript-astro-tailwind-css-cursorrules-prompt-f.mdc

Loading the file...

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

  1. 01Create .astro components and layouts
  2. 02Add dynamic routes with getStaticPaths
  3. 03Organise blog content with content collections

Questions about
Astro with Tailwind CSS rules for Cursor.

What is Astro with Tailwind CSS rules for Cursor used for?

Web development teams building content-focused sites with Astro who want Cursor to follow Astro conventions. 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.

How do I install Astro with Tailwind CSS rules for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/javascript-astro-tailwind-css-cursorrules-prompt-f.mdc -o .cursor/rules/javascript-astro-tailwind-css-cursorrules-prompt-f.mdc

Is Astro with Tailwind CSS rules for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is Astro with Tailwind CSS rules for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.