astro-best-practices
Installation
SKILL.md
Astro Best Practices
Use this skill as the baseline when designing, implementing, or reviewing Astro work. It translates Astro-specific architectural guidance into portable instructions that can be applied across agents.
Core Principles
- prefer static generation when request-time rendering is not necessary
- keep client-side JavaScript minimal
- use framework islands only for real interactivity
- preserve clear project structure and predictable routing
- optimize for accessibility and maintainability, not just output parity
Architecture Defaults
Prefer .astro first
- use
.astrocomponents for static and mostly static UI - reach for React, Vue, or another framework only when local state or client-side behavior is genuinely needed
- keep interactive islands small and leaf-like
Related skills
More from incluud/astro-agent-skills
docs-lookup
Look up official Astro documentation and answer version-sensitive Astro questions accurately.
14add-integration
Add and configure Astro integrations, adapters, and UI framework tooling.
14create-component
Create Astro components, pages, and layouts with accessible markup and minimal client-side JavaScript.
14migrate
Plan and execute migrations to Astro or between Astro versions with minimal regressions.
13content-collection
Set up and evolve Astro content collections with typed schemas and reliable querying patterns.
13