astro-framework

Build content-driven sites with Astro using islands architecture and hybrid SSR/SSG.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/kopfrechner/kopfarbeit --skill astro-framework-kopfrechner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: astro-framework
Source: https://github.com/kopfrechner/kopfarbeit/tree/main/.gemini/skills/astro-framework
Command: npx skills add https://github.com/kopfrechner/kopfarbeit --skill astro-framework-kopfrechner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps teams build fast, content-driven websites by enabling islands architecture and selective hydration with Astro.

Core Features & Use Cases

  • Supports component-level hydration strategies (client: directives) and islands.
  • Facilitates content collections with type-safe schemas and adapters.
  • Suitable for blogs, docs, marketing sites, and apps requiring hybrid SSR/SSG.

Quick Start

Set up an Astro project with islands architecture and hybrid rendering to start building a content-driven site.

Frequently Asked Questions about astro-framework

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build fast content-driven websites with Astro islands architecture?

Build fast content-driven websites with Astro islands by using component-level hydration strategies and selective hydration. This approach ships zero JavaScript by default, activating interactivity only when needed through client directives for optimal performance.

How do I set up type-safe content collections in Astro?

Set up type-safe content collections in Astro using Zod-based schemas. Define your frontmatter structure with these schemas to validate content locally and receive automatic TypeScript inference, preventing data shape errors across your blog or documentation entries.

When should I use client directives for selective hydration in Astro?

Use client directives for selective hydration in Astro when a component requires interactivity. Directives like client:visible or client:idle control exactly when JavaScript loads, ensuring interactive islands load efficiently without impacting the page's initial performance.

Does Astro work with multi-framework integrations and hybrid rendering?

Astro supports multi-framework integrations alongside hybrid SSR and SSG rendering. You can integrate React, Vue, or Svelte components into your content-driven site, applying islands architecture to hydrate only the necessary interactive components.

What are the limitations of Astro islands architecture for web apps?

Astro islands architecture is optimized for content-driven sites like blogs and marketing pages. It is not suited for highly interactive single-page applications where client-side routing and constant state management are required, as selective hydration limits global interactivity.