astro

Installation
SKILL.md

Astro

Overview

Astro is an all-in-one web framework for building fast, content-focused websites. It uses an islands architecture that ships zero JavaScript by default, hydrating only interactive components on demand. Components from React, Svelte, Vue, Solid, and Preact can coexist in a single project.

When to use: Content-driven sites (blogs, docs, marketing), portfolios, e-commerce storefronts, any site where most pages are primarily static with isolated interactive regions.

When NOT to use: Highly interactive single-page applications (dashboards, real-time collaboration tools), apps requiring full client-side routing with shared global state across all components.

Quick Reference

Pattern API / Directive Key Points
Content collection defineCollection({ loader, schema }) Zod schemas, glob/file loaders, type-safe queries
Query collection getCollection('blog') Returns typed array, supports filter callback
Single entry getEntry('blog', 'my-post') Fetch by collection name and entry ID
Island (load) <Component client:load /> Hydrate immediately on page load
Island (idle) <Component client:idle /> Hydrate when browser is idle
Related skills
Installs
42
GitHub Stars
11
First Seen
Feb 23, 2026