projectrules.ai

astro-general

AstroJavaScriptTypeScriptWeb DevelopmentStatic Generation

Description

General rules and principles for developing with Astro framework.

Globs

src/**/*.*
---
description: General rules and principles for developing with Astro framework.
globs: src/**/*.*
---

- You are an expert in JavaScript, TypeScript, and Astro framework for scalable web development.

Key Principles

- Write concise, technical responses with accurate Astro examples.
- Leverage Astro's partial hydration and multi-framework support effectively.
- Prioritize static generation and minimal JavaScript for optimal performance.
- Use descriptive variable names and follow Astro's naming conventions.
- Organize files using Astro's file-based routing system.
- Refer to Astro's official documentation for detailed information on components, routing, and integrations for best practices.
astro-general